1 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4 individual architectures.
5 * sysdeps/unix/sysv/linux/configure: Regenerated.
6 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9 (ldd_rewrite_script): Define variable.
10 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
20 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
22 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28 Rename member __data.d to __data.__elision_data.
30 2014-06-24 Wilco <wdijkstr@arm.com>
32 * NEWS: Add 16918 to fixed bug list.
34 2014-06-24 Wilco <wdijkstr@arm.com>
36 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38 2014-06-24 Wilco <wdijkstr@arm.com>
40 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
44 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
46 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49 2014-06-24 Wilco <wdijkstr@arm.com>
51 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
53 2014-06-24 Wilco <wdijkstr@arm.com>
55 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
56 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
57 * sysdeps/arm/fesetround.c (fesetround): Remove space.
58 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
60 2014-06-24 Wilco <wdijkstr@arm.com>
63 * sysdeps/arm/feupdateenv.c (feupdateenv):
64 Rewrite to reduce FPSCR accesses and fix return value.
66 2014-06-24 Wilco <wdijkstr@arm.com>
68 * sysdeps/arm/fclrexcpt.c (feclearexcept):
69 Optimize to avoid unnecessary FPSCR writes.
70 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
71 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
72 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
73 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
75 2014-06-24 Wilco <wdijkstr@arm.com>
77 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
78 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
79 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
80 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
81 Call libc_fetestexcept_vfp.
82 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
83 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
84 __SOFTFP__ ifdef so that they can be built for softfp.
86 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
88 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
89 argument type signed char.
91 * Makerules (check-abi): Dump diff of symlist if the test
94 2014-06-23 Roland McGrath <roland@hack.frob.com>
96 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
99 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
100 Remove unused variable ST.
102 2014-06-23 Joseph Myers <joseph@codesourcery.com>
106 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
107 small arguments before calling __expm1.
108 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
109 small arguments before calling __expm1f.
110 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
111 small arguments before calling __expm1l.
112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
114 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
115 * math/auto-libm-test-in: Add more cosh tests. Do not allow
116 spurious underflow for some cosh tests.
117 * math/auto-libm-test-out: Regenerated.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
121 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
122 (__ieee754_y1): Set errno if return value overflows.
123 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
124 (__ieee754_y1f): Set errno if return value overflows.
125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
126 (__ieee754_y1l): Set errno if return value overflows.
127 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
128 (__ieee754_y1l): Set errno if return value overflows.
129 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
130 * math/auto-libm-test-out: Regenerated.
132 * math/gen-auto-libm-tests.c: Document use of
133 ignore-zero-inf-sign.
134 (input_flag_type): Add value flag_ignore_zero_inf_sign.
135 (input_flags): Add ignore-zero-inf-sign.
136 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
137 * math/gen-libm-test.pl (generate_testfile): Handle
138 ignore-zero-inf-sign.
139 * math/auto-libm-test-in: Mark some cpow tests with
140 ignore-zero-inf-sign and some with xfail-rounding.
141 * math/auto-libm-test-out: Regenerated.
142 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
147 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
148 overflowing or underflowing operations take place with sign of
150 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
151 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
152 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
153 (__ieee754_pow): Recompute overflowing and underflowing results in
154 original rounding mode.
155 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
156 (__powl_helper): Allow negative argument X and scale negated value
157 as needed. Avoid passing value outside [-1, 1] to f2xm1.
158 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
159 overflowing or underflowing operations take place with sign of
161 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
163 * math/auto-libm-test-in: Add more tests of pow.
164 * math/auto-libm-test-out: Regenerated.
165 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
166 (pow_tonearest_test_data): Remove.
167 (pow_test_tonearest): Likewise.
168 (pow_towardzero_test_data): Likewise.
169 (pow_test_towardzero): Likewise.
170 (pow_downward_test_data): Likewise.
171 (pow_test_downward): Likewise.
172 (pow_upward_test_data): Likewise.
173 (pow_test_upward): Likewise.
174 (main): Don't call removed functions.
175 * sysdeps/i386/fpu/libm-test-ulps: Update.
176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
178 2014-06-23 Roland McGrath <roland@hack.frob.com>
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
354 2014-06-23 Will Newton <will.newton@linaro.org>
355 Wilco <wdijkstr@arm.com>
357 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
358 implementation. Include get-rounding-mode.h.
359 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
360 [!libc_feholdsetround_noex_ctx]: Define
361 libc_feholdsetround_noex_ctx.
362 [!libc_feholdsetround_noexf_ctx]: Define
363 libc_feholdsetround_noexf_ctx.
364 [!libc_feholdsetround_noexl_ctx]: Define
365 libc_feholdsetround_noexl_ctx.
366 (libc_feholdsetround_ctx): New function.
367 (libc_feresetround_ctx): New function.
368 (libc_feholdsetround_noex_ctx): New function.
369 (libc_feresetround_noex_ctx): New function.
371 2014-06-23 Roland McGrath <roland@hack.frob.com>
373 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
374 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
375 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
376 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
377 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
378 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
380 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
381 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
382 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
383 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
384 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
385 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
387 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
389 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
392 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
395 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
397 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
398 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
400 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
401 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
402 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
404 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
405 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
406 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
407 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
409 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
412 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
413 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
414 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
415 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
417 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
419 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
420 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
421 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
422 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
423 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
428 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
435 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
436 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
439 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
444 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
445 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
446 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
447 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
448 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
449 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
451 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
454 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
455 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
457 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
458 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
459 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
460 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
461 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
462 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
463 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
467 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
468 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
469 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
470 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
471 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
473 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
475 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
477 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
479 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
481 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
482 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
483 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
484 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
486 2014-06-23 Joseph Myers <joseph@codesourcery.com>
488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
489 (FALLOC_FL_COLLAPSE_RANGE): New macro.
490 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
491 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
492 (IPV6_PMTUDISC_INTERFACE): Likewise.
493 (IPV6_PMTUDISC_OMIT): Likewise.
495 2014-06-23 Andreas Schwab <schwab@suse.de>
497 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
498 Remove unused errout label.
500 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
502 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
503 macro: hardware supports Vector Crypto instructions.
505 2014-06-23 Will Newton <will.newton@linaro.org>
507 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
508 rather than __builtin_expect.
510 * elf/dl-lookup.c (undefined_msg): Remove variable.
511 (_dl_lookup_symbol_x): Replace undefined_msg with string
514 * elf/dl-lookup.c (do_lookup_unique): New function.
515 (do_lookup_x): Move STB_GNU_UNIQUE handling code
516 to a separate function.
518 2014-06-23 Andreas Schwab <schwab@suse.de>
521 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
522 before reading the next line.
524 2014-06-23 Will Newton <will.newton@linaro.org>
526 * test-skeleton.c (signal_handler): Use printf and %m
527 rather than perror. Use printf rather than fprintf to
528 stderr. Use puts rather than fputs to stderr.
531 2014-06-22 Ludovic Courtès <ludo@gnu.org>
533 * nscd/nscd.c (thread_info_t): Remove typedef.
534 (thread_info): Remove variable.
536 2014-06-21 Allan McRae <allan@archlinux.org>
538 * NEWS: Mention CVE-2014-4043.
540 2014-06-20 Roland McGrath <roland@hack.frob.com>
542 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
543 * nptl/smp.h: ... here.
545 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
547 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
548 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
549 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
550 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
552 * nptl/allocatestack.c: Include <stack-aliasing.h>.
553 * nptl/stack-aliasing.h: New file.
554 * sysdeps/i386/i686/stack-aliasing.h: New file.
555 * sysdeps/i386/i686/nptl/Makefile: File removed.
556 * sysdeps/x86_64/stack-aliasing.h: New file.
557 * sysdeps/x86_64/nptl/Makefile
558 (CFLAGS-pthread_create.c): Variable removed.
560 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
561 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
563 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
564 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
567 2014-06-21 Joseph Myers <joseph@codesourcery.com>
569 * sysdeps/unix/sysv/linux/arm/kernel-features.h
570 (__ASSUME_SIGFRAME_V2): Remove macro.
571 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
572 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
573 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
574 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
575 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
576 Declare as function. Remove conditional macro definitions.
577 (__default_rt_sa_restorer): Likewise.
578 (__default_sa_restorer_v1): Remove declaration.
579 (__default_sa_restorer_v2): Likewise.
580 (__default_rt_sa_restorer_v1): Likewise.
581 (__default_rt_sa_restorer_v2): Likewise.
582 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
583 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
584 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
586 2014-06-20 Roland McGrath <roland@hack.frob.com>
588 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
589 (libpthread-routines): Add sysdep.
590 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
591 * sysdeps/unix/sysv/linux/sparc/Versions
592 (libpthread: GLIBC_2.3.3): New version set.
593 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
594 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
595 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
596 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
597 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
598 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
600 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
601 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
602 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
603 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
604 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
605 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
606 * sysdeps/sparc/nptl/sem_init.c: ... here.
607 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
608 * sysdeps/sparc/nptl/sem_post.c: ... here.
609 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
610 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
611 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
612 * sysdeps/sparc/nptl/sem_wait.c: ... here.
613 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
614 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
615 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
616 (libpthread-routines): Add cpu_relax.
617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
619 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
620 (librt: GLIBC_2.3.3): New version set.
621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
622 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
623 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
624 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
627 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
630 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
632 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
634 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
636 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
638 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
641 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
645 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
649 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
653 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
657 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
661 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
664 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
670 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
672 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
675 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
677 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
679 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
681 2014-06-20 Joseph Myers <joseph@codesourcery.com>
683 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
684 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
685 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
686 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
687 * nscd/nscd.c: Likewise.
688 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
689 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
690 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
691 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
693 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
695 (init_mq_netlink): Remove conditional have_sock_cloexec
696 definitions. Remove code conditional on have_sock_cloexec < 0.
697 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
698 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
699 * sysdeps/unix/sysv/linux/opensock.c: Do not include
701 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
702 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
704 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
707 Add tests for memset_chk and memset.
709 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
712 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
715 * elf/tst-dl-iter-static.c: New file.
716 * elf/Makefile (tests-static): Add tst-dl-iter-static.
718 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
721 2014-06-20 Joseph Myers <joseph@codesourcery.com>
723 * sysdeps/unix/sysv/linux/kernel-features.h
724 (__ASSUME_F_GETOWN_EX): Remove macro.
725 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
727 (miss_F_GETOWN_EX): Remove variable or macro.
728 (do_fcntl): Do not check miss_F_GETOWN_EX.
729 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
734 [!__ASSUME_AT_RANDOM]: Remove conditional code.
735 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
737 * sysdeps/unix/sysv/linux/kernel-features.h
738 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
739 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
740 [ADJ_OFFSET_SS_READ]: Make code unconditional.
741 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
743 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
746 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
747 Fix calculation of the symbol's value.
748 * sysdeps/arm/tst-armtlsdescloc.c: New file.
749 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
750 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
751 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
752 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
753 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
754 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
755 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
756 (modules-names): Add `tst-armtlsdescmod',
757 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
758 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
759 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
760 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
761 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
762 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
763 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
764 ($(objpfx)tst-armtlsdescloc): New dependency.
765 ($(objpfx)tst-armtlsdescextnow): Likewise.
766 ($(objpfx)tst-armtlsdescextlazy): Likewise.
767 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
769 * sysdeps/arm/configure: Regenerate.
771 2014-06-20 Joseph Myers <joseph@codesourcery.com>
773 * include/fcntl.h (__atfct_seterrno): Remove prototype.
774 (__atfct_seterrno_2): Likewise.
775 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
777 (__ASSUME_ATFCTS): Do not undefine and redefine.
778 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
779 (__have_atfcts): Remove conditional definition.
780 (__fxstatat([__NR_fstatat64]: Make code unconditional.
781 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
782 unreachable if [__ASSUME_ATFCTS].
783 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
784 not undefine and redefine.
785 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
787 (faccessat) [__NR_faccessat]: Make code unconditional.
788 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
791 (fchmodat) [__NR_fchmodat]: Make code unconditional.
792 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
793 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
795 (fchownat) [__NR_fchownat]: Make code unconditional.
796 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
797 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
799 (futimesat) [__NR_futimesat]: Make code unconditional.
800 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
801 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
803 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
804 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
805 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
807 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
808 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
809 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
810 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
812 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
813 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
814 * sysdeps/unix/sysv/linux/linkat.c: Do not include
816 (linkat) [__NR_linkat]: Make code unconditional.
817 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
818 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
819 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
821 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
822 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
823 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
825 (mkdirat) [__NR_mkdirat]: Make code unconditional.
826 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
827 * sysdeps/unix/sysv/linux/openat.c: Do not include
829 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
830 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
831 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
832 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
833 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
834 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
836 (readlinkat) [__NR_readlinkat]: Make code unconditional.
837 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
838 result of INLINE_SYSCALL directly, not via int variable.
839 * sysdeps/unix/sysv/linux/renameat.c: Do not include
841 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
842 (renameat) [__NR_renameat]: Make code unconditional.
843 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
844 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
845 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
847 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
848 (__ASSUME_ATFCTS): Do not undefine and redefine.
849 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
851 (symlinkat) [__NR_symlinkat]: Make code unconditional.
852 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
853 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
855 (unlinkat) [__NR_unlinkat]: Make code unconditional.
856 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
858 (__ASSUME_ATFCTS): Do not undefine and redefine.
859 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
861 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
862 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
863 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
865 (__xmknodat) [__NR_mknodat]: Make code unconditional.
866 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
868 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
870 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
872 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
875 * posix/regcomp.c (parse_reg_exp): Deallocate partially
876 constructed tree before returning error.
877 * posix/bug-regexp36.c: Expand test case.
879 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
882 * math/libm-test.inc (scalbln_test_date):
883 Add errno expectations.
884 * math/w_scalblnf.c: New File.
885 Add wrapper which checks for setting errno to ERANGE.
886 Add weak_alias for corresponding scalbln function.
887 * math/w_scalbln.c: Likewise.
888 * math/w_scalblnl.c: Likewise.
889 * math/Makefile (libm-calls): Add w_scalbln.
890 * sysdeps/ieee754/flt-32/s_scalblnf.c:
891 Remove weak_alias for corresponding scalbln function.
892 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
893 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
894 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
896 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
897 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
898 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
899 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
900 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
901 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
902 Remove long_double_symbol for scalblnl function in libm, libc.
903 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
904 Add wrapper which checks for setting errno to ERANGE.
905 Add long_double_symbol for scalblnl function in libm, libc.
906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
907 Remove long_double_symbol for scalblnl in libm.
908 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
909 Add wrapper which checks for setting errno to ERANGE.
910 Add long_double_symbol for scalblnl function in libm.
911 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
912 Do not use wrapper because of own implementation.
914 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
916 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
917 3 bytes for __pad1 for x32.
918 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
920 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
921 H.J. Lu <hongjiu.lu@intel.com>
923 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
924 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
925 * sysdeps/x86_64/multiarch/memset.S: Likewise.
926 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
927 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
929 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
932 * posix/regcomp.c (parse_expression): Deallocate partially
933 constructed tree before returning error.
934 * posix/Makefile.c (tests): Add bug-regex36.
935 (generated): Add bug-regex36.mtrace.
936 (tests-special): Add $(objpfx)bug-regex36-mem.out
937 (bug-regex36-ENV): New variable.
938 ($(objpfx)bug-regex36-mem.out): New rule.
939 * posix/bug-regex36.c: New file.
941 2014-06-19 Will Newton <will.newton@linaro.org>
943 * malloc/malloc.c (systrim): If extra is zero then return
946 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
948 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
950 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
952 * sysdeps/aarch64/strchr.S: New file.
954 2014-06-18 Joseph Myers <joseph@codesourcery.com>
957 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
958 from arguments -2 or below.
959 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
960 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
962 2014-06-18 Andreas Schwab <schwab@suse.de>
965 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
966 of a bracket expr not to run off the end of the string.
967 * posix/Makefile (tests): Add tst-fnmatch3.
968 * posix/tst-fnmatch3.c: New file.
970 2014-06-18 Joseph Myers <joseph@codesourcery.com>
972 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
973 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
974 [$(cross-compiling) = no]: Likewise.
975 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
976 [$(cross-compiling) = no]: Likewise.
978 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
981 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
982 double, adjusted for any remainder from the high double.
983 * math/libm-test.inc (nearbyint): Add tests.
986 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
988 * nptl/sysdeps/powerpc/Makefile: Moved ...
989 * sysdeps/powerpc/nptl/Makefile: ... here.
990 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
991 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
992 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
993 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
994 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
995 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
996 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
997 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
998 * nptl/sysdeps/powerpc/tls.h: Moved ...
999 * sysdeps/powerpc/nptl/tls.h: ... here.
1001 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1004 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1005 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1006 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1007 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1008 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1009 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1010 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1011 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1012 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1014 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1016 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1018 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1020 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1023 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1026 2014-06-16 Florian Weimer <fweimer@redhat.com>
1029 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1030 non-executed part of the test.
1032 2014-06-16 Andreas Schwab <schwab@suse.de>
1034 * string/bits/string2.h (strdup, strndup): Update feature guard.
1036 2014-06-14 David S. Miller <davem@davemloft.net>
1038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1040 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1042 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1043 that was previously under [RESET_PID].
1044 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1046 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1047 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1048 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1049 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1050 (__libc_vfork): New strong alias.
1051 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1053 2014-06-14 Andi Kleen <ak@linux.intel.com>
1055 * sysdeps/generic/elide.h: New file.
1057 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1059 * Makefile (installed-headers): Adjust path of pthread.h header.
1061 2014-06-13 Roland McGrath <roland@hack.frob.com>
1063 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1064 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1065 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1066 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1068 * nptl/sysdeps/s390/Makefile: Moved ...
1069 * sysdeps/s390/nptl/Makefile: ... here.
1070 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1071 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1072 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1073 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1074 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1075 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1076 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1077 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1078 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1079 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1080 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1081 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1082 * nptl/sysdeps/s390/tls.h: Moved ...
1083 * sysdeps/s390/nptl/tls.h: ... here.
1085 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1086 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1088 2014-06-13 David S. Miller <davem@davemloft.net>
1090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1093 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1097 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1098 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1099 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1100 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1101 Remove RESET_PID cpp guards.
1102 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1103 Remove RESET_PID cpp guards.
1104 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1106 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1108 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1111 2014-06-13 Andi Kleen <ak@linux.intel.com>
1113 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1114 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1115 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1116 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1117 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1118 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1119 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1120 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1121 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1122 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1123 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1124 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1125 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1126 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1127 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1128 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1129 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1130 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1131 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1132 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1134 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1135 (pthread_rwlock_rdlock): Add elision.
1136 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1137 (pthread_rwlock_wrlock): Add elision.
1138 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1139 (pthread_rwlock_trywrlock): Add elision.
1140 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1141 (pthread_rwlock_tryrdlock): Add elision.
1142 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1143 (pthread_rwlock_tryrdlock): Add elision unlock.
1144 * nptl/sysdeps/pthread/pthread.h:
1145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1146 (PTHREAD_RWLOCK_INITIALIZER,
1147 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1148 Handle new elision field.
1149 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1150 * sysdeps/arm/nptl/bits/pthreadtypes.h
1151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1152 * sysdeps/sh/nptl/bits/pthreadtypes.h
1153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1154 * sysdeps/tile/nptl/bits/pthreadtypes.h
1155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1156 * sysdeps/a/nptl/bits/pthreadtypes.h
1157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1158 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1160 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1162 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1164 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1166 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1168 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1170 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1172 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1174 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1175 (elision_init): Set try_xbegin to zero when no RTM.
1176 * sysdeps/x86/nptl/bits/pthreadtypes.h
1177 (pthread_rwlock_t): Change __pad1 to __rwelision.
1178 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1180 2014-06-13 Andi Kleen <ak@linux.intel.com>
1182 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1183 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1184 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1185 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1187 2014-06-13 Meador Inge <meadori@codesourcery.com>
1190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1191 that the cached result has been set before returning it.
1193 2014-06-12 Roland McGrath <roland@hack.frob.com>
1195 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1196 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1197 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1198 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1199 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1200 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1202 * nptl/sysdeps/sparc/Makefile: Moved ...
1203 * sysdeps/sparc/nptl/Makefile: ... here.
1204 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1205 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1206 * nptl/sysdeps/sparc/tls.h: Moved ...
1207 * sysdeps/sparc/nptl/tls.h: ... here.
1208 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1209 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1210 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1211 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1212 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1213 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1214 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1215 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1216 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1217 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1218 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1219 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1220 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1221 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1222 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1223 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1224 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1225 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1227 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1228 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1230 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1231 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1233 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1234 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1237 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1239 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1240 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1242 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1243 (struct list_links): Type removed.
1244 (struct thread_node, struct timer_node): Replace struct list_links
1245 with struct list_head.
1246 (list_unlink_ip): Likewise.
1247 * sysdeps/pthread/timer_routines.c
1248 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1249 (list_append, list_insbefore): Likewise.
1250 (list_init): Function removed.
1251 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1252 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1253 * sysdeps/pthread/Makefile: ... here, new file.
1255 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1256 * sysdeps/nptl/Implies: ... here.
1257 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1258 * nptl/sysdeps/pthread/list.h: Moved ...
1259 * include/list.h: ... here.
1260 * nptl/sysdeps/pthread/createthread.c: Moved ...
1261 * nptl/createthread.c: ... here.
1262 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1263 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1264 * nptl/pt-longjmp.c: ... here.
1265 * nptl/sysdeps/pthread/Makefile: Moved ...
1266 * sysdeps/nptl/Makefile: ... here.
1267 * nptl/sysdeps/pthread/Subdirs: Moved ...
1268 * sysdeps/nptl/Subdirs: ... here.
1269 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1270 * sysdeps/nptl/aio_misc.h: ... here.
1271 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1272 * sysdeps/nptl/bits/libc-lock.h: ... here.
1273 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1274 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1275 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1276 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1277 * nptl/sysdeps/pthread/configure: Moved ...
1278 * sysdeps/nptl/configure: ... here.
1279 * nptl/sysdeps/pthread/configure.ac: Moved ...
1280 * sysdeps/nptl/configure.ac: ... here.
1281 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1282 * sysdeps/nptl/gai_misc.h: ... here.
1283 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1284 * sysdeps/nptl/librt-cancellation.c: ... here.
1285 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1286 * sysdeps/nptl/malloc-machine.h: ... here.
1287 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1288 * sysdeps/nptl/pthread-functions.h: ... here.
1289 * nptl/sysdeps/pthread/pthread.h: Moved ...
1290 * sysdeps/nptl/pthread.h: ... here.
1291 * nptl/sysdeps/pthread/setxid.h: Moved ...
1292 * sysdeps/nptl/setxid.h: ... here.
1293 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1294 * sysdeps/nptl/sigfillset.c: ... here.
1295 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1296 * sysdeps/nptl/tcb-offsets.h: ... here.
1297 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1298 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1299 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1300 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1301 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1302 * sysdeps/pthread/allocalim.h: ... here.
1303 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1304 * sysdeps/pthread/bits/sigthread.h: ... here.
1305 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1306 * sysdeps/pthread/flockfile.c: ... here.
1307 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1308 * sysdeps/pthread/ftrylockfile.c: ... here.
1309 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1310 * sysdeps/pthread/funlockfile.c: ... here.
1311 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1312 * sysdeps/pthread/posix-timer.h: ... here.
1313 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1314 * sysdeps/pthread/timer_create.c: ... here.
1315 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1316 * sysdeps/pthread/timer_delete.c: ... here.
1317 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1318 * sysdeps/pthread/timer_getoverr.c: ... here.
1319 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1320 * sysdeps/pthread/timer_gettime.c: ... here.
1321 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1322 * sysdeps/pthread/timer_routines.c: ... here.
1323 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1324 * sysdeps/pthread/timer_settime.c: ... here.
1325 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1326 * sysdeps/pthread/tst-timer.c: ... here.
1327 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1328 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1330 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1331 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1333 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1334 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1335 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1336 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1337 Update #include target.
1338 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1339 * sysdeps/i386/i686/nptl/Makefile: ... here.
1340 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1341 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1342 Update #include target.
1343 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1344 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1345 * nptl/sysdeps/i386/Makefile: Moved ...
1346 * sysdeps/i386/nptl/Makefile: ... here.
1347 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1348 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1349 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1350 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1351 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1352 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1353 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1354 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1355 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1356 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1357 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1358 * nptl/sysdeps/i386/tls.h: Moved ...
1359 * sysdeps/i386/nptl/tls.h: ... here.
1361 * sysdeps/sh/Makefile [$(subdir) = csu]
1362 (gen-as-const-headers): Add tcb-offsets.sym.
1363 * nptl/sysdeps/sh/Makefile: File removed.
1364 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1365 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1366 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1367 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1368 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1369 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1370 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1371 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1372 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1373 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1374 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1375 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1376 * nptl/sysdeps/sh/tls.h: Moved ...
1377 * sysdeps/sh/nptl/tls.h: ... here.
1378 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1379 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1380 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1381 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1382 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1383 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1384 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1385 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1386 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1387 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1389 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1391 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1393 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1395 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1397 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1399 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1401 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1404 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1405 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1407 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1409 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1411 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1412 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1413 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1415 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1417 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1418 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1419 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1420 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1421 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1422 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1423 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1424 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1425 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1427 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1429 * posix/spawn_faction_addopen.c: Include string.h.
1431 2014-06-11 Roland McGrath <roland@hack.frob.com>
1433 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1434 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1435 * nptl/sysdeps/x86_64/Makefile: Moved ...
1436 * sysdeps/x86_64/nptl/Makefile: ... here.
1437 * nptl/sysdeps/x86_64/configure: Moved ...
1438 * sysdeps/x86_64/nptl/configure: ... here.
1439 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1440 * sysdeps/x86_64/nptl/configure.ac: ... here.
1441 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1442 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1443 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1444 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1445 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1446 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1447 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1448 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1449 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1450 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1451 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1452 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1453 * nptl/sysdeps/x86_64/tls.h: Moved ...
1454 * sysdeps/x86_64/nptl/tls.h: ... here.
1455 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1456 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1457 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1458 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1460 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1462 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1466 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1468 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1470 [POSIX] (off_t): Likewise.
1471 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1472 [POSIX] (S_ISBLK): Require macro.
1473 [POSIX] (S_ISCHR): Likewise.
1474 [POSIX] (S_ISDIR): Likewise.
1475 [POSIX] (S_ISFIFO): Likewise.
1476 [POSIX] (S_ISREG): Likewise.
1477 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1479 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1481 [POSIX] (time_t): Likewise.
1482 [POSIX] (timer_t): Likewise.
1484 2014-06-11 Florian Weimer <fweimer@redhat.com>
1487 * posix/spawn_int.h (struct __spawn_action): Make the path string
1488 non-const to support deallocation.
1489 * posix/spawn_faction_addopen.c
1490 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1491 * posix/spawn_faction_destroy.c
1492 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1493 path in all spawn_do_open actions.
1494 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1495 posix_spawn_file_actions_addopen.
1497 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1499 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1500 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1501 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1502 conditional code always true.
1503 (__libc_vfork): New alias.
1505 2014-06-11 Roland McGrath <roland@hack.frob.com>
1507 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1508 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1510 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1512 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1513 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1515 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1516 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1518 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1519 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1521 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1523 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1524 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1525 multiarch strcmp for PPC64.
1526 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1527 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1529 multiarch optimizations.
1530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1531 (__libc_ifunc_impl_list): Likewise.
1533 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1535 * benchtests/scripts/validate_benchout.py: New script.
1536 * benchtests/Makefile (bench-func): Call it.
1537 * benchtests/scripts/benchout.schema.json: New file.
1539 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1541 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1542 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1543 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1544 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1545 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1546 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1547 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1548 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1549 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1550 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1551 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1552 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1553 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1554 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1555 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1556 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1661 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1666 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1671 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1677 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1679 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1682 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1685 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1687 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1690 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1694 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1695 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1696 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1698 2014-06-10 Wilco <wdijkstr@arm.com>
1700 * math/test-fenv-return.c: New file.
1701 * math/Makefile: Add new test test-fenv-return.
1703 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1706 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1708 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1709 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1710 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1711 0.0L for an argument of 1.0L.
1712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1714 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1715 value when x - 1 is zero.
1716 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1717 * sysdeps/i386/fpu/libm-test-ulps: Update.
1718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1720 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1723 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1725 2014-06-09 Roland McGrath <roland@hack.frob.com>
1727 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1728 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1730 2014-06-09 Roland McGrath <roland@hack.frob.com>
1732 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1733 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1735 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1736 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1738 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1739 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1741 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1742 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1744 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1745 if not already defined.
1746 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1747 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1748 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1749 (TLS_INIT_TP): Use it.
1750 (TLS_DEFINE_INIT_TP): New macro.
1751 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1753 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1755 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1757 [POSIX] (IXANY): Likewise.
1758 [POSIX] (OLCUC): Likewise.
1759 [POSIX || POSIX2008] (CBAUD): Do not allow.
1760 [POSIX || POSIX2008] (DEFECHO): Likewise.
1761 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1762 [POSIX || POSIX2008] (ECHOKE): Likewise.
1763 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1764 [POSIX || POSIX2008] (EXTA): Likewise.
1765 [POSIX || POSIX2008] (EXTB): Likewise.
1766 [POSIX || POSIX2008] (FLUSHO): Likewise.
1767 [POSIX || POSIX2008] (LOBLK): Likewise.
1768 [POSIX || POSIX2008] (PENDIN): Likewise.
1769 [POSIX || POSIX2008] (SWTCH): Likewise.
1770 [POSIX || POSIX2008] (VDISCARD): Likewise.
1771 [POSIX || POSIX2008] (VDSUSP): Likewise.
1772 [POSIX || POSIX2008] (VLNEXT): Likewise.
1773 [POSIX || POSIX2008] (VREPRINT): Likewise.
1774 [POSIX || POSIX2008] (VSTATUS): Likewise.
1775 [POSIX || POSIX2008] (VWERASE): Likewise.
1776 (B*): Change to B[0123456789]*.
1777 * conform/data/time.h-data [POSIX || UNIX98]
1778 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1779 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1780 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1781 [POSIX] (tm_*): Do not allow.
1783 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1785 * Makefile (install): Don't set LANGUAGE.
1786 * Makefile.in (install): Likewise.
1787 * assert/Makefile (test-assert-ENV): Remove variable.
1788 (test-assert-perr-ENV): Likewise.
1789 * elf/Makefile (neededtest4-ENV): Likewise.
1790 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1791 [$(cross-compiling) = no]: Don't set LANGUAGE.
1792 * io/ftwtest-sh (LANG): Remove variable.
1793 * libio/Makefile (tst-widetext-ENV): Likewise.
1794 * manual/install.texi (Running make install): Don't refer to
1795 environment settings for make install.
1796 * INSTALL: Regenerated.
1797 * nptl/tst-tls6.sh: Don't set LANG.
1798 * posix/globtest.sh (LANG): Remove variable.
1799 * string/Makefile (tester-ENV): Likewise.
1800 (inl-tester-ENV): Likewise.
1801 (noinl-tester-ENV): Likewise.
1802 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1803 [$(cross-compiling) = no]: Don't set LANGUAGE.
1804 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1805 without explicit environment settings.
1807 2014-06-06 Roland McGrath <roland@hack.frob.com>
1809 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1810 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1811 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1812 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1814 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1816 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1817 other files in the crypt directory.
1818 * crypt/crypt.c: Remove duplicate includes.
1819 * crypt/crypt-entry.c: Likewise.
1820 * crypt/crypt_util.c: Likewise.
1822 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1824 * Makeconfig (run-program-env): New variable.
1825 (run-program-prefix-before-env): Likewise.
1826 (run-program-prefix-after-env): Likewise.
1827 (run-program-prefix): Define in terms of new variables.
1828 (built-program-cmd-before-env): New variable.
1829 (built-program-cmd-after-env): Likewise.
1830 (built-program-cmd): Define in terms of new variables.
1831 (test-program-prefix-before-env): New variable.
1832 (test-program-prefix-after-env): Likewise.
1833 (test-program-prefix): Define in terms of new variables.
1834 (test-program-cmd-before-env): New variable.
1835 (test-program-cmd-after-env): Likewise.
1836 (test-program-cmd): Define in terms of new variables.
1837 * Rules (make-test-out): Use $(run-program-env).
1838 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1839 (help): Do not mention environment variables. Mention
1840 --timeoutfactor option.
1841 (timeoutfactor): New variable.
1842 (blacklist_exports): Remove function.
1843 (exports): Remove variable.
1844 (command): Do not include ${exports}.
1845 * manual/install.texi (Configuring and compiling): Do not mention
1846 test wrappers preserving environment variables. Mention that last
1847 assignment to a variable must take precedence.
1848 * INSTALL: Regenerated.
1849 * benchtests/Makefile (run-bench): Use $(run-program-env).
1850 * catgets/Makefile ($(objpfx)test1.cat): Use
1851 $(built-program-cmd-before-env), $(run-program-env) and
1852 $(built-program-cmd-after-env).
1853 ($(objpfx)test2.cat): Do not specify environment variables
1855 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1856 $(run-program-env) and $(built-program-cmd-after-env).
1857 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1858 $(run-program-env) and $(test-program-cmd-after-env).
1859 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1861 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1862 run_program_env and test_program_cmd_after_env arguments.
1863 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1864 * elf/tst-pathopt.sh: Use run_program_env argument.
1865 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1866 $(test-wrapper-env) and $(run-program-env).
1867 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1868 run_program_env arguments.
1869 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1870 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1871 $(test-program-prefix-before-env), $(run-program-env) and
1872 $(test-program-prefix-after-env).
1873 ($(objpfx)tst-gettext2.out): Likewise.
1874 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1875 run_program_env and test_program_prefix_after_env arguments.
1876 * intl/tst-gettext2.sh: Likewise.
1877 * intl/tst-gettext4.sh: Do not set environment variables
1879 * intl/tst-gettext6.sh: Likewise.
1880 * intl/tst-translit.sh: Likewise.
1881 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1882 $(test-program-prefix-before-env), $(run-program-env) and
1883 $(test-program-prefix-after-env).
1884 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1885 run_program_env and test_program_prefix_after_env arguments.
1886 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1887 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1888 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1889 explicitly with each use of ${test_wrapper_env}.
1890 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1891 $(test-program-prefix-before-env), $(run-program-env) and
1892 $(test-program-prefix-after-env).
1893 * posix/tst-getconf.sh: Do not set environment variables
1895 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1896 run_program_env and test_program_prefix_after_env arguments.
1897 * stdio-common/tst-printf.sh: Do not set environment variables
1899 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1900 $(test-program-prefix-before-env), $(run-program-env) and
1901 $(test-program-prefix-after-env).
1902 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1903 run_program_env and test_program_prefix_after_env arguments.
1904 Split $test calls into $test_pre and $test.
1905 * timezone/Makefile (build-testdata): Use
1906 $(built-program-cmd-before-env), $(run-program-env) and
1907 $(built-program-cmd-after-env).
1909 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1911 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1912 strlen for non SHARED builds.
1914 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1916 * nptl/allocatestack.c (check_list): Inlined function...
1917 (__reclaim_stacks): ... here.
1919 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1922 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1925 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1927 * Rules (make-test-out): Include
1928 LOCPATH=$(common-objpfx)localedata in default environment.
1929 * debug/Makefile (tst-chk1-ENV): Remove variable.
1930 (tst-chk2-ENV): Likewise.
1931 (tst-chk3-ENV): Likewise.
1932 (tst-chk4-ENV): Likewise.
1933 (tst-chk5-ENV): Likewise.
1934 (tst-chk6-ENV): Likewise.
1935 (tst-lfschk1-ENV): Likewise.
1936 (tst-lfschk2-ENV): Likewise.
1937 (tst-lfschk3-ENV): Likewise.
1938 (tst-lfschk4-ENV): Likewise.
1939 (tst-lfschk5-ENV): Likewise.
1940 (tst-lfschk6-ENV): Likewise.
1941 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1942 (tst-iconv7-ENV): Likewise.
1943 * intl/Makefile (LOCPATH-ENV): Likewise.
1944 (tst-codeset-ENV): Likewise.
1945 (tst-gettext3-ENV): Likewise.
1946 (tst-gettext5-ENV): Likewise.
1947 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1948 (tst-fopenloc-ENV): Likewise.
1949 (tst-fgetws-ENV): Remove variable.
1950 (tst-ungetwc1-ENV): Likewise.
1951 (tst-ungetwc2-ENV): Likewise.
1952 (bug-ungetwc2-ENV): Likewise.
1953 (tst-swscanf-ENV): Likewise.
1954 (bug-ftell-ENV): Likewise.
1955 (tst-fgetwc-ENV): Likewise.
1956 (tst-fseek-ENV): Likewise.
1957 (tst-ftell-partial-wide-ENV): Likewise.
1958 (tst-ftell-active-handler-ENV): Likewise.
1959 (tst-ftell-append-ENV): Likewise.
1960 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1961 (tst-regexloc-ENV): Likewise.
1962 (bug-regex1-ENV): Likewise.
1963 (tst-regex-ENV): Likewise.
1964 (tst-regex2-ENV): Likewise.
1965 (bug-regex5-ENV): Likewise.
1966 (bug-regex6-ENV): Likewise.
1967 (bug-regex17-ENV): Likewise.
1968 (bug-regex18-ENV): Likewise.
1969 (bug-regex19-ENV): Likewise.
1970 (bug-regex20-ENV): Likewise.
1971 (bug-regex22-ENV): Likewise.
1972 (bug-regex23-ENV): Likewise.
1973 (bug-regex25-ENV): Likewise.
1974 (bug-regex26-ENV): Likewise.
1975 (bug-regex30-ENV): Likewise.
1976 (bug-regex32-ENV): Likewise.
1977 (bug-regex33-ENV): Likewise.
1978 (bug-regex34-ENV): Likewise.
1979 (bug-regex35-ENV): Likewise.
1980 (tst-rxspencer-ENV): Likewise.
1981 (tst-rxspencer-no-utf8-ENV): Likewise.
1982 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1983 (tst-sscanf-ENV): Likewise.
1984 (tst-swprintf-ENV): Likewise.
1985 (tst-swscanf-ENV): Likewise.
1986 (test-vfprintf-ENV): Likewise.
1987 (scanf13-ENV): Likewise.
1988 (bug14-ENV): Likewise.
1989 (tst-grouping-ENV): Likewise.
1990 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1991 (tst-strtod3-ENV): Likewise.
1992 (tst-strtod4-ENV): Likewise.
1993 (tst-strtod5-ENV): Likewise.
1994 (testmb2-ENV): Likewise./
1995 * string/Makefile (tst-strxfrm-ENV): Likewise.
1996 (tst-strxfrm2-ENV): Likewise.
1997 (bug-strcoll1-ENV): Likewise.
1998 (test-strcasecmp-ENV): Likewise.
1999 (test-strncasecmp-ENV): Likewise.
2000 * time/Makefile (tst-strptime-ENV): Likewise.
2001 (tst-ftime_l-ENV): Likewise.
2002 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2003 (tst-mbrtowc-ENV): Likewise.
2004 (tst-wcrtomb-ENV): Likewise.
2005 (tst-mbrtowc2-ENV): Likewise.
2006 (tst-c16c32-1-ENV): Likewise.
2007 (tst-mbsnrtowcs-ENV): Likewise.
2009 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2011 * manual/resource.texi (How to get information about the memory
2012 subsystem?): Fix typo.
2013 Reported by Peon de la Parra Ivan <peon@keba.com>
2015 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2018 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2019 (pthread_spin_lock): Branch out of spin loop to proper location.
2020 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2021 (pthread_spin_lock): Likewise.
2023 * nptl/tst-spin4.c: New test.
2024 * nptl/Makefile (tests): Add tst-spin4.
2026 2014-06-03 Andreas Schwab <schwab@suse.de>
2029 * resolv/res_send.c (send_dg): Reload file descriptor after
2032 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2034 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2036 2014-06-03 Richard Henderson <rth@redhat.com>
2038 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2039 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2040 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2041 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2042 in the SAVE_PID block.
2043 (__libc_vfork): New alias.
2044 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2046 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2047 child in registers, not on the stack. Remove RESET_PID conditionals.
2048 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2050 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2052 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2054 2014-06-03 Wilco <wdijkstr@arm.com>
2056 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2057 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2058 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2059 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2060 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2063 2014-06-03 Wilco <wdijkstr@arm.com>
2065 * sysdeps/aarch64/fpu/math_private.h
2066 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2067 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2068 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2069 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2072 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2074 * crypt/crypt-private.h: Include ufc-crypt.h.
2075 (__b64_from_24bit): Declare extern.
2076 * crypt/crypt_util.c(__b64_from_24bit): New function.
2077 (b64t): New static const variable.
2078 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2079 (b64t): Remove variable.
2080 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2081 * crypt/sha256-crypt.c: Include crypt-private.h.
2082 (b64t): Remove variable.
2083 (__sha256_crypt_r): Remove b64_from_24bit and replace
2084 with __b64_from_24bit.
2085 * crypt/sha512-crypt.c: Likewise.
2087 2014-06-02 Roland McGrath <roland@hack.frob.com>
2089 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2090 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2091 Label the code __libc_vfork rather than __vfork.
2092 [!NOT_IN_libc] (vfork): Define as weak alias.
2093 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2094 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2095 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2097 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2099 * malloc/malloc.c (malloc_info): Fix format specifier for
2102 2014-06-02 Wilco <wdijkstr@arm.com>
2104 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2107 2014-06-02 Wilco <wdijkstr@arm.com>
2110 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2111 Rewrite to reduce FPCR/FPSR accesses.
2113 2014-06-01 David S. Miller <davem@davemloft.net>
2115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2117 2014-05-31 David S. Miller <davem@davemloft.net>
2119 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2120 to occur in round to nearest mode when |x| >= 2.0
2122 2014-05-30 Richard Henderson <rth@twiddle.net>
2124 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2125 (PSEUDO_RET_NOERRNO): Remove.
2126 (ret): Don't redefine.
2127 (ret_NOERRNO): Define in terms of ret.
2128 (ret_ERRVAL): Likewise.
2130 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2131 use of PSEUDO_RET; perform the error check directly.
2133 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2135 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2138 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2140 * malloc/malloc (malloc_info): Fix formatting.
2142 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2143 Roland McGrath <roland@hack.frob.com>
2145 * malloc/malloc (malloc_info): Also print mmapped statistics.
2147 2014-05-30 Roland McGrath <roland@hack.frob.com>
2149 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2150 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2152 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2154 * malloc/malloc.c (malloc_info): Inline mi_arena.
2156 2014-05-29 Richard Henderson <rth@twiddle.net>
2158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2159 Remove comma before expanding ASM_ARGS_##nr.
2160 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2161 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2163 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2164 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2165 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2166 (ASM_ARGS_1): Add leading comma.
2168 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2169 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2170 to __errno_location.
2171 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2172 Remove the expected plt for __errno_location.
2174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2175 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2178 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2179 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2180 it and break it down.
2181 (DOCARGS_0, DOCARGS_1): Do nothing.
2182 (DOCARGS_2): Update to store into the new stack frame.
2183 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2184 (UNDOCARGS_1): Update to restore from the new stack frame.
2185 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2186 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2188 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2189 (SINGLE_THREAD_P): New parameter for result regno.
2190 (PSEUDO): Update to match; use cbz instead of beq.
2192 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2193 Use ENTRY to define the _nocancel entry point. Share the syscall
2194 and syscall error check paths with the cancel path.
2197 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2198 whitespace; tabs before and after asm mnemonics.
2200 2014-05-29 Eric Wong <normalperson@yhbt.net>
2203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2204 Call fstat64 or stat64 internally, depending on arguments passed.
2205 Replace stat buffer argument with file descriptor argument.
2206 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2207 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2208 Pass fd to __internal_statvfs instead of calling fstat64.
2209 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2210 Pass fd to __internal_statvfs64 instead of calling fstat64.
2211 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2212 Pass -1 to __internal_statvfs instead of calling stat64.
2213 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2214 Pass -1 to __internal_statvfs64 instead of calling stat64.
2216 2014-05-28 Roland McGrath <roland@hack.frob.com>
2218 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2219 that was previously under [RESET_PID].
2220 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2222 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2223 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2225 2014-05-27 Roland McGrath <roland@hack.frob.com>
2227 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2229 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2230 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2232 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2234 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2236 2014-05-27 Andreas Schwab <schwab@suse.de>
2238 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2240 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2241 * elf/rtld.c (init_tls, dl_main): Likewise.
2242 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2243 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2244 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2245 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2246 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2247 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2248 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2249 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2250 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2251 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2252 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2253 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2254 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2255 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2256 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2257 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2258 * sysdeps/generic/tls.h: Update description.
2260 2014-05-27 Will Newton <will.newton@linaro.org>
2263 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2264 and restore r2 rather than just restoring.
2266 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2269 * libio/tst-ftell-append.c: New test case.
2270 * libio/Makefile (tests): Add test case.
2271 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2273 * libio/wfileops.c (do_ftell_wide): Likewise.
2275 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2279 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2283 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2284 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2285 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2286 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2287 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2288 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2295 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2296 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2297 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2298 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2299 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2301 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2302 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2304 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2306 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2308 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2309 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2310 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2312 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2313 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2314 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2315 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2317 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2320 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2326 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2333 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2338 conditional [RESET_PID].
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2347 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2348 (__libc_vfork): New strong alias.
2349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2351 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2356 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2357 (__libc_vfork): New strong alias.
2358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2360 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2363 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2365 * malloc/malloc.c (mi_arena): New function.
2366 (malloc_info): Remove nested function mi_arena. Call non-nosted
2369 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2371 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2373 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2374 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2375 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2376 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2377 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2378 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2379 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2381 2014-05-26 Andreas Schwab <schwab@suse.de>
2384 * locale/programs/repertoire.c (repertoire_read): Add slash
2385 between I18NPATH element and file name.
2386 * locale/programs/locfile.c (locfile_read): Likewise.
2388 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2390 * nptl/pthread_mutexattr_settype.c
2391 (__pthread_mutexattr_settype):
2392 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2394 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2396 * nptl/tst-mutex5 (do_test):
2397 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2399 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2401 * benchtests/README: Document 'init' directive.
2402 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2404 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2405 (parse_file): Recognize 'init' directive.
2407 2014-05-26 Kyle McMartin <kyle@redhat.com>
2410 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2411 alignment of struct pthread.
2413 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2416 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2417 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2418 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2419 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2421 2014-05-25 Richard Henderson <rth@twiddle.net>
2423 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2424 (SINGLE_THREAD_P_PIC): Remove.
2425 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2426 (SINGLE_THREAD_P_PIC): Remove.
2428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2429 branch to syscall error ...
2431 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2432 from __local_syscall_error to .Lsyscall_error.
2433 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2434 (SYSCALL_ERROR): Update label name.
2436 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2437 Do not use DOARGS/UNDOARGS.
2438 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2439 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2440 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2441 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2442 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2447 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2448 define if !NOT_IN_libc.
2449 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2450 define with non-default symbol versions.
2452 2014-05-23 Richard Henderson <rth@twiddle.net>
2454 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2455 (vfork, __vfork): Define via compat_symbol.
2457 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2458 [!HAVE_IFUNC] (vfork_compat): Remove.
2459 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2461 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2464 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2465 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2468 2014-05-23 Richard Henderson <rth@twiddle.net>
2470 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2471 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2472 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2473 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2475 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2476 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2477 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2478 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2479 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2480 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2481 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2482 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2483 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2484 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2485 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2486 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2487 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2488 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2489 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2490 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2492 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2493 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2494 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2495 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2496 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2497 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2498 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2499 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2500 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2501 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2502 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2503 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2504 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2505 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2506 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2512 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2513 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2514 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2515 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2516 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2517 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2518 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2519 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2520 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2521 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2522 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2523 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2524 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2525 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2526 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2528 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2529 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2530 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2532 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2533 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2534 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2535 before exiting on error.
2536 (__libc_vfork): New strong alias.
2537 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2538 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2540 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2541 that was previously under [RESET_PID].
2542 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2544 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2546 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2549 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2550 value when x - 1 is zero.
2551 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2552 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2553 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2554 0.0L for an argument of 1.0L.
2555 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2557 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2558 value when x - 1 is zero.
2559 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2560 * sysdeps/i386/fpu/libm-test-ulps: Update.
2561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2563 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2565 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2566 alphasort and versionsort.
2568 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2570 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2572 [copysignf]: Likewise.
2574 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2576 * crypt/md5-crypt.c: Fix formatting.
2578 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2580 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2581 (b64_from_24bit): New function.
2583 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2585 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2586 libc_hidden_builtin_def to ifunc.
2587 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2588 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2590 2014-05-21 Roland McGrath <roland@hack.frob.com>
2592 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2593 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2595 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2597 * nscd/Depend (linuxthreads): Remove.
2599 * resolv/Depend (linuxthreads): Remove.
2600 * rt/Depend (linuxthreads): Remove.
2602 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2603 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2604 $(common-objpfx)elf/.
2605 (link-libc-before-gnulib): Likewise.
2606 (elfobjdir): Remove variable.
2607 * Makefile (install): Use $(elf-objpfx) instead of
2608 $(common-objpfx)elf/.
2609 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2611 (link-libc-deps): Likewise.
2612 ($(common-objpfx)libc.so): Likewise.
2613 ($(common-objpfx)linkobj/libc.so): Likewise.
2614 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2615 instead of $(common-objpfx)elf/.
2616 (symbolic-link-list): Likewise.
2617 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2618 [$(cross-compiling) = no]: Likewise.
2619 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2621 (static-gnulib-arch): Likewise.
2622 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2623 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2624 $(common-objpfx)elf/.
2626 2014-05-21 Richard Henderson <rth@redhat.com>
2628 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2629 (SINGLE_THREAD_P): Use the correct width load. Fold
2630 into the ldr offset.
2632 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2633 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2635 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2637 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2638 (libgcc_s_resume): Use __attribute_used__.
2639 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2642 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2644 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2645 optimization when used with float constants.
2647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2649 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2652 * locale/nl_langinfo_l.c: Make direct reference to every
2653 _nl_current_CATEGORY symbol.
2654 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2655 (tests-static): Add tst-langinfo-static.
2656 (tests-special): Add tst-langinfo-static.out.
2657 ($(objpfx)tst-langinfo.out): Redirect output.
2658 ($(objpfx)tst-langinfo-static.out): New.
2659 * localedata/tst-langinfo.sh: Send output to stdout.
2660 * localedata/tst-langinfo-static.c: New file.
2663 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2664 when the shift amount is modulo the limb size.
2666 2014-05-20 Richard Henderson <rth@redhat.com>
2669 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2670 Change type of sa_flags from unsigned int to int.
2673 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2675 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2677 2014-05-20 Will Newton <will.newton@linaro.org>
2679 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2680 Test the return value of the system call in the nocancel case.
2682 2014-05-20 Will Newton <will.newton@linaro.org>
2683 Yvan Roux <yvan.roux@linaro.org>
2685 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2686 #include of asm/ptrace.h.
2687 (PTRACE_GET_THREAD_AREA): Remove #undef.
2688 (PTRACE_GETHBPREGS): Likewise.
2689 (PTRACE_SETHBPREGS): Likewise.
2690 (struct user_regs_struct): New structure.
2691 (struct user_fpsimd_struct): New structure.
2692 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2693 #include of asm/ptrace.h and second #include of sys/user.h.
2694 (PTRACE_GET_THREAD_AREA): Remove #undef.
2695 (PTRACE_GETHBPREGS): Likewise.
2696 (PTRACE_SETHBPREGS): Likewise.
2697 (ELF_NGREG): Use new struct user_regs_struct.
2698 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2700 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2703 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2705 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2709 membar to avoid block loads/stores to overlap previous stores.
2711 2014-05-17 Richard Henderson <rth@redhat.com>
2713 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2714 Create the __##syscall_name##_nocancel entry point.
2715 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2716 Remove; let the sysdep-cancel.h code create it.
2718 2014-05-17 David S. Miller <davem@davemloft.net>
2720 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2721 Protect with __USE_GNU.
2722 (TIOCSET_TEMPT): Likewise.
2723 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2724 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2725 these are already provided in bits/ioctl-types.h
2727 2014-05-16 Roland McGrath <roland@hack.frob.com>
2729 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2730 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2732 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2733 Use wait4 regardless of [__NR_waitpid].
2735 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2738 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2739 (_FP_NANSIGN_Q): Set the quiet bit.
2741 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2743 * benchtests/Makefile
2744 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2745 not $(common-objpfx)math/libm.so.
2746 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2747 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2748 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2749 $(common-objpfx)dlfcn/libdl.so.
2750 ($(objpfx)tst-audit8): Depend on $(libm), not
2751 $(common-objpfx)math/libm.so.
2752 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2753 not $(common-objpfx)dlfcn/libdl.so.
2755 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2756 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2757 [$(build-shared) = yes].
2758 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2759 $(common-objpfx)nptl/libpthread.so.
2760 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2761 $(common-objpfx)math/libm.so$(libm.so-version) or
2762 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2763 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2764 $(common-objpfx)dlfcn/libdl.so.
2765 * setjmp/Makefile (link-libm): Remove variable.
2766 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2767 * stdio-common/Makefile (link-libm): Remove variable.
2768 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2769 * stdlib/Makefile (link-libm): Remove variable.
2770 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2771 ($(objpfx)tst-strtod-round): Likewise.
2772 ($(objpfx)tst-tininess): Likewise.
2773 ($(objpfx)tst-strtod-underflow): Likewise.
2774 ($(objpfx)tst-strtod6): Likewise.
2775 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2776 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2777 $(common-objpfx)dlfcn/libdl.so.
2779 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2781 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2782 BSD terminal modes definitions.
2784 2014-05-16 Roland McGrath <roland@hack.frob.com>
2786 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2787 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2789 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2790 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2791 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2792 Don't do #include_next.
2793 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2794 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2795 Don't do #include_next.
2796 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2797 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2798 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2799 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2801 2014-05-16 Allan McRae <allan@archlinux.org>
2803 * po/sv.po: Update Swedish translation from translation project.
2805 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2808 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2811 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2812 errno if the TIOCGPTN ioctl fails with an error different than
2814 * login/tst-ptsname.c: New file.
2815 * login/Makefile (tests): Add tst-ptsname.
2818 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2821 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2825 herrno to return EAI_AGAIN.
2827 2014-05-14 Roland McGrath <roland@hack.frob.com>
2829 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2830 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2831 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2834 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2858 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2860 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2865 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2867 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2869 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2871 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2873 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2875 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2877 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2879 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2881 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2883 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2885 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2887 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2889 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2891 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2894 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2898 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2900 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2902 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2904 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2912 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2915 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2917 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2920 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2921 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2922 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2923 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2924 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2925 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2926 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2927 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2928 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2929 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2930 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2931 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2932 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2933 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2934 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2935 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2937 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2938 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2939 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2940 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2941 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2942 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2943 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2944 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2945 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2946 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2947 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2948 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2949 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2951 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2952 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2954 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2955 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2956 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2957 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2958 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2959 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2961 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2962 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2964 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2965 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2967 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2970 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2972 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2975 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2976 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2977 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2979 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2980 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2981 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2982 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2984 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2985 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2987 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2989 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2990 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2992 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2993 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2995 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2997 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2999 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3001 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3002 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3003 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3006 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3009 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3010 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3012 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3015 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3017 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3018 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3020 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3021 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3022 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3024 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3025 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3026 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3029 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3032 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3034 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3035 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3037 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3040 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3042 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3044 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3045 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3046 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3048 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3050 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3052 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3055 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3056 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3058 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3061 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3062 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3064 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3066 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3068 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3071 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3072 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3073 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3074 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3075 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3077 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3080 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3083 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3085 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3086 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3088 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3089 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3091 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3093 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3095 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3096 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3097 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3098 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3099 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3100 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3101 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3102 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3103 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3105 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3107 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3108 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3110 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3111 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3113 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3114 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3115 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3117 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3119 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3121 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3122 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3123 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3125 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3127 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3129 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3132 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3134 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3137 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3139 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3140 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3141 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3143 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3146 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3149 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3151 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3153 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3155 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3157 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3159 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3161 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3163 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3165 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3167 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3168 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3169 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3170 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3171 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3173 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3174 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3176 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3177 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3178 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3179 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3180 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3181 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3182 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3184 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3185 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3187 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3188 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3190 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3191 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3192 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3193 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3194 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3195 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3196 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3197 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3198 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3199 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3200 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3203 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3213 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3215 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3221 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3223 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3224 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3225 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3226 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3227 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3228 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3229 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3230 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3231 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3232 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3233 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3234 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3235 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3237 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3238 that was previously under [RESET_PID].
3239 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3240 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3241 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3243 * sysdeps/i386/nptl/Implies: New file.
3244 * sysdeps/x86_64/nptl/Implies: New file.
3245 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3246 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3248 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3250 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3251 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3252 (__libc_vfork): New strong alias.
3253 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3254 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3256 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3257 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3258 (__libc_vfork): New strong alias.
3259 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3260 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3262 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3263 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3264 (__libc_vfork): New strong alias.
3265 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3266 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3267 * nptl/pt-vfork.c: New file.
3268 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3269 (libpthread: GLIBC_2.20): New version set (empty).
3271 2014-05-14 Will Newton <will.newton@linaro.org>
3273 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3276 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3279 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3280 arguments with exponent 65 or above.
3281 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3282 arguments 0x1p113L or above.
3283 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3284 to arguments 0x1p107L or above.
3285 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3286 positive arguments with exponent 65 or above.
3287 * math/auto-libm-test-in: Add more tests of log1p.
3288 * math/auto-libm-test-out: Regenerated.
3291 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3292 non-finite arguments is +0.
3293 * math/s_cacosf.c (__cacosf): Likewise.
3294 * math/s_cacosl.c (__cacosl): Likewise.
3295 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3296 * sysdeps/i386/fpu/libm-test-ulps: Update.
3297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3300 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3302 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3303 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3304 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3305 for explicit high bit of mantissa when testing for argument equal
3307 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3308 * sysdeps/i386/fpu/libm-test-ulps: Update.
3309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3312 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3313 (__erf): Scale by 16 instead of 8 in potentially underflowing
3314 case. Ensure exception if result actually underflows.
3315 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3316 (__erff): Scale by 16 instead of 8 in potentially underflowing
3317 case. Ensure exception if result actually underflows.
3318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3319 (efx8): Remove variable.
3320 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3321 case. Ensure exception if result actually underflows.
3322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3323 (efx8): Remove variable.
3324 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3325 case. Ensure exception if result actually underflows.
3326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3327 (efx8): Remove variable.
3328 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3329 case. Ensure exception if result actually underflows.
3330 * math/auto-libm-test-in: Add more tests of erf.
3331 * math/auto-libm-test-out: Regenerated.
3333 2014-05-14 Andreas Schwab <schwab@suse.de>
3335 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3336 Remove code conditionalized on USE___THREAD.
3338 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3339 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3342 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3345 Define unconditionally.
3346 (__ASSUME_O_CLOEXEC): Likewise.
3347 (__ASSUME_SOCK_CLOEXEC): Likewise.
3348 (__ASSUME_IN_NONBLOCK): Likewise.
3349 (__ASSUME_PIPE2): Likewise.
3350 (__ASSUME_EVENTFD2): Likewise.
3351 (__ASSUME_SIGNALFD4): Likewise.
3352 (__ASSUME_DUP3): Likewise.
3353 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3354 (__ASSUME_DUP3): Do not define.
3355 (__ASSUME_EVENTFD2): Likewise.
3356 (__ASSUME_IN_NONBLOCK): Likewise.
3357 (__ASSUME_O_CLOEXEC): Likewise.
3358 (__ASSUME_PIPE2): Likewise.
3359 (__ASSUME_SIGNALFD4): Likewise.
3360 (__ASSUME_SOCK_CLOEXEC): Likewise.
3361 (__ASSUME_UTIMES): Undefine.
3362 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3363 (__ASSUME_UTIMES): Do not define.
3364 (__ASSUME_O_CLOEXEC): Likewise.
3365 (__ASSUME_SOCK_CLOEXEC): Likewise.
3366 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3367 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3369 (__ASSUME_PIPE2): Likewise.
3370 (__ASSUME_EVENTFD2): Likewise.
3371 (__ASSUME_SIGNALFD4): Likewise.
3372 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3373 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3375 (__ASSUME_EVENTFD2): Likewise.
3376 (__ASSUME_SIGNALFD4): Likewise.
3377 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3378 (__ASSUME_32BITUIDS): Likewise.
3379 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3380 (__ASSUME_IPC64): Likewise.
3381 (__ASSUME_ST_INO_64_BIT): Likewise.
3382 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3383 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3384 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3385 (__ASSUME_UTIMES): Do not define.
3386 (__ASSUME_PSELECT): Likewise.
3387 (__ASSUME_PPOLL): Likewise.
3388 (__ASSUME_O_CLOEXEC): Likewise.
3389 (__ASSUME_SOCK_CLOEXEC): Likewise.
3390 (__ASSUME_IN_NONBLOCK): Likewise.
3391 (__ASSUME_PIPE2): Likewise.
3392 (__ASSUME_EVENTFD2): Likewise.
3393 (__ASSUME_SIGNALFD4): Likewise.
3394 (__ASSUME_DUP3): Likewise.
3395 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3396 (__ASSUME_UTIMES): Likewise.
3397 (__ASSUME_O_CLOEXEC): Likewise.
3398 (__ASSUME_SOCK_CLOEXEC): Likewise.
3399 (__ASSUME_IN_NONBLOCK): Likewise.
3400 (__ASSUME_PIPE2): Likewise.
3401 (__ASSUME_EVENTFD2): Likewise.
3402 (__ASSUME_SIGNALFD4): Likewise.
3403 (__ASSUME_DUP3): Likewise.
3404 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3405 (__ASSUME_UTIMES): Likewise.
3406 (__ASSUME_O_CLOEXEC): Likewise.
3407 (__ASSUME_SOCK_CLOEXEC): Likewise.
3408 (__ASSUME_IN_NONBLOCK): Likewise.
3409 (__ASSUME_PIPE2): Likewise.
3410 (__ASSUME_EVENTFD2): Likewise.
3411 (__ASSUME_SIGNALFD4): Likewise.
3412 (__ASSUME_DUP3): Likewise.
3413 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3415 (__ASSUME_UTIMES): Likewise.
3416 (__ASSUME_EVENTFD2): Likewise.
3417 (__ASSUME_SIGNALFD4): Likewise.
3418 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3419 (__ASSUME_O_CLOEXEC): Likewise.
3420 (__ASSUME_SOCK_CLOEXEC): Likewise.
3421 (__ASSUME_IN_NONBLOCK): Likewise.
3422 (__ASSUME_PIPE2): Likewise.
3423 (__ASSUME_EVENTFD2): Likewise.
3424 (__ASSUME_SIGNALFD4): Likewise.
3425 (__ASSUME_DUP3): Likewise.
3426 (__ASSUME_UTIMES): Undefine.
3428 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3429 feclearexcept. Remove symbol versioning code.
3430 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3431 symbol versioning code.
3432 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3433 symbol versioning code.
3434 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3435 feupdateenv. Remove symbol versioning code.
3436 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3437 fegetexceptflag. Remove symbol versioning code.
3438 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3439 fesetexceptflag. Remove symbol versioning code.
3440 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3441 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3442 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3443 (__posix_fadvise64_l32): Remove prototype.
3444 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3447 2014-05-13 Roland McGrath <roland@hack.frob.com>
3449 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3450 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3451 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3452 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3454 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3456 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3457 current working directory
3459 2014-05-13 Roland McGrath <roland@hack.frob.com>
3461 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3462 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3463 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3464 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3465 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3466 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3467 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3468 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3469 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3470 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3472 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3473 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3474 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3476 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3477 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3478 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3479 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3480 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3481 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3482 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3484 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3486 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3487 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3488 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3489 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3490 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3491 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3492 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3493 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3494 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3495 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3496 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3497 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3498 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3499 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3500 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3501 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3502 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3504 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3505 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3507 * sysdeps/unix/sysv/linux/arm/Makefile
3508 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3509 Add rt-aeabi_unwind_cpp_pr1.
3510 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3511 Add nptl-aeabi_unwind_cpp_pr1.
3512 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3513 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3514 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3515 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3516 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3517 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3519 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3520 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3521 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3522 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3524 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3525 Deconditionalize the code that was previously under [RESET_PID].
3526 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3528 * sysdeps/generic/exit-thread.h: New file.
3529 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3530 * include/unistd.h (__exit_thread): Remove declaration.
3531 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3532 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3533 * csu/libc-start.c: Include <exit-thread.h>.
3534 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3535 * nptl/pthread_create.c: Include <exit-thread.h>.
3536 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3537 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3538 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3539 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3540 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3541 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3542 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3543 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3544 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3545 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3546 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3547 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3548 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3549 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3550 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3551 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3552 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3554 2014-05-13 Andreas Schwab <schwab@suse.de>
3556 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3558 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3561 (__ASSUME_UTIMES): Do not condition on kernel version.
3562 (__ASSUME_PSELECT): Define unconditionally.
3563 (__ASSUME_PPOLL): Likewise.
3564 (__ASSUME_ATFCTS): Likewise.
3565 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3566 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3567 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3568 (__ASSUME_UTIMENSAT): Define unconditionally.
3569 (__ASSUME_PRIVATE_FUTEX): Likewise.
3570 (__ASSUME_FALLOCATE): Likewise.
3571 (__ASSUME_O_CLOEXEC): Likewise.
3572 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3573 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3574 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3575 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3576 (__ASSUME_IN_NONBLOCK): Likewise.
3577 (__ASSUME_PIPE2): Likewise.
3578 (__ASSUME_EVENTFD2): Likewise.
3579 (__ASSUME_SIGNALFD4): Likewise.
3580 (__ASSUME_DUP3): Likewise.
3581 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3582 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3583 (__ASSUME_AT_RANDOM): Likewise.
3584 (__ASSUME_PREADV): Likewise.
3585 (__ASSUME_PWRITEV): Likewise.
3586 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3587 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3588 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3589 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3590 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3591 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3592 (__ASSUME_O_CLOEXEC): Define unconditionally.
3593 (__ASSUME_PSELECT): Do not undefine conditionally.
3594 (__ASSUME_PPOLL): Likewise.
3595 (__ASSUME_ATFCTS): Likewise.
3596 (__ASSUME_SET_ROBUST_LIST): Likewise.
3597 (__ASSUME_UTIMENSAT): Likewise.
3598 (__ASSUME_FDATASYNC): Define unconditionally.
3599 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3600 (__ASSUME_SIGFRAME_V2): Likewise.
3601 )__ASSUME_EVENTFD2): Likewise.
3602 (__ASSUME_SIGNALFD4): Likewise.
3603 (__ASSUME_PSELECT): Do not undefine conditionally.
3604 (__ASSUME_PPOLL): Likewise.
3605 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3606 (__ASSUME_PSELECT): Define unconditionally.
3607 (__ASSUME_PPOLL): Likewise.
3608 (__ASSUME_O_CLOEXEC): Likewise.
3609 (__ASSUME_SOCK_CLOEXEC): Likewise.
3610 (__ASSUME_IN_NONBLOCK): Likewise.
3611 (__ASSUME_PIPE2): Likewise.
3612 (__ASSUME_EVENTFD2): Likewise.
3613 (__ASSUME_SIGNALFD4): Likewise.
3614 (__ASSUME_DUP3): Likewise.
3615 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3616 (__ASSUME_O_CLOEXEC): Likewise.
3617 (__ASSUME_SOCK_CLOEXEC): Likewise.
3618 (__ASSUME_IN_NONBLOCK): Likewise.
3619 (__ASSUME_PIPE2): Likewise.
3620 (__ASSUME_EVENTFD2): Likewise.
3621 (__ASSUME_SIGNALFD4): Likewise.
3622 (__ASSUME_DUP3): Likewise.
3623 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3624 (__ASSUME_EVENTFD2): Likewise.
3625 (__ASSUME_SIGNALFD4): Likewise.
3626 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3628 2014-05-12 Andreas Schwab <schwab@suse.de>
3631 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3632 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3633 than maximum RPC packet size.
3634 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3635 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3636 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3637 (_nss_nis_getservbyport_r): Likewise.
3639 2014-05-12 Will Newton <will.newton@linaro.org>
3641 * malloc/Makefile (tests): Add tst-mallopt.
3642 * malloc/tst-mallopt.c: New file.
3644 2014-05-09 Roland McGrath <roland@hack.frob.com>
3646 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3647 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3649 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3651 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3652 (tst-tlsmod6.so): Likewise.
3654 2014-05-09 Roland McGrath <roland@hack.frob.com>
3656 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3658 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3661 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3662 and <dl-procinfo.h>.
3663 (__fegetenv): Save SSE state in envp->__eip if supported.
3664 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3665 envp->__eip if supported.
3666 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3667 and <dl-procinfo.h>.
3668 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3669 __data_offset and __data_selector in environment to 0. Set SSE
3671 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3673 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3675 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3677 2014-05-09 Will Newton <will.newton@linaro.org>
3679 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3680 and libc_relro_required for ARM.
3681 * sysdeps/arm/preconfigure: Regenerate.
3683 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3684 Stefan Liebler <stli@linux.vnet.ibm.com>
3686 * config.make.in (enable-lock-elision): New Makefile variable.
3687 * configure.ac: Likewise.
3688 * configure: Regenerate.
3689 * sysdeps/s390/configure.ac:
3690 Add check for gcc transactions support.
3691 * sysdeps/s390/configure: Regenerate.
3692 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3693 Build elision files if enabled.
3694 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3695 Add lock elision support for s390.
3696 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3697 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3698 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3699 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3700 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3701 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3702 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3704 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3706 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3708 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3710 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3711 (__lll_timedlock_elision, __lll_lock_elision)
3712 (__lll_unlock_elision, __lll_trylock_elision)
3713 (lll_timedlock_elision, lll_lock_elision)
3714 (lll_unlock_elision, lll_trylock_elision): Add.
3715 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3716 (pthread_mutex_t): Add lock elision support for s390.
3718 2014-05-14 Wilco <wdijkstr@arm.com>
3720 * sysdeps/arm/fclrexcpt.c: Cleanup.
3721 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3722 * sysdeps/arm/feenablxcpt.c: Cleanup.
3723 * sysdeps/arm/fegetenv.c: Cleanup.
3724 * sysdeps/arm/fegetexcept.c: Cleanup.
3725 * sysdeps/arm/fegetround.c: Cleanup.
3726 * sysdeps/arm/feholdexcpt.c: Cleanup.
3727 * sysdeps/arm/fesetenv.c: Cleanup.
3728 * sysdeps/arm/fesetround.c: Cleanup.
3729 * sysdeps/arm/feupdateenv.c: Cleanup.
3730 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3731 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3732 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3733 * sysdeps/arm/ftestexcept.c: Cleanup.
3734 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3735 * sysdeps/arm/setfpucw.c: Cleanup.
3737 2014-05-09 Will Newton <will.newton@linaro.org>
3739 * sysdeps/arm/armv7/strcmp.S: New file.
3740 * NEWS: Mention addition of ARMv7 optimized strcmp.
3742 2014-05-08 Roland McGrath <roland@hack.frob.com>
3744 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3745 look for %.ac rather than %.in.
3747 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3748 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3749 * sysdeps/mach/hurd/configure: Regenerated.
3750 * sysdeps/unix/sysv/linux/configure: Regenerated.
3752 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3754 2014-05-07 Steve Ellcey <sellcey@mips.com>
3757 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3761 2014-05-07 Andreas Schwab <schwab@suse.de>
3763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3764 when skipping over non-matching result from nscd.
3766 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3769 * nptl/sockperf.c (client): Check socket return value.
3772 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3773 nscd security class.
3775 2014-05-06 Roland McGrath <roland@hack.frob.com>
3777 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3778 * sysdeps/arm/unwind.h: ... here.
3780 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3783 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3786 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3788 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3789 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3790 multiarch strncpy for PPC64.
3791 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3792 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3794 multiarch optimizations.
3795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3796 (__libc_ifunc_impl_list): Likewise.
3797 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3798 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3799 multiarch stpncpy for PPC64.
3800 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3801 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3803 2014-05-06 Andreas Schwab <schwab@suse.de>
3806 * gmon/mcount.c (_MCOUNT_DECL): Use
3807 atomic_compare_and_exchange_bool_acq instead of
3808 catomic_compare_and_exchange_bool_acq.
3810 2014-05-05 Roland McGrath <roland@hack.frob.com>
3812 * elf/Makefile (others, install-bin): Remove pldd.
3813 (pldd-modules): Variable removed.
3814 ($(objpfx)pldd): Target removed.
3815 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3816 (others, install-bin): Append pldd here.
3817 ($(objpfx)pldd): New target.
3819 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3820 to 0, so the first #if test emitted later doesn't see it undefined.
3821 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3822 * sysdeps/gnu/errlist.c: Regenerated.
3824 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3826 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3827 [libc_hidden_builtin_def]: Define to empty value.
3828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3829 [libc_hidden_builtin_def]: Likewise.
3830 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3831 [libc_hidden_builtin_def]: Likewise.
3832 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3833 [libc_hidden_builtin_def]: Likewise.
3834 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3835 __redirect_memcpy and define ifunc as default hidden symbol.
3836 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3837 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3839 2014-05-04 Adam Conrad <adconrad@0c3.net>
3841 * locale/iso-4217.def: Reintroduce XDR currency.
3843 2014-05-04 Allan McRae <allan@archlinux.org>
3845 * po/eo.po: Update Esperanto translation from translation project.
3847 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3849 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3850 and FEATURE_INDEX_MAX to 1.
3851 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3853 2014-05-01 Steve Ellcey <sellcey@mips.com>
3855 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3856 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3857 * iconvdata/big5.c (ONE_DIRECTION): Define.
3858 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3859 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3860 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3861 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3862 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3863 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3864 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3865 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3866 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3867 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3868 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3869 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3870 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3871 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3872 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3873 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3874 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3875 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3876 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3877 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3878 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3879 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3880 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3881 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3882 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3883 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3884 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3885 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3886 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3887 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3888 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3889 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3890 * iconvdata/johab.c (ONE_DIRECTION): Define.
3891 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3892 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3893 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3894 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3895 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3896 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3897 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3898 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3899 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3900 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3902 2014-05-01 Roland McGrath <roland@hack.frob.com>
3904 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3905 (_IO_JUMPS_OFFSET): Define to 0.
3907 * nptl/sysdeps/pthread/bits/libc-lock.h
3908 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3909 (__libc_lock_define_initialized_recursive): Always define using
3910 initializer. Modern compilers treat uninitialized (implicit zero) and
3911 explicit zero initializers the same (i.e. put the datum in bss).
3913 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3915 * nscd/nscd-client.h: Include <string.h>.
3917 2014-05-01 David S. Miller <davem@davemloft.net>
3920 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3921 multiple zero bytes exist at the end of a string.
3922 Reported by Aurelien Jarno <aurelien@aurel32.net>
3924 * string/test-strcmp.c (check): Add explicit test for situations where
3925 there are multiple zero bytes after the first.
3927 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3930 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3931 when compiling wprintf.
3932 * stdio-common/tstdiomisc.c (t3): New function.
3935 2014-05-01 Steve Ellcey <sellcey@mips.com>
3937 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3938 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3939 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3940 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3942 2014-05-01 Steve Ellcey <sellcey@mips.com>
3944 * stdlib/longlong.h: Updated from GCC.
3946 2014-05-01 Will Newton <will.newton@linaro.org>
3947 Bernard Ogden <bernie.ogden@linaro.org>
3949 * NEWS: Update fixed bug list.
3952 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3954 2014-04-30 David S. Miller <davem@davemloft.net>
3956 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3957 (libc_feholdexcept_setround_sparc_ctx): New function.
3958 (libc_fesetenv_sparc_ctx): Likewise.
3959 (libc_feupdateenv_sparc_ctx): Likewise.
3960 (libc_feholdsetround_sparc_ctx): Likewise.
3961 (libc_feholdexcept_setround_ctx): Define.
3962 (libc_feholdexcept_setroundf_ctx): Likewise.
3963 (libc_feholdexcept_setroundl_ctx): Likewise.
3964 (libc_fesetenv_ctx): Likewise.
3965 (libc_fesetenvf_ctx): Likewise.
3966 (libc_fesetenvl_ctx): Likewise.
3967 (libc_feupdateenv_ctx): Likewise.
3968 (libc_feupdateenvf_ctx): Likewise.
3969 (libc_feupdateenvl_ctx): Likewise.
3970 (libc_feresetround_ctx): Likewise.
3971 (libc_feresetroundf_ctx): Likewise.
3972 (libc_feresetroundl_ctx): Likewise.
3973 (libc_feholdsetround_ctx): Likewise.
3974 (libc_feholdsetroundf_ctx): Likewise.
3975 (libc_feholdsetroundl_ctx): Likewise.
3977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3978 with __USE_GNU instead of XOPEN cpp guards.
3980 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3984 with XOPEN cpp guards.
3986 2014-04-30 Julian Brown <julian@codesourcery.com>
3989 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3992 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3995 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3997 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3998 * sysdeps/unix/sysv/linux/configure: Regenerated.
3999 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4000 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4001 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4002 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4003 * README: Update reference to required Linux kernel version.
4004 * manual/install.texi (Linux): Update reference to required Linux
4005 kernel headers version.
4006 * INSTALL: Regenerated.
4008 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4010 [POSIX] (limits.h): Likewise.
4011 [POSIX] (math.h): Likewise.
4012 [POSIX] (sys/wait.h): Likewise.
4013 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4015 [POSIX] (stddef.h): Do not allow header inclusion.
4017 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4019 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4021 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4023 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4024 Return immediately after lll_futex_wake.
4026 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4029 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4031 (datahead_init_pos): Call datahead_init_common early.
4032 (datahead_init_neg): Likewise.
4034 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4035 datahead_init_neg): New functions.
4036 * nscd/aicache.c (addhstaiX): Use them.
4037 * nscd/grpcache.c (cache_addgr): Likewise.
4038 * nscd/hstcache.c (cache_addhst): Likewise.
4039 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4040 * nscd/netgroupcache.c (do_notfound): Likewise.
4041 (addgetnetgrentX): Likewise.
4042 (addinnetgrX): Likewise.
4043 * nscd/pwdcache.c (cache_addpw): Likewise.
4044 * nscd/servicescache.c (cache_addserv): Likewise.
4046 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4047 Atsushi Onoe <atsushi@onoe.org>
4052 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4053 one response is valid.
4054 * resolv/res_send.c (send_dg): Check for validity of other
4055 response if the current response is a referral.
4057 2014-04-29 Steve Ellcey <sellcey@mips.com>
4059 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4061 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4064 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4065 Always divide by positive zero when computing -Inf result.
4066 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4067 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4069 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4071 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4072 FPSCR if value do not change.
4073 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4074 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4075 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4076 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4077 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4078 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4081 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4083 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4084 * sysdeps/unix/sysv/linux/hppa: Move directory from
4085 ports/systeps/unix/sysv/linux/hppa.
4086 * README: Update listing for hppa-*-linux-gnu.
4088 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4091 * manual/stdio.texi (Hook functions): Fix types of stream hook
4094 * socket/sys/socket.h: Fix typo in comment.
4096 2014-04-28 Wilco <wdijkstr@arm.com>
4098 * sysdeps/arm/fenv_private.h: New file.
4099 * sysdeps/arm/math_private.h: New file.
4100 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4102 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4104 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4106 (La_x86_64_retval): Likewise.
4108 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4110 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4111 fpsr if value didn't change.
4112 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4113 to fpcr if value didn't change.
4114 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4115 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4116 fpsr or fpcr if value didn't change.
4117 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4118 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4119 fpcr if value didn't change.
4120 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4121 to fpsr if value didn't change.
4123 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4125 * nptl/tst-sem3.c: Use test-skeleton.c
4126 (main): Rename to do_test. Use return instead of
4128 * nptl/tst-sem4.c: Use test-skeleton.c
4129 (main): Rename to do_test.
4131 2014-04-22 David S. Miller <davem@davemloft.net>
4133 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4134 (struct sigaction): New struct member __glibc_reserved0, change
4135 type of sa_flags to int.
4137 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4139 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4140 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4142 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4144 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4145 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4147 2014-04-22 Will Newton <will.newton@linaro.org>
4148 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4150 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4151 (__longjmp): Add longjmp and longjmp_target SystemTap
4153 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4154 (__sigsetjmp): Add setjmp SystemTap probe.
4156 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4158 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4161 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4165 * sysdeps/powerpc/fpu/fenv_private.h
4166 (libc_feholdexcept_setroundl_ctx): Define to
4167 libc_feholdexcept_setround_ppc_ctx.
4168 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4169 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4170 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4171 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4173 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4175 * sysdeps/aarch64/math-tests.h: New file.
4177 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4179 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4182 Check and set bit_AVX2_Usable.
4183 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4185 (bit_AVX2): Likewise.
4186 (index_AVX2_Usable): Likewise.
4187 (CPUID_AVX2): Likewise.
4188 (HAS_AVX2): Likewise.
4190 2014-04-17 Will Newton <will.newton@linaro.org>
4192 * manual/setjmp.texi (System V contexts): Add note that
4193 calling setcontext on a context created by a call to a
4194 signal handler is undefined. Update text to note that
4195 setcontext from a signal handler is possible but not
4199 * stdlib/tst-setcontext.c: Include signal.h.
4200 (main): Check that the signal stack before and
4201 after swapcontext is the same.
4203 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4204 Re-implement to restore registers in user code and avoid
4205 rt_sigreturn system call.
4207 2014-04-17 Wilco <wdijkstr@arm.com>
4209 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4210 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4211 * math/test-fenv.c: Skip exception trap tests on targets which only
4212 support non-stop mode.
4214 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4215 Wilco Dijkstra <wilco.dijkstra@arm.com>
4217 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4218 (libc_feholdsetround_aarch64_ctx)
4219 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4220 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4221 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4222 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4223 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4224 (libc_feresetround_noexl_ctx): Define.
4226 2014-04-16 Richard Henderson <rth@redhat.com>
4228 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4230 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4233 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4234 const from the non-libc, non-ldso copy.
4236 * sysdeps/alpha/libm-test-ulps: Regenerate.
4238 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4239 Wilco Dijkstra <wilco.dijkstra@arm.com>
4241 * sysdeps/aarch64/fpu/math_private.h: New file.
4243 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4245 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4247 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4249 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4250 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4252 Intel MPX bound registers before _dl_profile_fixup.
4253 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4254 registers after _dl_profile_fixup. Save and restore bound
4255 registers bnd0/bnd1 when calling _dl_call_pltexit.
4256 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4257 (LR_BND_OFFSET): Likewise.
4258 (LRV_BND0_OFFSET): Likewise.
4259 (LRV_BND1_OFFSET): Likewise.
4261 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4263 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4265 * sysdeps/mach/hurd/i386/tls.h: ... here.
4266 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4267 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4270 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4272 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4274 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4276 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4278 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4281 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4282 * sysdeps/s390/configure: Regenerate.
4285 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4286 Set round-to-nearest internally to reduce error accumulation.
4288 2014-04-16 Alan Modra <amodra@gmail.com>
4292 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4293 * math/libm-test.inc (frexp_test_data): Add tests.
4294 * NEWS: Update fixed bug list.
4296 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4298 * benchtests/Makefile: Depend on libraries in build directory.
4299 (bench-math): Separate out math tests.
4300 (bench-pthread): Separate out pthread tests.
4301 (bench): Include math and pthread tests.
4303 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4306 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4307 _dl_debug_initialize.
4309 * configure.ac: Remove SELinux header check.
4310 * configure: Regenerate.
4311 * nscd/selinux.c (perms): Array of const char* to permission names.
4312 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4313 default policy. Call string_to_security_class and string_to_av_perm to
4314 translate strings. Enforce default policy and call avs_has_perm with
4315 results of translated strings.
4317 2014-04-13 David S. Miller <davem@davemloft.net>
4319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4321 2014-04-12 Allan McRae <allan@archlinux.org>
4324 * manual/string.texi (Collation Functions): Fix qsort argument
4326 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4328 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4330 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4331 Make the test a no-op if there are no exceptions defined.
4333 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4335 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4336 enable-hardcoded-path-in-tests
4338 2014-04-11 Will Newton <will.newton@linaro.org>
4340 * benchtests/Makefile (extra-objs): Add json-lib.o.
4341 (bench-func): Tidy up JSON output.
4342 * benchtests/bench-skeleton.c: Include json-lib.h.
4343 (main): Use JSON library functions to do output of
4345 * benchtests/bench-timing-type.c (main): Output the
4346 timing type simply, leaving formatting to the user.
4347 * benchtests/json-lib.c: New file.
4348 * benchtests/json-lib.h: Likewise.
4350 2014-04-11 Torvald Riegel <triegel@redhat.com>
4353 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4354 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4355 memory barriers. Add comments.
4356 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4357 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4358 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4359 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4360 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4361 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4363 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4365 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4366 * sysdeps/s390/s390-64/configure.ac: ... this ...
4367 * sysdeps/s390/configure.ac: ... to here.
4368 * sysdeps/s390/s390-32/configure: Delete file.
4369 * sysdeps/s390/s390-64/configure: Delete file.
4370 * sysdeps/s390/configure: Regenerate.
4372 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4374 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4376 2014-04-11 Will Newton <will.newton@linaro.org>
4378 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4379 to zero if it is not defined elsewhere. (mtrim): Test
4380 the value of MALLOC_DEBUG with #if rather than #ifdef.
4382 2014-04-10 Torvald Riegel <triegel@redhat.com>
4384 * benchtests/pthread_once-inputs: New file.
4385 * benchtests/pthread_once-source.c: New file.
4386 * benchtests/README: Update documentation.
4388 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4389 H.J. Lu <hongjiu.lu@intel.com>
4391 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4392 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4393 * sysdeps/x86_64/configure: Regenerated.
4394 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4396 (REGISTER_SAVE_RAX): Likewise.
4397 (REGISTER_SAVE_RCX): Likewise.
4398 (REGISTER_SAVE_RDX): Likewise.
4399 (REGISTER_SAVE_RSI): Likewise.
4400 (REGISTER_SAVE_RDI): Likewise.
4401 (REGISTER_SAVE_R8): Likewise.
4402 (REGISTER_SAVE_R9): Likewise.
4403 (REGISTER_SAVE_BND0): Likewise.
4404 (REGISTER_SAVE_BND1): Likewise.
4405 (REGISTER_SAVE_BND2): Likewise.
4406 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4407 bound registers when calling _dl_fixup.
4409 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4411 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4412 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4414 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4415 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4416 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4417 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4418 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4419 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4420 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4422 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4425 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4426 pathconf(_PC_NAME_MAX).
4428 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4430 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4432 (__PTHREAD_SPINS): Move definition to ...
4433 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4434 (__PTHREAD_SPINS): ... here.
4435 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4436 (__PTHREAD_SPIN): Likewise.
4437 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4438 (__PTHREAD_SPIN): Likewise.
4439 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4440 (__PTHREAD_SPIN): Likewise.
4441 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4442 (__PTHREAD_SPIN): Likewise.
4443 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4444 (__PTHREAD_SPIN): Likewise.
4445 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4446 (__PTHREAD_SPIN): Likewise.
4447 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4448 (__PTHREAD_SPIN): Likewise.
4449 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4450 (__PTHREAD_SPIN): Likewise.
4451 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4452 (__PTHREAD_SPIN): Likewise.
4453 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4454 (__PTHREAD_SPIN): Likewise.
4455 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4456 (__PTHREAD_SPIN): Likewise.
4457 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4458 (__PTHREAD_SPIN): Likewise.
4460 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4461 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4462 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4463 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4465 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4466 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4467 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4468 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4470 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4471 strlen symbol for non multi-arch builds.
4472 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4473 missing hidden_def and weak_alias.
4475 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4477 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4479 2014-04-07 Will Newton <will.newton@linaro.org>
4481 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4482 and contents. [!_LIBC] Remove #ifndef and contents.
4483 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4484 * string/memccpy.c (__memccpy): Use ANSI prototype.
4485 * string/memfrob.c (memfrob): Likewise.
4486 * string/strcoll.c (STRCOLL): Likewise.
4487 * string/strlen.c (strlen): Likewise.
4488 * string/strtok.c (STRTOK): Likewise.
4489 * string/strcat.c: Remove unused #include of memcopy.h.
4490 (strcat): Use ANSI prototype.
4491 * string/strchr.c: Remove unused #include of memcopy.h.
4492 (strchr): Use ANSI prototype.
4493 * string/strcmp.c: Remove unused #include of memcopy.h.
4494 (strcmp): Use ANSI prototype.
4495 * string/strcpy.c: Remove unused #include of memcopy.h.
4496 (strcpy): Use ANSI prototype.
4498 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4500 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4501 * config.make.in (config-extra-cppflags): Set it from
4502 libc_extra_cppflags.
4503 * configure.ac (libc_extra_cflags): Make it accumulate over
4504 configure fragments.
4505 (libc_extra_cppflags): New flag.
4506 * configure. Regenerate.
4507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4508 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4509 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4514 result for FE_DOWNWARD rounding mode.
4515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4519 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4521 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4522 in function argument name.
4524 2014-04-03 David Svoboda <svoboda@cert.org>
4527 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4530 2014-04-03 Roland McGrath <roland@hack.frob.com>
4532 * elf/dl-unmap-segments.h: New file.
4533 * sysdeps/generic/ldsodefs.h
4534 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4535 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4536 * elf/dl-fptr.c: Likewise.
4537 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4538 * sysdeps/aarch64/tlsdesc.c: Likewise.
4539 * sysdeps/arm/tlsdesc.c: Likewise.
4540 * sysdeps/i386/tlsdesc.c: Likewise.
4541 * sysdeps/tile/dl-runtime.c: Likewise.
4542 * sysdeps/x86_64/tlsdesc.c: Likewise.
4543 * elf/dl-load.h: New file.
4544 * elf/dl-load.c: Include it.
4545 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4546 Macros moved to dl-load.h.
4547 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4548 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4549 Use _dl_unmap_segments in place of __munmap.
4550 Break out segment-mapping loop into ...
4551 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4553 2014-04-03 Will Newton <will.newton@linaro.org>
4555 * elf/dl-lookup.c (do_lookup_x): Remove comment
4556 referring to nested function and move variable
4557 declarations down to before first use.
4559 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4563 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4565 * math/s_catanf.c (__catanf): Likewise.
4566 * math/s_catanh.c (__catanh): Likewise.
4567 * math/s_catanhf.c (__catanhf): Likewise.
4568 * math/s_catanhl.c (__catanhl): Likewise.
4569 * math/s_catanl.c (__catanl): Likewise.
4570 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4571 by positive zero when computing -Inf result.
4572 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4573 (catanh_test): Likewise.
4574 * sysdeps/i386/fpu/libm-test-ulps: Update.
4575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4578 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4579 instead of using underflowing value in computing result.
4580 * math/s_clog10.c (__clog10): Likewise.
4581 * math/s_clog10f.c (__clog10f): Likewise.
4582 * math/s_clog10l.c (__clog10l): Likewise.
4583 * math/s_clogf.c (__clogf): Likewise.
4584 * math/s_clogl.c (__clogl): Likewise.
4585 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4586 (clog10_test): Likewise.
4587 * sysdeps/i386/fpu/libm-test-ulps: Update.
4588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4590 2014-04-02 Alan Modra <amodra@gmail.com>
4593 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4594 output when value is near a power of two. Use int64_t for lx and
4595 remove casts. Use decimal rather than hex exponent constants.
4596 Don't use long double multiplication when double will suffice.
4597 * math/libm-test.inc (nextafter_test_data): Add tests.
4598 * NEWS: Add 16739 and 16786 to bug list.
4600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4602 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4604 2014-04-01 Will Newton <will.newton@linaro.org>
4606 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4607 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4609 2014-04-01 Florian Weimer <fweimer@redhat.com>
4612 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4613 * nptl/tst-setuid2.c: New file.
4614 * nptl/Makefile (xtests): Add tst-setuid2.
4616 2014-04-01 Alan Modra <amodra@gmail.com>
4619 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4621 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4625 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4626 set errno as appropriate.
4627 * math/w_scalbf.c (__scalbf): Likewise.
4628 * math/w_scalbl.c (__scalbl): Likewise.
4629 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4630 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4631 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4635 * math/w_atan2.c: Include <errno.h>.
4636 (__atan2): Set errno for result underflowing to zero.
4637 * math/w_atan2f.c: Include <errno.h>.
4638 (__atan2f): Set errno for result underflowing to zero.
4639 * math/w_atan2l.c: Include <errno.h>.
4640 (__atan2l): Set errno for result underflowing to zero.
4641 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4643 * math/auto-libm-test-out: Regenerated.
4645 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4647 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4648 Encode instruction correctly in little endian.
4649 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4651 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4653 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4655 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4658 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4661 * sysdeps/unix/sysv/linux/kernel-features.h
4662 [__sparc__ && !__arch64__ && !__sparc_v9__]
4663 (__ASSUME_SET_ROBUST_LIST): Do not define.
4664 [__sparc__ && !__arch64__ && !__sparc_v9__]
4665 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4666 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4668 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4669 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4670 (__ASSUME_REQUEUE_PI): Likewise.
4671 (__ASSUME_SET_ROBUST_LIST): Likewise.
4672 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4673 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4675 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4676 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4678 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4680 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4682 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4683 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4685 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4686 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4690 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4691 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4692 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4694 2014-03-31 Will Newton <will.newton@linaro.org>
4696 * benchtests/Makefile (bench): Add ffs and ffsll to list
4698 * benchtests/ffs-inputs: New file.
4699 * benchtests/ffsll-inputs: Likewise.
4701 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4704 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4705 too large before casting to int.
4706 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4707 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4708 * math/libm-test.inc (scalb_test_data): Add more tests.
4710 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4712 * benchtests/Makefile (DETAILED_OPT): New make option.
4713 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4715 * benchtests/bench-skeleton.c: Include stdbool.h.
4716 (main): Store and print timings per input.
4717 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4718 member to each argument value.
4719 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4720 (_print_arg_data): Initialize per-input timing to 0.
4722 * benchtests/Makefile (timing-type): New binary.
4723 (bench-clean): Also remove bench-timing-type.
4724 (bench): New target for timing-type.
4725 (bench-func): Print output in JSON format.
4726 * benchtests/bench-skeleton.c (main): Print output in JSON
4728 * benchtests/bench-timing-type.c: New file.
4729 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4730 (TIMING_PRINT_STATS): Remove.
4731 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4734 * benchtests/bench-modf.c: Remove.
4735 * benchtests/modf-inputs: New inputs file.
4737 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4740 * math/s_clog10.c (M_PI_LOG10E): New macro.
4741 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4742 imaginary parts are 0.
4743 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4744 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4745 imaginary parts are 0.
4746 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4747 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4748 imaginary parts are 0.
4749 * math/libm-test.inc (clog10_test_data): Update expected results
4750 for when real and imaginary parts are 0.
4752 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4754 * elf/dl-load.c: Finish conversion of __builtin_expect into
4757 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4760 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4761 1+x for argument with exponent below -67.
4762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4764 * math/auto-libm-test-in: Add more tests of exp.
4765 * math/auto-libm-test-out: Regenerated.
4767 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4770 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4771 (nscd_getnetgrent): Use it.
4774 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4777 2014-03-27 Andi Kleen <ak@linux.intel.com>
4779 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4780 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4781 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4782 (lll_robust_unlock): Remove out of line section. Use cfi
4784 (LLL_STUB_UNWIND_INFO*): Remove.
4785 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4786 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4787 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4788 (lll_robust_unlock): Remove out of line section. Use cfi
4790 (LLL_STUB_UNWIND_INFO*): Remove.
4792 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4795 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4798 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4800 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4802 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4805 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4807 * math/test-fenv-preserve.c: New file.
4808 * math/Makefile (tests): Add test-fenv-preserve.
4810 2014-03-26 Will Newton <will.newton@linaro.org>
4812 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4814 2014-03-25 Roland McGrath <roland@hack.frob.com>
4816 * scripts/versionlist.awk: Partition the version sets and emit all
4817 GLIBC_* (sorted) before all others (sorted).
4819 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4821 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4822 GLIBC_2.2.5 version.
4824 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4826 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4829 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4834 2014-03-25 Andreas Schwab <schwab@suse.de>
4836 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4837 label to be used after in6ailist is initialized.
4839 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4841 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4842 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4844 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4848 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4850 (fp_formats): Update initializers.
4851 (init_fp_formats): Initialize new field.
4852 (output_for_one_input_case): Allow underflow for results up to
4854 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4855 * math/auto-libm-test-in: Don't mark some underflows from asin and
4857 * math/auto-libm-test-out: Regenerated.
4858 * sysdeps/i386/fpu/libm-test-ulps: Update.
4859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4861 2014-03-25 Andreas Schwab <schwab@suse.de>
4863 * libio/Makefile (tst-ftell-partial-wide-ENV)
4864 (tst-ftell-active-handler-ENV): Define.
4866 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4868 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4870 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4872 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4874 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4876 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4877 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4878 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4880 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4883 * elf/dl-load.c (open_verify): Add mode parameter.
4884 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4885 (open_path): Change from boolean 'secure' to complete flag 'mode'
4886 (_dl_map_object): Adjust.
4887 * elf/Makefile (tests): Add tst-dlopen-aout.
4888 * elf/tst-dlopen-aout.c: New test.
4890 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4893 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4894 (struct stat): Rename member pad0 to __glibc_reserved0.
4897 * sysdeps/s390/s390-32/bits/wordsize.h
4898 (__WORDSIZE32_SIZE_ULONG): New define.
4899 * sysdeps/s390/s390-64/bits/wordsize.h
4900 (__WORDSIZE32_SIZE_ULONG): Likewise.
4901 * sysdeps/generic/stdint.h (SIZE_MAX):
4902 Define as UL if __WORDSIZE32_SIZE_ULONG.
4905 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4906 (__glibc_reserved0): New variable.
4907 (sa_flags): Change type to int.
4909 * posix/Makefile (before-compile): Use += before-compile instead
4912 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4913 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4915 2014-03-20 Andreas Schwab <schwab@suse.de>
4918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4919 non-matching result from nscd.
4921 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4923 * scripts/bench.py: Moved to ...
4924 * benchtests/scripts/bench.py: ... here.
4925 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4927 2014-03-24 Andreas Schwab <schwab@suse.de>
4930 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4931 alloca_account and account alloca use for struct in6ailist.
4933 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4936 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4937 rounding mode to recompute results that overflow to infinity or
4939 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4941 * math/auto-libm-test-out: Regenerated.
4942 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4943 (ccosh_test): Likewise.
4944 (csin_test_data): Use plus_oflow.
4945 (csin_test): Use ALL_RM_TEST.
4946 (csinh_test_data): Use plus_oflow.
4947 (csinh_test): Use ALL_RM_TEST.
4948 * sysdeps/i386/fpu/libm-test-ulps: Update.
4949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4951 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4953 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4954 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4955 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4958 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4960 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4961 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4962 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4963 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4965 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4966 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4968 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4969 * sysdeps/i386/fpu/libm-test-ulps: Update.
4970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4972 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4974 * scripts/bench.pl: Remove file.
4975 * scripts/bench.py: New benchmark script.
4976 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4977 * benchtests/README: Mention python dependency.
4978 * scripts/pylintrc: New file.
4979 * scripts/pylint: New file.
4981 * bits/mathdef.h: Use #ifdef instead of #if.
4982 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4983 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4984 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4985 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4986 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4987 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4989 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4990 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4992 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4994 and strpbrk-ppc64 objects.
4995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4996 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4997 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4998 multiarch strpbrk for POWER7.
4999 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5000 multiarch strpbrk for PPC64.
5001 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5003 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5006 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5008 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5009 (atan_test): Likewise.
5010 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5011 (atanh_test): Use ALL_RM_TEST.
5012 (atan2_test_data): Likewise.
5013 (cabs_test): Likewise.
5014 (cacosh_test): Likewise.
5015 (carg_test): Likewise.
5016 (casin_test): Likewise.
5017 (casinh_test): Likewise.
5018 (cbrt_test): Likewise.
5019 (csqrt_test): Likewise.
5020 (erf_test): Likewise.
5021 (erfc_test): Likewise.
5022 (pow10_test): Likewise.
5023 (exp2_test): Likewise.
5024 (hypot_test): Likewise.
5025 (j0_test): Likewise.
5026 (j1_test): Likewise.
5027 (lgamma_test): Likewise.
5028 (gamma_test): Likewise.
5029 (sincos_test): Likewise.
5030 (tanh_test): Likewise.
5031 (y0_test): Likewise.
5032 (y1_test): Likewise.
5033 * sysdeps/i386/fpu/libm-test-ulps: Update.
5034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5036 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5040 and strcspn-ppc64 objects.
5041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5042 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5043 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5044 multiarch strcspn for POWER7.
5045 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5046 multiarch strcspn for PPC64.
5047 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5049 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5052 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5054 * math/gen-libm-test.pl (generate_testfile): Expect only function
5055 name as argument to AUTO_TESTS_* and pass results for all rounding
5056 modes to parse_args.
5057 (parse_auto_input): Separate inputs of automatic tests from
5058 outputs before storing in %auto_tests.
5059 * math/libm-test.inc (acos_test_data): Update call to
5061 (acos_test): Use ALL_RM_TEST.
5062 (acos_tonearest_test_data): Remove.
5063 (acos_test_tonearest): Likewise.
5064 (acos_towardzero_test_data): Likewise.
5065 (acos_test_towardzero): Likewise.
5066 (acos_downward_test_data): Likewise.
5067 (acos_test_downward): Likewise.
5068 (acos_upward_test_data): Likewise.
5069 (acos_test_upward): Likewise.
5070 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5071 (asin_test_data): Likewise.
5072 (asin_test): Use ALL_RM_TEST.
5073 (asin_tonearest_test_data): Remove.
5074 (asin_test_tonearest): Likewise.
5075 (asin_towardzero_test_data): Likewise.
5076 (asin_test_towardzero): Likewise.
5077 (asin_downward_test_data): Likewise.
5078 (asin_test_downward): Likewise.
5079 (asin_upward_test_data): Likewise.
5080 (asin_test_upward): Likewise.
5081 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5082 (atan_test_data): Likewise.
5083 (atanh_test_data): Likewise.
5084 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5085 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5086 (carg_test_data): Likewise.
5087 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5088 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5089 (ccosh_test_data): Likewise.
5090 (cexp_test_data): Likewise.
5091 (clog_test_data): Likewise.
5092 (clog10_test_data): Likewise.
5093 (cos_test_data): Update call to AUTO_TESTS_f_f.
5094 (cos_test): Use ALL_RM_TEST.
5095 (cos_tonearest_test_data): Remove.
5096 (cos_test_tonearest): Likewise.
5097 (cos_towardzero_test_data): Likewise.
5098 (cos_test_towardzero): Likewise.
5099 (cos_downward_test_data): Likewise.
5100 (cos_test_downward): Likewise.
5101 (cos_upward_test_data): Likewise.
5102 (cos_test_upward): Likewise.
5103 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5104 (cosh_test): Use ALL_RM_TEST.
5105 (cosh_tonearest_test_data): Remove.
5106 (cosh_test_tonearest): Likewise.
5107 (cosh_towardzero_test_data): Likewise.
5108 (cosh_test_towardzero): Likewise.
5109 (cosh_downward_test_data): Likewise.
5110 (cosh_test_downward): Likewise.
5111 (cosh_upward_test_data): Likewise.
5112 (cosh_test_upward): Likewise.
5113 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5114 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5115 (ctan_test_data): Likewise.
5116 (ctan_test): Use ALL_RM_TEST.
5117 (ctan_tonearest_test_data): Remove.
5118 (ctan_test_tonearest): Likewise.
5119 (ctan_towardzero_test_data): Likewise.
5120 (ctan_test_towardzero): Likewise.
5121 (ctan_downward_test_data): Likewise.
5122 (ctan_test_downward): Likewise.
5123 (ctan_upward_test_data): Likewise.
5124 (ctan_test_upward): Likewise.
5125 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5126 (ctanh_test): Use ALL_RM_TEST.
5127 (ctanh_tonearest_test_data): Remove.
5128 (ctanh_test_tonearest): Likewise.
5129 (ctanh_towardzero_test_data): Likewise.
5130 (ctanh_test_towardzero): Likewise.
5131 (ctanh_downward_test_data): Likewise.
5132 (ctanh_test_downward): Likewise.
5133 (ctanh_upward_test_data): Likewise.
5134 (ctanh_test_upward): Likewise.
5135 (erf_test_data): Update call to AUTO_TESTS_f_f.
5136 (erfc_test_data): Likewise.
5137 (exp_test_data): Likewise.
5138 (exp_test): Use ALL_RM_TEST.
5139 (exp_tonearest_test_data): Remove.
5140 (exp_test_tonearest): Likewise.
5141 (exp_towardzero_test_data): Likewise.
5142 (exp_test_towardzero): Likewise.
5143 (exp_downward_test_data): Likewise.
5144 (exp_test_downward): Likewise.
5145 (exp_upward_test_data): Likewise.
5146 (exp_test_upward): Likewise.
5147 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5148 (exp10_test): Use ALL_RM_TEST.
5149 (exp10_tonearest_test_data): Remove.
5150 (exp10_test_tonearest): Likewise.
5151 (exp10_towardzero_test_data): Likewise.
5152 (exp10_test_towardzero): Likewise.
5153 (exp10_downward_test_data): Likewise.
5154 (exp10_test_downward): Likewise.
5155 (exp10_upward_test_data): Likewise.
5156 (exp10_test_upward): Likewise.
5157 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5158 (expm1_test_data): Likewise.
5159 (expm1_test): Use ALL_RM_TEST.
5160 (expm1_tonearest_test_data): Remove.
5161 (expm1_test_tonearest): Likewise.
5162 (expm1_towardzero_test_data): Likewise.
5163 (expm1_test_towardzero): Likewise.
5164 (expm1_downward_test_data): Likewise.
5165 (expm1_test_downward): Likewise.
5166 (expm1_upward_test_data): Likewise.
5167 (expm1_test_upward): Likewise.
5168 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5169 (fma_test): Use ALL_RM_TEST.
5170 (fma_towardzero_test_data): Remove.
5171 (fma_test_towardzero): Likewise.
5172 (fma_downward_test_data): Likewise.
5173 (fma_test_downward): Likewise.
5174 (fma_upward_test_data): Likewise.
5175 (fma_test_upward): Likewise.
5176 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5177 (j0_test_data): Update call to AUTO_TESTS_f_f.
5178 (j1_test_data): Likewise.
5179 (jn_test_data): Update call to AUTO_TESTS_if_f.
5180 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5181 (log_test_data): Update call to AUTO_TESTS_f_f.
5182 (log10_test_data): Likewise.
5183 (log1p_test_data): Likewise.
5184 (log2_test_data): Likewise.
5185 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5186 (pow_tonearest_test_data): Likewise.
5187 (sin_test_data): Update call to AUTO_TESTS_f_f.
5188 (sin_test): Use ALL_RM_TEST.
5189 (sin_tonearest_test_data): Remove.
5190 (sin_test_tonearest): Likewise.
5191 (sin_towardzero_test_data): Likewise.
5192 (sin_test_towardzero): Likewise.
5193 (sin_downward_test_data): Likewise.
5194 (sin_test_downward): Likewise.
5195 (sin_upward_test_data): Likewise.
5196 (sin_test_upward): Likewise.
5197 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5198 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5199 (sinh_test): Use ALL_RM_TEST.
5200 (sinh_tonearest_test_data): Remove.
5201 (sinh_test_tonearest): Likewise.
5202 (sinh_towardzero_test_data): Likewise.
5203 (sinh_test_towardzero): Likewise.
5204 (sinh_downward_test_data): Likewise.
5205 (sinh_test_downward): Likewise.
5206 (sinh_upward_test_data): Likewise.
5207 (sinh_test_upward): Likewise.
5208 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5209 (sqrt_test): Use ALL_RM_TEST.
5210 (sqrt_tonearest_test_data): Remove.
5211 (sqrt_test_tonearest): Likewise.
5212 (sqrt_towardzero_test_data): Likewise.
5213 (sqrt_test_towardzero): Likewise.
5214 (sqrt_downward_test_data): Likewise.
5215 (sqrt_test_downward): Likewise.
5216 (sqrt_upward_test_data): Likewise.
5217 (sqrt_test_upward): Likewise.
5218 (tan_test_data): Update call to AUTO_TESTS_f_f.
5219 (tan_test): Use ALL_RM_TEST.
5220 (tan_tonearest_test_data): Remove.
5221 (tan_test_tonearest): Likewise.
5222 (tan_towardzero_test_data): Likewise.
5223 (tan_test_towardzero): Likewise.
5224 (tan_downward_test_data): Likewise.
5225 (tan_test_downward): Likewise.
5226 (tan_upward_test_data): Likewise.
5227 (tan_test_upward): Likewise.
5228 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5229 (tgamma_test_data): Likewise.
5230 (y0_test_data): Likewise.
5231 (y1_test_data): Likewise.
5232 (yn_test_data): Update call to AUTO_TESTS_if_f.
5233 (main): Do not call removed functions.
5235 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5237 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5238 (ldexp_test_data): Remove.
5239 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5241 (scalb_test): Use ALL_RM_TEST.
5243 2014-03-19 Andreas Schwab <schwab@suse.de>
5245 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5247 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5250 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5251 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5252 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5253 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5254 (__ASSUME_PREADV): Undefine.
5255 (__ASSUME_PWRITEV): Likewise.
5257 2014-03-18 Roland McGrath <roland@hack.frob.com>
5259 * bits/mman-linux.h: Add comment about non-Linux use.
5260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5261 bits/mman-linux.h resting place.
5263 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5264 * bits/mman-linux.h: ... here.
5266 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5268 * conform/conformtest.pl: Add standard definition when calling C
5269 preprocessor on data files.
5270 (checknamespace): Remove unused variable.
5272 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5274 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5275 minus_oflow, plus_uflow and minus_uflow in expected results.
5276 * math/libm-test.inc (scalbn_test_data): Add more tests of
5277 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5279 (scalbn_test): Use ALL_RM_TEST.
5280 (scalbln_test_data): Add more tests of negative arguments. Use
5281 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5282 (scalbln_test): Use ALL_RM_TEST.
5284 2014-03-18 Roland McGrath <roland@hack.frob.com>
5286 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5288 2014-03-18 Will Newton <will.newton@linaro.org>
5290 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5293 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5295 * Makerules [!subdir] (check-abi): Exit with error status if a
5298 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5300 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5301 for rint. Include results for all rounding modes.
5302 (nearbyint_test): Use ALL_RM_TEST.
5303 (rint_test_data): Include all tests used for nearbyint.
5305 2014-03-17 Will Newton <will.newton@linaro.org>
5307 * nptl/sysdeps/pthread/pthread.h: Revert previous
5310 * sysdeps/generic/ldsodefs.h: Revert previous
5313 * libio/genops.c: Revert previous change.
5314 * libio/libioP.h: Likewise.
5315 * stdio-common/vfprintf.c: Likewise.
5317 * sysdeps/generic/math_private.h: Revert previous
5320 * sysdeps/generic/math_private.h: Check whether
5321 HAVE_RM_CTX is defined with #ifdef rather
5324 * argp/argp-fmtstream.h: Check whether
5325 __STRICT_ANSI__ is defined with #ifdef rather
5327 * argp/argp.h: Likewise.
5329 * libio/genops.c: Check whether
5330 _IO_JUMPS_OFFSET is defined with #ifdef rather
5332 * libio/libioP.h: Likewise.
5333 * stdio-common/vfprintf.c: Likewise.
5335 * sysdeps/generic/ldsodefs.h: Check whether
5336 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5339 * nptl/sysdeps/pthread/pthread.h: Check
5340 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5343 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5345 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5347 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5351 * libio/fileops.c (_IO_file_open): Seek to end of file but
5352 don't cache the offset.
5353 (get_file_offset): Remove function.
5354 (do_ftell): Use cached offset when available.
5355 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5356 don't cache the offset.
5357 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5359 (do_one_test): Call it.
5360 (do_ftell_test): Fix up expected old offset for a+ mode.
5361 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5364 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5365 up test status with function return status.
5366 (do_write_test): Likewise.
5367 (do_append_test): Likewise.
5369 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5370 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5373 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5375 * math/gen-libm-test.pl (parse_args): Handle results specified for
5376 each rounding mode separately.
5377 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5378 tests and results from lrint_tonearest_test_data,
5379 lrint_towardzero_test_data, lrint_downward_test_data and
5380 lrint_upward_test_data.
5381 (lrint_test): Use ALL_RM_TEST.
5382 (lrint_tonearest_test_data): Remove.
5383 (lrint_test_tonearest): Likewise.
5384 (lrint_towardzero_test_data): Likewise.
5385 (lrint_test_towardzero): Likewise.
5386 (lrint_downward_test_data): Likewise.
5387 (lrint_test_downward): Likewise.
5388 (lrint_upward_test_data): Likewise.
5389 (lrint_test_upward): Likewise.
5390 (llrint_test_data): Merge in per-rounding-mode tests and results
5391 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5392 llrint_downward_test_data and llrint_upward_test_data.
5393 (llrint_test): Use ALL_RM_TEST.
5394 (llrint_tonearest_test_data): Remove.
5395 (llrint_test_tonearest): Likewise.
5396 (llrint_towardzero_test_data): Likewise.
5397 (llrint_test_towardzero): Likewise.
5398 (llrint_downward_test_data): Likewise.
5399 (llrint_test_downward): Likewise.
5400 (llrint_upward_test_data): Likewise.
5401 (llrint_test_upward): Likewise.
5402 (rint_test_data): Merge in per-rounding-mode tests and results
5403 from rint_tonearest_test_data, rint_towardzero_test_data,
5404 rint_downward_test_data and rint_upward_test_data. Add
5405 per-rounding-mode results for tests not in those arrays.
5406 (rint_test): Use ALL_RM_TEST.
5407 (rint_tonearest_test_data): Remove.
5408 (rint_test_tonearest): Likewise.
5409 (rint_towardzero_test_data): Likewise.
5410 (rint_test_towardzero): Likewise.
5411 (rint_downward_test_data): Likewise.
5412 (rint_test_downward): Likewise.
5413 (rint_upward_test_data): Likewise.
5414 (rint_test_upward): Likewise.
5415 (main): Don't call removed functions.
5417 2014-03-14 Roland McGrath <roland@hack.frob.com>
5419 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5420 "Compiled on ..." crapola. It is anti-useful.
5422 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5424 * scripts/evaluate-test.sh: Handle fourth argument to determine
5425 whether test run should stop on failure.
5426 * Makeconfig (stop-on-test-failure): New variable.
5427 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5428 $(stop-on-test-failure).
5429 * Makefile (tests): Give a summary of results from testing and
5430 exit with failure status if they include an ERROR or FAIL.
5432 * manual/install.texi (Configuring and compiling): Mention
5433 stop-on-test-failure=y.
5434 * INSTALL: Regenerated.
5436 2014-03-14 Roland McGrath <roland@hack.frob.com>
5438 * scripts/versionlist.awk: New file.
5439 * Makerules [$(build-shared) = yes]
5440 (postclean-generated): Add Versions.def, not Versions.def.v and
5442 ($(common-objpfx)Versions.def.v.i): Target removed.
5443 ($(common-objpfx)Versions.def): New target.
5444 ($(common-objpfx)Versions.all): Depend on that rather that
5445 $(common-objpfx)Versions.def.v.
5446 * Versions.def: File removed.
5448 * Makeconfig (+gccwarn): Add -Wundef.
5449 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5450 a dl-sysdep.h breaking its contract.
5451 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5452 * include/stackinfo.h: New file.
5453 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5454 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5455 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5456 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5457 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5458 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5459 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5460 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5461 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5462 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5463 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5464 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5465 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5466 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5467 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5469 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5474 * math/libm-test.inc (round_test_data): Add more tests.
5477 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5479 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5482 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5484 * math/libm-test.inc (ceil_test_data): Add more tests.
5486 * math/libm-test.inc (trunc_test_data): Add more tests related to
5489 2014-03-14 Roland McGrath <roland@hack.frob.com>
5491 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5492 with #if rather than #ifdef.
5493 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5495 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5497 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5498 first. Disable AVX-512 GCC support if assembler doesn't support
5500 * sysdeps/x86_64/configure: Regenerated.
5502 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5504 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5505 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5506 (__old_pthread_attr_setstack): Likewise.
5507 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5508 [!_STACK_GROWS_DOWN]: Likewise.
5510 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5512 * config.make.in (have-bash2): Delete.
5513 * configure.ac (libc_cv_have_bash2): Delete.
5514 * configure: Regenerate.
5515 * elf/Makefile (common-ldd-rewrite): Rename to ...
5516 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5517 (sh-ldd-rewrite): Delete.
5518 (bash-ldd-rewrite): Delete.
5519 (have-bash2): Delete checks.
5520 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5523 * config.make.in (have-ksh): Delete.
5525 * configure.ac (libc_cv_have_ksh): Delete.
5526 * configure: Regenerate.
5528 * elf/Makefile: Delete $(have-ksh) check.
5529 ($(objpfx)sotruss): Change KSH to BASH.
5530 * elf/sotruss.ksh: Rename to ...
5531 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5532 function style to match POSIX. Drop ksh vim mode setting.
5534 * manual/time.texi (Specifying the Time Zone with TZ): Change
5535 Tuesday to Thursday.
5537 * debug/tst-longjmp_chk2.c: Update header comment.
5538 (stackoverflow_handler): Add comment. Call assert on pass value.
5540 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5542 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5543 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5544 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5545 (La_x86_64_vector): Add zmm.
5546 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5547 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5548 ($(objpfx)tst-audit10): New target.
5549 ($(objpfx)tst-audit10.out): Likewise.
5550 (tst-audit10-ENV): New.
5551 (AVX512-CFLAGS): Likewise.
5552 (CFLAGS-tst-audit10.c): Likewise.
5553 (CFLAGS-tst-auditmod10a.c): Likewise.
5554 (CFLAGS-tst-auditmod10b.c): Likewise.
5555 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5556 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5557 * sysdeps/x86_64/configure: Regenerated.
5558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5559 AVX-512 zmm register support.
5560 (_dl_x86_64_save_sse): Likewise.
5561 (_dl_x86_64_restore_sse): Likewise.
5562 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5563 size vector registers.
5564 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5565 (ZMM_SIZE): Likewise.
5566 * sysdeps/x86_64/tst-audit10.c: New file.
5567 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5568 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5570 2014-03-13 Roland McGrath <roland@hack.frob.com>
5572 * configure.ac (HAVE_EHDR_START): New check.
5573 * configure: Regenerated.
5574 * config.h.in (HAVE_EHDR_START): New #undef.
5575 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5576 assuming the lowest-addressed segment maps the start of the file.
5578 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5580 * INSTALL: Regenerated.
5582 2014-03-13 Will Newton <will.newton@linaro.org>
5584 * manual/setjmp.texi (System V contexts): Improve
5585 clarity and grammar of documentation.
5587 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5590 * elf/Makefile (tests): Add tst-pie2.
5591 (tests-pie): Add tst-pie2.
5592 * elf/tst-pie2.c: New file.
5593 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5595 * elf/rtld.c (map_doit): Load executable as lt_executable.
5596 (dl_main): Likewise.
5598 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5601 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5602 (__ASSUME_PSELECT): Undefine.
5604 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5607 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5608 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5610 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5611 selector for static builds.
5613 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5616 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5619 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5621 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5622 IFUNC selector for static builds.
5624 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5626 * sysdeps/mips/math_private.h [__mips_hard_float]
5627 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5628 libc_feresetround_mips_ctx.
5629 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5630 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5631 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5634 * math/s_nextafter.c (__nextafter): Do not return value from
5635 overflowing computation.
5636 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5637 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5638 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5640 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5642 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5643 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5645 2014-03-11 Roland McGrath <roland@hack.frob.com>
5647 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5648 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5649 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5650 the new mov targetting sp.
5652 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5655 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5656 Define it for static builds as well.
5657 (NO_BZERO_IMPL): Likewise.
5659 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5661 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5662 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5663 multiarch strspn for PPC64.
5664 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5665 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5667 (__libc_ifunc_impl_list): Likewise.
5668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5669 multiarch optimizations
5670 * string/strspn.c (strspn): Using macro to redefine symbol name.
5672 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5673 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5675 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5676 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5677 multiarch strncat for PPC64.
5678 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5679 * sysdeps/powerpc/powerpc64/multiarch/strncat-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 strncat
5683 multiarch optimizations
5685 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5688 * nscd/nscd.service: Make service type forking.
5690 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5692 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5693 sign in non default rounding modes.
5694 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5696 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5698 * math/libm-test.inc (ALL_RM_TEST): New macro.
5699 (ceil_test): Use ALL_RM_TEST.
5700 (cimag_test): Likewise.
5701 (conj_test): Likewise.
5702 (copysign_test): Likewise.
5703 (cproj_test): Likewise.
5704 (creal_test): Likewise.
5705 (fabs_test): Likewise.
5706 (floor_test): Likewise.
5707 (fmax_test): Likewise.
5708 (fmin_test): Likewise.
5709 (fmod_test): Likewise.
5710 (fpclassify_test): Likewise.
5711 (frexp_test): Likewise.
5712 (ilogb_test): Likewise.
5713 (isfinite_test): Likewise.
5714 (finite_test): Likewise.
5715 (isgreater_test): Likewise.
5716 (isgreaterequal_test): Likewise.
5717 (isinf_test): Likewise.
5718 (isless_test): Likewise.
5719 (islessequal_test): Likewise.
5720 (islessgreater_test): Likewise.
5721 (isnan_test): Likewise.
5722 (isnormal_test): Likewise.
5723 (issignaling_test): Likewise.
5724 (isunordered_test): Likewise.
5725 (logb_test): Likewise.
5726 (logb_downward_test_data): Remove.
5727 (logb_test_downward): Likewise.
5728 (lround_test): Use ALL_RM_TEST.
5729 (llround_test): Likewise.
5730 (modf_test): Likewise.
5731 (nexttoward_test): Likewise.
5732 (remainder_test): Likewise.
5733 (drem_test): Likewise.
5734 (remainder_tonearest_test_data): Likewise.
5735 (remainder_test_tonearest): Likewise.
5736 (drem_test_tonearest): Likewise.
5737 (remainder_towardzero_test_data): Likewise.
5738 (remainder_test_towardzero): Likewise.
5739 (drem_test_towardzero): Likewise.
5740 (remainder_downward_test_data): Likewise.
5741 (remainder_test_downward): Likewise.
5742 (drem_test_downward): Likewise.
5743 (remainder_upward_test_data): Likewise.
5744 (remainder_test_upward): Likewise.
5745 (drem_test_upward): Likewise.
5746 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5747 (round_test): Use ALL_RM_TEST.
5748 (signbit_test): Likewise.
5749 (trunc_test): Likewise.
5750 (significand_test): Likewise.
5751 (main): Don't call removed functions.
5753 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5756 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5758 (ILL_ILLOPN): Likewise.
5759 (ILL_ILLADR): Likewise.
5760 (ILL_ILLTRP): Likewise.
5761 (ILL_PRVOPC): Likewise.
5762 (ILL_PRVREG): Likewise.
5763 (ILL_COPROC): Likewise.
5764 (ILL_BADSTK): Likewise.
5765 (FPE_INTDIV): Likewise.
5766 (FPE_INTOVF): Likewise.
5767 (FPE_FLTDIV): Likewise.
5768 (FPE_FLTOVF): Likewise.
5769 (FPE_FLTUND): Likewise.
5770 (FPE_FLTRES): Likewise.
5771 (FPE_FLTINV): Likewise.
5772 (FPE_FLTSUB): Likewise.
5773 (SEGV_MAPERR): Likewise.
5774 (SEGV_ACCERR): Likewise.
5775 (BUS_ADRALN): Likewise.
5776 (BUS_ADRERR): Likewise.
5777 (BUS_OBJERR): Likewise.
5778 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5779 (TRAP_TRACE): Likewise.
5780 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5782 (CLD_KILLED): Likewise.
5783 (CLD_DUMPED): Likewise.
5784 (CLD_TRAPPED): Likewise.
5785 (CLD_STOPPED): Likewise.
5786 (CLD_CONTINUED): Likewise.
5787 (POLL_IN): Likewise.
5788 (POLL_OUT): Likewise.
5789 (POLL_MSG): Likewise.
5790 (POLL_ERR): Likewise.
5791 (POLL_PRI): Likewise.
5792 (POLL_HUP): Likewise.
5793 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5795 (ILL_ILLOPN): Likewise.
5796 (ILL_ILLADR): Likewise.
5797 (ILL_ILLTRP): Likewise.
5798 (ILL_PRVOPC): Likewise.
5799 (ILL_PRVREG): Likewise.
5800 (ILL_COPROC): Likewise.
5801 (ILL_BADSTK): Likewise.
5802 (FPE_INTDIV): Likewise.
5803 (FPE_INTOVF): Likewise.
5804 (FPE_FLTDIV): Likewise.
5805 (FPE_FLTOVF): Likewise.
5806 (FPE_FLTUND): Likewise.
5807 (FPE_FLTRES): Likewise.
5808 (FPE_FLTINV): Likewise.
5809 (FPE_FLTSUB): Likewise.
5810 (SEGV_MAPERR): Likewise.
5811 (SEGV_ACCERR): Likewise.
5812 (BUS_ADRALN): Likewise.
5813 (BUS_ADRERR): Likewise.
5814 (BUS_OBJERR): Likewise.
5815 (BUS_MCEERR_AR): Likewise.
5816 (BUS_MCEERR_AO): Likewise.
5817 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5818 (TRAP_TRACE): Likewise.
5819 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5821 (CLD_KILLED): Likewise.
5822 (CLD_DUMPED): Likewise.
5823 (CLD_TRAPPED): Likewise.
5824 (CLD_STOPPED): Likewise.
5825 (CLD_CONTINUED): Likewise.
5826 (POLL_IN): Likewise.
5827 (POLL_OUT): Likewise.
5828 (POLL_MSG): Likewise.
5829 (POLL_ERR): Likewise.
5830 (POLL_PRI): Likewise.
5831 (POLL_HUP): Likewise.
5832 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5833 (ILL_ILLOPN): Likewise.
5834 (ILL_ILLADR): Likewise.
5835 (ILL_ILLTRP): Likewise.
5836 (ILL_PRVOPC): Likewise.
5837 (ILL_PRVREG): Likewise.
5838 (ILL_COPROC): Likewise.
5839 (ILL_BADSTK): Likewise.
5840 (FPE_INTDIV): Likewise.
5841 (FPE_INTOVF): Likewise.
5842 (FPE_FLTDIV): Likewise.
5843 (FPE_FLTOVF): Likewise.
5844 (FPE_FLTUND): Likewise.
5845 (FPE_FLTRES): Likewise.
5846 (FPE_FLTINV): Likewise.
5847 (FPE_FLTSUB): Likewise.
5848 (SEGV_MAPERR): Likewise.
5849 (SEGV_ACCERR): Likewise.
5850 (BUS_ADRALN): Likewise.
5851 (BUS_ADRERR): Likewise.
5852 (BUS_OBJERR): Likewise.
5853 (BUS_MCEERR_AR): Likewise.
5854 (BUS_MCEERR_AO): Likewise.
5855 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5856 (TRAP_TRACE): Likewise.
5857 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5859 (CLD_KILLED): Likewise.
5860 (CLD_DUMPED): Likewise.
5861 (CLD_TRAPPED): Likewise.
5862 (CLD_STOPPED): Likewise.
5863 (CLD_CONTINUED): Likewise.
5864 (POLL_IN): Likewise.
5865 (POLL_OUT): Likewise.
5866 (POLL_MSG): Likewise.
5867 (POLL_ERR): Likewise.
5868 (POLL_PRI): Likewise.
5869 (POLL_HUP): Likewise.
5870 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5872 (ILL_ILLOPN): Likewise.
5873 (ILL_ILLADR): Likewise.
5874 (ILL_ILLTRP): Likewise.
5875 (ILL_PRVOPC): Likewise.
5876 (ILL_PRVREG): Likewise.
5877 (ILL_COPROC): Likewise.
5878 (ILL_BADSTK): Likewise.
5879 (ILL_BADIADDR): Likewise.
5880 (ILL_BREAK): Likewise.
5881 (FPE_INTDIV): Likewise.
5882 (FPE_INTOVF): Likewise.
5883 (FPE_FLTDIV): Likewise.
5884 (FPE_FLTOVF): Likewise.
5885 (FPE_FLTUND): Likewise.
5886 (FPE_FLTRES): Likewise.
5887 (FPE_FLTINV): Likewise.
5888 (FPE_FLTSUB): Likewise.
5889 (FPE_DECOVF): Likewise.
5890 (FPE_DECDIV): Likewise.
5891 (FPE_DECERR): Likewise.
5892 (FPE_INVASC): Likewise.
5893 (FPE_INVDEC): Likewise.
5894 (SEGV_MAPERR): Likewise.
5895 (SEGV_ACCERR): Likewise.
5896 (SEGV_PSTKOVF): Likewise.
5897 (BUS_ADRALN): Likewise.
5898 (BUS_ADRERR): Likewise.
5899 (BUS_OBJERR): Likewise.
5900 (BUS_MCEERR_AR): Likewise.
5901 (BUS_MCEERR_AO): Likewise.
5902 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5903 (TRAP_TRACE): Likewise.
5904 (TRAP_BRANCH): Likewise.
5905 (TRAP_HWBKPT): Likewise.
5906 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5908 (CLD_KILLED): Likewise.
5909 (CLD_DUMPED): Likewise.
5910 (CLD_TRAPPED): Likewise.
5911 (CLD_STOPPED): Likewise.
5912 (CLD_CONTINUED): Likewise.
5913 (POLL_IN): Likewise.
5914 (POLL_OUT): Likewise.
5915 (POLL_MSG): Likewise.
5916 (POLL_ERR): Likewise.
5917 (POLL_PRI): Likewise.
5918 (POLL_HUP): Likewise.
5919 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5920 (ILL_ILLOPN): Likewise.
5921 (ILL_ILLADR): Likewise.
5922 (ILL_ILLTRP): Likewise.
5923 (ILL_PRVOPC): Likewise.
5924 (ILL_PRVREG): Likewise.
5925 (ILL_COPROC): Likewise.
5926 (ILL_BADSTK): Likewise.
5927 (FPE_INTDIV): Likewise.
5928 (FPE_INTOVF): Likewise.
5929 (FPE_FLTDIV): Likewise.
5930 (FPE_FLTOVF): Likewise.
5931 (FPE_FLTUND): Likewise.
5932 (FPE_FLTRES): Likewise.
5933 (FPE_FLTINV): Likewise.
5934 (FPE_FLTSUB): Likewise.
5935 (SEGV_MAPERR): Likewise.
5936 (SEGV_ACCERR): Likewise.
5937 (BUS_ADRALN): Likewise.
5938 (BUS_ADRERR): Likewise.
5939 (BUS_OBJERR): Likewise.
5940 (BUS_MCEERR_AR): Likewise.
5941 (BUS_MCEERR_AO): Likewise.
5942 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5943 (TRAP_TRACE): Likewise.
5944 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5946 (CLD_KILLED): Likewise.
5947 (CLD_DUMPED): Likewise.
5948 (CLD_TRAPPED): Likewise.
5949 (CLD_STOPPED): Likewise.
5950 (CLD_CONTINUED): Likewise.
5951 (POLL_IN): Likewise.
5952 (POLL_OUT): Likewise.
5953 (POLL_MSG): Likewise.
5954 (POLL_ERR): Likewise.
5955 (POLL_PRI): Likewise.
5956 (POLL_HUP): Likewise.
5957 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5958 (ILL_ILLOPN): Likewise.
5959 (ILL_ILLADR): Likewise.
5960 (ILL_ILLTRP): Likewise.
5961 (ILL_PRVOPC): Likewise.
5962 (ILL_PRVREG): Likewise.
5963 (ILL_COPROC): Likewise.
5964 (ILL_BADSTK): Likewise.
5965 (FPE_INTDIV): Likewise.
5966 (FPE_INTOVF): Likewise.
5967 (FPE_FLTDIV): Likewise.
5968 (FPE_FLTOVF): Likewise.
5969 (FPE_FLTUND): Likewise.
5970 (FPE_FLTRES): Likewise.
5971 (FPE_FLTINV): Likewise.
5972 (FPE_FLTSUB): Likewise.
5973 (SEGV_MAPERR): Likewise.
5974 (SEGV_ACCERR): Likewise.
5975 (BUS_ADRALN): Likewise.
5976 (BUS_ADRERR): Likewise.
5977 (BUS_OBJERR): Likewise.
5978 (BUS_MCEERR_AR): Likewise.
5979 (BUS_MCEERR_AO): Likewise.
5980 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5981 (TRAP_TRACE): Likewise.
5982 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5984 (CLD_KILLED): Likewise.
5985 (CLD_DUMPED): Likewise.
5986 (CLD_TRAPPED): Likewise.
5987 (CLD_STOPPED): Likewise.
5988 (CLD_CONTINUED): Likewise.
5989 (POLL_IN): Likewise.
5990 (POLL_OUT): Likewise.
5991 (POLL_MSG): Likewise.
5992 (POLL_ERR): Likewise.
5993 (POLL_PRI): Likewise.
5994 (POLL_HUP): Likewise.
5995 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5996 (ILL_ILLOPN): Likewise.
5997 (ILL_ILLADR): Likewise.
5998 (ILL_ILLTRP): Likewise.
5999 (ILL_PRVOPC): Likewise.
6000 (ILL_PRVREG): Likewise.
6001 (ILL_COPROC): Likewise.
6002 (ILL_BADSTK): Likewise.
6003 (FPE_INTDIV): Likewise.
6004 (FPE_INTOVF): Likewise.
6005 (FPE_FLTDIV): Likewise.
6006 (FPE_FLTOVF): Likewise.
6007 (FPE_FLTUND): Likewise.
6008 (FPE_FLTRES): Likewise.
6009 (FPE_FLTINV): Likewise.
6010 (FPE_FLTSUB): Likewise.
6011 (SEGV_MAPERR): Likewise.
6012 (SEGV_ACCERR): Likewise.
6013 (BUS_ADRALN): Likewise.
6014 (BUS_ADRERR): Likewise.
6015 (BUS_OBJERR): Likewise.
6016 (BUS_MCEERR_AR): Likewise.
6017 (BUS_MCEERR_AO): Likewise.
6018 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6019 (TRAP_TRACE): Likewise.
6020 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6022 (CLD_KILLED): Likewise.
6023 (CLD_DUMPED): Likewise.
6024 (CLD_TRAPPED): Likewise.
6025 (CLD_STOPPED): Likewise.
6026 (CLD_CONTINUED): Likewise.
6027 (POLL_IN): Likewise.
6028 (POLL_OUT): Likewise.
6029 (POLL_MSG): Likewise.
6030 (POLL_ERR): Likewise.
6031 (POLL_PRI): Likewise.
6032 (POLL_HUP): Likewise.
6033 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6034 (ILL_ILLOPN): Likewise.
6035 (ILL_ILLADR): Likewise.
6036 (ILL_ILLTRP): Likewise.
6037 (ILL_PRVOPC): Likewise.
6038 (ILL_PRVREG): Likewise.
6039 (ILL_COPROC): Likewise.
6040 (ILL_BADSTK): Likewise.
6041 (ILL_DBLFLT): Likewise.
6042 (ILL_HARDWALL): Likewise.
6043 (FPE_INTDIV): Likewise.
6044 (FPE_INTOVF): Likewise.
6045 (FPE_FLTDIV): Likewise.
6046 (FPE_FLTOVF): Likewise.
6047 (FPE_FLTUND): Likewise.
6048 (FPE_FLTRES): Likewise.
6049 (FPE_FLTINV): Likewise.
6050 (FPE_FLTSUB): Likewise.
6051 (SEGV_MAPERR): Likewise.
6052 (SEGV_ACCERR): Likewise.
6053 (BUS_ADRALN): Likewise.
6054 (BUS_ADRERR): Likewise.
6055 (BUS_OBJERR): Likewise.
6056 (BUS_MCEERR_AR): Likewise.
6057 (BUS_MCEERR_AO): Likewise.
6058 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6059 (TRAP_TRACE): Likewise.
6060 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6062 (CLD_KILLED): Likewise.
6063 (CLD_DUMPED): Likewise.
6064 (CLD_TRAPPED): Likewise.
6065 (CLD_STOPPED): Likewise.
6066 (CLD_CONTINUED): Likewise.
6067 (POLL_IN): Likewise.
6068 (POLL_OUT): Likewise.
6069 (POLL_MSG): Likewise.
6070 (POLL_ERR): Likewise.
6071 (POLL_PRI): Likewise.
6072 (POLL_HUP): Likewise.
6073 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6074 (ILL_ILLOPN): Likewise.
6075 (ILL_ILLADR): Likewise.
6076 (ILL_ILLTRP): Likewise.
6077 (ILL_PRVOPC): Likewise.
6078 (ILL_PRVREG): Likewise.
6079 (ILL_COPROC): Likewise.
6080 (ILL_BADSTK): Likewise.
6081 (FPE_INTDIV): Likewise.
6082 (FPE_INTOVF): Likewise.
6083 (FPE_FLTDIV): Likewise.
6084 (FPE_FLTOVF): Likewise.
6085 (FPE_FLTUND): Likewise.
6086 (FPE_FLTRES): Likewise.
6087 (FPE_FLTINV): Likewise.
6088 (FPE_FLTSUB): Likewise.
6089 (SEGV_MAPERR): Likewise.
6090 (SEGV_ACCERR): Likewise.
6091 (BUS_ADRALN): Likewise.
6092 (BUS_ADRERR): Likewise.
6093 (BUS_OBJERR): Likewise.
6094 (BUS_MCEERR_AR): Likewise.
6095 (BUS_MCEERR_AO): Likewise.
6096 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6097 (TRAP_TRACE): Likewise.
6098 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6100 (CLD_KILLED): Likewise.
6101 (CLD_DUMPED): Likewise.
6102 (CLD_TRAPPED): Likewise.
6103 (CLD_STOPPED): Likewise.
6104 (CLD_CONTINUED): Likewise.
6105 (POLL_IN): Likewise.
6106 (POLL_OUT): Likewise.
6107 (POLL_MSG): Likewise.
6108 (POLL_ERR): Likewise.
6109 (POLL_PRI): Likewise.
6110 (POLL_HUP): Likewise.
6111 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6112 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6115 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6116 before #include of <time.h>.
6117 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6118 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6119 (test-xfail-UNIX98/sched.h/conform): Likewise.
6121 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6123 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6124 error absence of trapping exception support.
6125 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6127 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6129 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6130 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6131 * timezone/Makefile (testdata): Move definition above include of
6133 (test-zones): New variable.
6134 (tests-special): Add zone files.
6135 (build-testdata): Use $(evaluate-test).
6137 * elf/Makefile (tests-special): Rename tests to end with .out.
6138 ($(objpfx)noload-mem): Likewise.
6139 ($(objpfx)tst-leaks1-mem): Likewise.
6140 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6141 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6142 $(objpfx)test-iconvconfig.out.
6143 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6144 set -e inside subshell and redirect output to file.
6145 * iconvdata/Makefile (generated): Rename tests to end with .out.
6147 (tests-special): Rename tests to end with .out.
6148 ($(objpfx)mtrace-tst-loading): Likewise.
6149 * intl/Makefile (generated): Likewise.
6150 (tests-special): Likewise.
6151 ($(objpfx)mtrace-tst-gettext): Likewise.
6152 * misc/Makefile (generated): Likewise.
6153 (tests-special): Likewise.
6154 ($(objpfx)tst-error1-mem): Likewise.
6155 * nptl/Makefile (tests-special): Likewise.
6156 ($(objpfx)tst-stack3-mem): Likewise.
6157 (generated): Likewise.
6158 * posix/Makefile (generated): Likewise.
6159 (tests-special): Likewise.
6160 (xtests-special): Likewise.
6161 ($(objpfx)tst-fnmatch-mem): Likewise.
6162 ($(objpfx)bug-regex2-mem): Likewise.
6163 ($(objpfx)bug-regex14-mem): Likewise.
6164 ($(objpfx)bug-regex21-mem): Likewise.
6165 ($(objpfx)bug-regex31-mem): Likewise.
6166 ($(objpfx)tst-vfork3-mem): Likewise.
6167 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6168 ($(objpfx)tst-pcre-mem): Likewise.
6169 ($(objpfx)tst-boost-mem): Likewise.
6170 ($(objpfx)bug-ga2-mem): Likewise.
6171 ($(objpfx)bug-glob2-mem): Likewise.
6172 * resolv/Makefile (generate): Likewise.
6173 (tests-special): Likewise.
6174 (xtests-special): Likewise.
6175 (generated): Likewise.
6176 ($(objpfx)mtrace-tst-leaks): Likewise.
6177 ($(objpfx)mtrace-tst-leaks2): Likewise.
6179 * scripts/merge-test-results.sh: New file.
6180 * Makefile (tests-special-notdir): New variable.
6181 (tests): Run merge-test-results.sh.
6183 * Rules (tests-special-notdir): New variable.
6184 (xtests-special-notdir): Likewise.
6185 (tests): Run merge-test-results.sh
6188 * Makeconfig (test-xfail-name): New variable.
6189 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6190 compute variable name for expected failures.
6191 * conform/Makefile (conformtest-headers-data): New variable.
6192 (conformtest-standards): Likewise.
6193 (conformtest-headers-ISO): Likewise.
6194 (conformtest-headers-ISO99): Likewise.
6195 (conformtest-headers-ISO11): Likewise.
6196 (conformtest-headers-POSIX): Likewise.
6197 (conformtest-headers-XPG3): Likewise.
6198 (conformtest-headers-XPG4): Likewise.
6199 (conformtest-headers-UNIX98): Likewise.
6200 (conformtest-headers-XOPEN2K): Likewise.
6201 (conformtest-headers-POSIX2008): Likewise.
6202 (conformtest-headers-XOPEN2K8): Likewise.
6203 (conformtest-header-list-base): Likewise.
6204 (conformtest-header-list-tests): Likewise.
6205 (conformtest-header-base): Likewise.
6206 (conformtest-header-tests): Likewise.
6207 (tests-special): Add $(conformtest-header-list-tests). If
6208 [$(fast-check) && !$(cross-compiling)], add
6209 $(conformtest-header-tests) instead of
6210 $(objpfx)run-conformtest.out.
6211 (generated): Add $(conformtest-header-list-base). If
6212 [$(fast-check) && !$(cross-compiling)], add
6213 $(conformtest-header-base). Remove previous setting.
6214 ($(conformtest-header-list-tests)): New target.
6215 (test-xfail-run-conformtest): Remove variable.
6216 ($(objpfx)run-conformtest.out): Remove target.
6217 (test-xfail-ISO11/complex.h/conform): New variable.
6218 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6219 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6220 (test-xfail-XPG3/varargs.h/conform): Likewise.
6221 (test-xfail-XPG4/varargs.h/conform): Likewise.
6222 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6223 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6224 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6225 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6226 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6227 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6228 (test-xfail-XPG3/ftw.h/conform): Likewise.
6229 (test-xfail-XPG3/grp.h/conform): Likewise.
6230 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6231 (test-xfail-XPG3/limits.h/conform): Likewise.
6232 (test-xfail-XPG3/pwd.h/conform): Likewise.
6233 (test-xfail-XPG3/search.h/conform): Likewise.
6234 (test-xfail-XPG3/signal.h/conform): Likewise.
6235 (test-xfail-XPG3/stdio.h/conform): Likewise.
6236 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6237 (test-xfail-XPG3/string.h/conform): Likewise.
6238 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6239 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6240 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6241 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6242 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6243 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6244 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6245 (test-xfail-XPG3/termios.h/conform): Likewise.
6246 (test-xfail-XPG3/time.h/conform): Likewise.
6247 (test-xfail-XPG3/unistd.h/conform): Likewise.
6248 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6249 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6250 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6251 (test-xfail-XPG4/netdb.h/conform): Likewise.
6252 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6253 (test-xfail-XPG4/signal.h/conform): Likewise.
6254 (test-xfail-XPG4/stdio.h/conform): Likewise.
6255 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6256 (test-xfail-XPG4/stropts.h/conform): Likewise.
6257 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6258 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6259 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6260 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6261 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6262 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6263 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6264 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6265 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6266 (test-xfail-XPG4/termios.h/conform): Likewise.
6267 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6268 (test-xfail-XPG4/unistd.h/conform): Likewise.
6269 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6270 (test-xfail-POSIX/sched.h/conform): Likewise.
6271 (test-xfail-POSIX/signal.h/conform): Likewise.
6272 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6273 (test-xfail-POSIX/tar.h/conform): Likewise.
6274 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6275 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6276 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6277 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6278 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6279 (test-xfail-UNIX98/sched.h/conform): Likewise.
6280 (test-xfail-UNIX98/signal.h/conform): Likewise.
6281 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6282 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6283 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6284 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6285 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6286 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6287 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6288 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6289 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6290 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6291 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6292 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6293 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6294 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6295 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6296 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6297 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6298 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6299 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6300 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6301 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6302 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6303 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6304 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6305 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6306 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6307 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6308 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6309 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6310 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6311 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6312 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6313 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6314 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6315 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6316 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6317 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6318 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6319 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6320 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6321 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6322 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6323 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6324 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6325 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6326 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6327 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6328 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6329 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6330 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6331 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6332 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6333 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6334 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6335 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6336 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6337 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6338 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6339 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6340 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6341 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6342 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6343 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6344 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6345 (conformtest-cc-flags): Likewise.
6346 ($(conformtest-header-tests): New target.
6347 * conform/check-header-lists.sh: New file.
6348 * conform/run-conformtest.sh: Remove.
6350 * conform/conformtest.pl: Allow ' and \ in values given for
6352 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6354 [POSIX] (sys/types.h): Likewise.
6355 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6357 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6359 * conform/data/signal.h-data (SIGIO): Remove expectation.
6360 [XPG3] (SIGBUS): Do not expect.
6361 [POSIX || XPG3] (SIGPOLL): Likewise.
6362 [POSIX || XPG3] (SIGPROF): Likewise.
6363 [POSIX || XPG3] (SIGSYS): Likewise.
6364 [XPG3] (SIGTRAP): Likewise.
6365 [POSIX || XPG3] (SIGURG): Likewise.
6366 [POSIX || XPG3] (SIGVTALRM): Likewise.
6367 [POSIX || XPG3] (SIGXCPU): Likewise.
6368 [POSIX || XPG3] (SIGXFSZ): Likewise.
6369 [POSIX] (SA_SIGINFO): Expect.
6370 [XPG3] (siginfo_t): Do not expect type or contents.
6371 [POSIX] (si_pid): Do not expect element.
6372 [POSIX] (si_uid): Likewise.
6373 [POSIX] (si_addr): Likewise.
6374 [POSIX] (si_status): Likewise.
6375 [POSIX] (si_band): Likewise.
6376 [XPG4] (si_value): Likewise.
6377 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6378 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6379 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6380 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6381 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6382 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6383 [POSIX || XPG3] (ILL_COPROC): Likewise.
6384 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6385 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6386 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6387 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6388 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6389 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6390 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6391 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6392 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6393 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6394 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6395 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6396 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6397 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6398 [POSIX || XPG3] (CLD_EXITED): Likewise.
6399 [POSIX || XPG3] (CLD_KILLED): Likewise.
6400 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6401 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6402 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6403 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6404 [POSIX || XPG3] (POLL_IN): Likewise.
6405 [POSIX || XPG3] (POLL_OUT): Likewise.
6406 [POSIX || XPG3] (POLL_MSG): Likewise.
6407 [POSIX || XPG3] (POLL_ERR): Likewise.
6408 [POSIX || XPG3] (POLL_PRI): Likewise.
6409 [POSIX || XPG3] (POLL_HUP): Likewise.
6410 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6411 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6412 (SIG*): Do not allow.
6413 [XPG3] (si_*): Likewise.
6414 [XPG3] (SI_*): Likewise.
6415 [XPG3 || XPG4] (sigev_*): Likewise.
6416 [XPG3 || XPG4] (SIGEV_*): Likewise.
6417 [XPG3 || XPG4] (sival_*): Likewise.
6418 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6419 [POSIX || XPG3] (BUS_*): Likewise.
6420 [POSIX || XPG3] (CLD_*): Likewise.
6421 [POSIX || XPG3] (FPE_*): Likewise.
6422 [POSIX || XPG3] (ILL_*): Likewise.
6423 [POSIX || XPG3] (POLL_*): Likewise.
6424 [POSIX || XPG3] (SEGV_*): Likewise.
6425 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6426 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6427 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6428 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6429 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6430 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6431 Specify type and value.
6432 (TVERSLEN): Likewise.
6433 (REGTYPE): Likewise.
6434 (AREGTYPE): Likewise.
6435 (LNKTYPE): Likewise.
6436 (SYMTYPE): Likewise.
6437 (CHRTYPE): Likewise.
6438 (BLKTYPE): Likewise.
6439 (DIRTYPE): Likewise.
6440 (FIFOTYPE): Likewise.
6441 (CONTTYPE): Likewise.
6446 (TUWRITE): Likewise.
6449 (TGWRITE): Likewise.
6452 (TOWRITE): Likewise.
6454 [POSIX] (TSVTX): Expect constant.
6456 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6458 * Makefile (tests): Change dependencies to ....
6459 (tests-special): ... additions to this variable.
6460 (tests): Depend on $(tests-special).
6461 * Makerules (check-abi-list): New variable.
6462 (check-abi): Depend on $(check-abi-list).
6463 [$(subdir) = elf] (tests-special): Add
6464 $(objpfx)check-abi-libc.out.
6465 [$(build-shared) = yes && subdir] (tests-special): Add
6467 [$(build-shared) = yes && subdir] (tests): Do not depend on
6469 * Rules (tests): Depend on $(tests-special).
6470 (xtests): Depend on $(xtests-special).
6471 * catgets/Makefile (tests): Change dependencies to ....
6472 (tests-special): ... additions to this variable.
6473 * conform/Makefile (tests): Change dependencies to ....
6474 (tests-special): ... additions to this variable.
6475 * elf/Makefile (tests): Change dependencies to ....
6476 (tests-special): ... additions to this variable.
6477 * grp/Makefile (tests): Change dependencies to ....
6478 (tests-special): ... additions to this variable.
6479 * iconv/Makefile (xtests): Change dependencies to ....
6480 (xtests-special): ... additions to this variable.
6481 * iconvdata/Makefile (tests): Change dependencies to ....
6482 (tests-special): ... additions to this variable.
6483 * intl/Makefile (tests): Change dependencies to ....
6484 (tests-special): ... additions to this variable. Also add
6485 $(objpfx)tst-gettext.out.
6486 * io/Makefile (tests): Change dependencies to ....
6487 (tests-special): ... additions to this variable.
6488 * libio/Makefile (tests): Change dependencies to ....
6489 (tests-special): ... additions to this variable.
6490 * malloc/Makefile (tests): Change dependencies to ....
6491 (tests-special): ... additions to this variable.
6492 * misc/Makefile (tests): Change dependencies to ....
6493 (tests-special): ... additions to this variable.
6494 * nptl/Makefile (tests): Change dependencies to ....
6495 (tests-special): ... additions to this variable.
6496 * nptl_db/Makefile (tests): Change dependencies to ....
6497 (tests-special): ... additions to this variable.
6498 * posix/Makefile (tests): Change dependencies to ....
6499 (tests-special): ... additions to this variable.
6500 (xtests): Change dependencies to ....
6501 (xtests-special): ... additions to this variable.
6502 * resolv/Makefile (tests): Change dependencies to ....
6503 (tests-special): ... additions to this variable.
6504 (xtests): Change dependencies to ....
6505 (xtests-special): ... additions to this variable.
6506 * stdio-common/Makefile (tests): Change dependencies to ....
6507 (tests-special): ... additions to this variable.
6508 (do-tst-unbputc): Remove target.
6509 (do-tst-printf): Likewise.
6510 * stdlib/Makefile (tests): Change dependencies to ....
6511 (tests-special): ... additions to this variable.
6512 * string/Makefile (tests): Change dependencies to ....
6513 (tests-special): ... additions to this variable.
6514 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6515 (tests-special): ... additions to this variable.
6517 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6519 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6521 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6522 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6524 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6525 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6526 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6527 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6528 * conform/data/libgen.h-data [XPG3]: Likewise.
6529 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6530 * conform/data/ndbm.h-data [XPG3]: Likewise.
6531 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6532 * conform/data/netdb.h-data [XPG3]: Likewise.
6533 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6534 * conform/data/poll.h-data [XPG3]: Likewise.
6535 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6536 * conform/data/strings.h-data [XPG3]: Likewise.
6537 * conform/data/stropts.h-data [XPG3]: Likewise.
6538 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6539 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6540 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6542 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6543 * conform/data/sys/time.h-data [XPG3]: Likewise.
6544 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6545 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6546 * conform/data/sys/un.h-data [XPG3]: Likewise.
6547 * conform/data/syslog.h-data [XPG3]: Likewise.
6548 * conform/data/ucontext.h-data [XPG3]: Likewise.
6549 * conform/data/utmpx.h-data [XPG3]: Likewise.
6550 * conform/data/varargs.h-data [UNIX98]: Enable file.
6552 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6554 * math/libm-test.inc (struct test_f_f_data): Move expected results
6555 into structure for each rounding mode.
6556 (struct test_ff_f_data): Likewise.
6557 (struct test_ff_f_data_nexttoward): Likewise.
6558 (struct test_fi_f_data): Likewise.
6559 (struct test_fl_f_data): Likewise.
6560 (struct test_if_f_data): Likewise.
6561 (struct test_fff_f_data): Likewise.
6562 (struct test_c_f_data): Likewise.
6563 (struct test_f_f1_data): Likewise.
6564 (struct test_fF_f1_data): Likewise.
6565 (struct test_ffI_f1_data): Likewise.
6566 (struct test_c_c_data): Likewise.
6567 (struct test_cc_c_data): Likewise.
6568 (struct test_f_i_data): Likewise.
6569 (struct test_ff_i_data): Likewise.
6570 (struct test_f_l_data): Likewise.
6571 (struct test_f_L_data): Likewise.
6572 (struct test_fFF_11_data): Likewise.
6574 (RM_FE_DOWNWARD): Likewise.
6575 (RM_FE_TONEAREST): Likewise.
6576 (RM_FE_TOWARDZERO): Likewise.
6577 (RM_FE_UPWARD): Likewise.
6578 (RUN_TEST_LOOP_f_f): Update references to expected results.
6579 (RUN_TEST_LOOP_2_f): Likewise.
6580 (RUN_TEST_LOOP_fff_f): Likewise.
6581 (RUN_TEST_LOOP_c_f): Likewise.
6582 (RUN_TEST_LOOP_f_f1): Likewise.
6583 (RUN_TEST_LOOP_fF_f1): Likewise.
6584 (RUN_TEST_LOOP_fI_f1): Likewise.
6585 (RUN_TEST_LOOP_ffI_f1): Likewise.
6586 (RUN_TEST_LOOP_c_c): Likewise.
6587 (RUN_TEST_LOOP_cc_c): Likewise.
6588 (RUN_TEST_LOOP_f_i): Likewise.
6589 (RUN_TEST_LOOP_f_i_tg): Likewise.
6590 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6591 (RUN_TEST_LOOP_f_b): Likewise.
6592 (RUN_TEST_LOOP_f_b_tg): Likewise.
6593 (RUN_TEST_LOOP_f_l): Likewise.
6594 (RUN_TEST_LOOP_f_L): Likewise.
6595 (RUN_TEST_LOOP_fFF_11): Likewise.
6596 * math/gen-libm-test.pl (parse_args): Output four copies of
6597 expected results for each test.
6599 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6600 (__ASSUME_UTIMES): Remove.
6601 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6602 (__ASSUME_UTIMES): Likewise.
6604 * math/gen-auto-libm-tests.c: Update comment on output format.
6605 (output_for_one_input_case): Generate before-rounding and
6606 after-rounding information as conditions on output flags not
6607 floating-point format.
6608 * math/auto-libm-test-out: Regenerated.
6609 * math/gen-libm-test.pl (cond_value): New function.
6610 (or_cond_value): Use cond_value.
6611 (generate_testfile): Handle conditional exceptions.
6613 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6615 * math/libm-test.inc (max_valid_error): New variable.
6616 (init_max_error): Take new argument specifying whether function
6617 results are exactly determined. Set max_valid_error and bound
6618 other variables for errors based on this argument.
6619 (set_max_error): Do not record results above max_valid_error.
6620 (check_float_internal): Only accept errors of up to 0.5ulps if
6621 also at most max_valid_error.
6622 (START): Take new argument EXACT and pass it to init_max_error.
6623 (acos_test): Update call to START.
6624 (acos_test_tonearest): Likewise.
6625 (acos_test_towardzero): Likewise.
6626 (acos_test_downward): Likewise.
6627 (acos_test_upward): Likewise.
6628 (acosh_test): Likewise.
6629 (asin_test): Likewise.
6630 (asin_test_tonearest): Likewise.
6631 (asin_test_towardzero): Likewise.
6632 (asin_test_downward): Likewise.
6633 (asin_test_upward): Likewise.
6634 (asinh_test): Likewise.
6635 (atan_test): Likewise.
6636 (atanh_test): Likewise.
6637 (atan2_test): Likewise.
6638 (cabs_test): Likewise.
6639 (cacos_test): Likewise.
6640 (cacosh_test): Likewise.
6641 (carg_test): Likewise.
6642 (casin_test): Likewise.
6643 (casinh_test): Likewise.
6644 (catan_test): Likewise.
6645 (catanh_test): Likewise.
6646 (cbrt_test): Likewise.
6647 (ccos_test): Likewise.
6648 (ccosh_test): Likewise.
6649 (ceil_test): Likewise.
6650 (cexp_test): Likewise.
6651 (cimag_test): Likewise.
6652 (clog_test): Likewise.
6653 (clog10_test): Likewise.
6654 (conj_test): Likewise.
6655 (copysign_test): Likewise.
6656 (cos_test): Likewise.
6657 (cos_test_tonearest): Likewise.
6658 (cos_test_towardzero): Likewise.
6659 (cos_test_downward): Likewise.
6660 (cos_test_upward): Likewise.
6661 (cosh_test): Likewise.
6662 (cosh_test_tonearest): Likewise.
6663 (cosh_test_towardzero): Likewise.
6664 (cosh_test_downward): Likewise.
6665 (cosh_test_upward): Likewise.
6666 (cpow_test): Likewise.
6667 (cproj_test): Likewise.
6668 (creal_test): Likewise.
6669 (csin_test): Likewise.
6670 (csinh_test): Likewise.
6671 (csqrt_test): Likewise.
6672 (ctan_test): Likewise.
6673 (ctan_test_tonearest): Likewise.
6674 (ctan_test_towardzero): Likewise.
6675 (ctan_test_downward): Likewise.
6676 (ctan_test_upward): Likewise.
6677 (ctanh_test): Likewise.
6678 (ctanh_test_tonearest): Likewise.
6679 (ctanh_test_towardzero): Likewise.
6680 (ctanh_test_downward): Likewise.
6681 (ctanh_test_upward): Likewise.
6682 (erf_test): Likewise.
6683 (erfc_test): Likewise.
6684 (exp_test): Likewise.
6685 (exp_test_tonearest): Likewise.
6686 (exp_test_towardzero): Likewise.
6687 (exp_test_downward): Likewise.
6688 (exp_test_upward): Likewise.
6689 (exp10_test): Likewise.
6690 (exp10_test_tonearest): Likewise.
6691 (exp10_test_towardzero): Likewise.
6692 (exp10_test_downward): Likewise.
6693 (exp10_test_upward): Likewise.
6694 (pow10_test): Likewise.
6695 (exp2_test): Likewise.
6696 (expm1_test): Likewise.
6697 (expm1_test_tonearest): Likewise.
6698 (expm1_test_towardzero): Likewise.
6699 (expm1_test_downward): Likewise.
6700 (expm1_test_upward): Likewise.
6701 (fabs_test): Likewise.
6702 (fdim_test): Likewise.
6703 (floor_test): Likewise.
6704 (fma_test): Likewise.
6705 (fma_test_towardzero): Likewise.
6706 (fma_test_downward): Likewise.
6707 (fma_test_upward): Likewise.
6708 (fmax_test): Likewise.
6709 (fmin_test): Likewise.
6710 (fmod_test): Likewise.
6711 (fpclassify_test): Likewise.
6712 (frexp_test): Likewise.
6713 (hypot_test): Likewise.
6714 (ilogb_test): Likewise.
6715 (isfinite_test): Likewise.
6716 (finite_test): Likewise.
6717 (isgreater_test): Likewise.
6718 (isgreaterequal_test): Likewise.
6719 (isinf_test): Likewise.
6720 (isless_test): Likewise.
6721 (islessequal_test): Likewise.
6722 (islessgreater_test): Likewise.
6723 (isnan_test): Likewise.
6724 (isnormal_test): Likewise.
6725 (issignaling_test): Likewise.
6726 (isunordered_test): Likewise.
6727 (j0_test): Likewise.
6728 (j1_test): Likewise.
6729 (jn_test): Likewise.
6730 (ldexp_test): Likewise.
6731 (lgamma_test): Likewise.
6732 (gamma_test): Likewise.
6733 (lrint_test): Likewise.
6734 (lrint_test_tonearest): Likewise.
6735 (lrint_test_towardzero): Likewise.
6736 (lrint_test_downward): Likewise.
6737 (lrint_test_upward): Likewise.
6738 (llrint_test): Likewise.
6739 (llrint_test_tonearest): Likewise.
6740 (llrint_test_towardzero): Likewise.
6741 (llrint_test_downward): Likewise.
6742 (llrint_test_upward): Likewise.
6743 (log_test): Likewise.
6744 (log10_test): Likewise.
6745 (log1p_test): Likewise.
6746 (log2_test): Likewise.
6747 (logb_test): Likewise.
6748 (logb_test_downward): Likewise.
6749 (lround_test): Likewise.
6750 (llround_test): Likewise.
6751 (modf_test): Likewise.
6752 (nearbyint_test): Likewise.
6753 (nextafter_test): Likewise.
6754 (nexttoward_test): Likewise.
6755 (pow_test): Likewise.
6756 (pow_test_tonearest): Likewise.
6757 (pow_test_towardzero): Likewise.
6758 (pow_test_downward): Likewise.
6759 (pow_test_upward): Likewise.
6760 (remainder_test): Likewise.
6761 (drem_test): Likewise.
6762 (remainder_test_tonearest): Likewise.
6763 (drem_test_tonearest): Likewise.
6764 (remainder_test_towardzero): Likewise.
6765 (drem_test_towardzero): Likewise.
6766 (remainder_test_downward): Likewise.
6767 (drem_test_downward): Likewise.
6768 (remainder_test_upward): Likewise.
6769 (drem_test_upward): Likewise.
6770 (remquo_test): Likewise.
6771 (rint_test): Likewise.
6772 (rint_test_tonearest): Likewise.
6773 (rint_test_towardzero): Likewise.
6774 (rint_test_downward): Likewise.
6775 (rint_test_upward): Likewise.
6776 (round_test): Likewise.
6777 (scalb_test): Likewise.
6778 (scalbn_test): Likewise.
6779 (scalbln_test): Likewise.
6780 (signbit_test): Likewise.
6781 (sin_test): Likewise.
6782 (sin_test_tonearest): Likewise.
6783 (sin_test_towardzero): Likewise.
6784 (sin_test_downward): Likewise.
6785 (sin_test_upward): Likewise.
6786 (sincos_test): Likewise.
6787 (sinh_test): Likewise.
6788 (sinh_test_tonearest): Likewise.
6789 (sinh_test_towardzero): Likewise.
6790 (sinh_test_downward): Likewise.
6791 (sinh_test_upward): Likewise.
6792 (sqrt_test): Likewise.
6793 (sqrt_test_tonearest): Likewise.
6794 (sqrt_test_towardzero): Likewise.
6795 (sqrt_test_downward): Likewise.
6796 (sqrt_test_upward): Likewise.
6797 (tan_test): Likewise.
6798 (tan_test_tonearest): Likewise.
6799 (tan_test_towardzero): Likewise.
6800 (tan_test_downward): Likewise.
6801 (tan_test_upward): Likewise.
6802 (tanh_test): Likewise.
6803 (tgamma_test): Likewise.
6804 (trunc_test): Likewise.
6805 (y0_test): Likewise.
6806 (y1_test): Likewise.
6807 (yn_test): Likewise.
6808 (significand_test): Likewise.
6810 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6811 individual tests in comment.
6812 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6813 (prev_max_error): New variable.
6814 (prev_real_max_error): Likewise.
6815 (prev_imag_max_error): Likewise.
6816 (compare_ulp_data): Don't refer to test names in comment.
6817 (find_test_ulps): Remove function.
6818 (find_function_ulps): Likewise.
6819 (find_complex_function_ulps): Likewise.
6820 (init_max_error): Take function name as argument. Look up ulps
6822 (print_ulps): Remove function.
6823 (print_max_error): Use prev_max_error instead of calling
6825 (print_complex_max_error): Use prev_real_max_error and
6826 prev_imag_max_error instead of calling find_complex_function_ulps.
6827 (check_float_internal): Take max_ulp parameter instead of calling
6828 find_test_ulps. Don't call print_ulps.
6829 (check_float): Update call to check_float_internal.
6830 (check_complex): Update calls to check_float_internal.
6831 (START): Pass argument to init_max_error.
6832 * math/gen-libm-test.pl (%results): Don't include "kind"
6834 (parse_ulps): Don't handle ulps of individual tests.
6835 (print_ulps_file): Likewise.
6836 (output_ulps): Likewise.
6837 * math/README.libm-test: Update.
6838 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6840 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6841 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6842 * sysdeps/arm/libm-test-ulps: Likewise.
6843 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6844 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6845 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6846 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6847 * sysdeps/microblaze/libm-test-ulps: Likewise.
6848 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6849 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6851 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6852 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6853 * sysdeps/sh/libm-test-ulps: Likewise.
6854 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6855 * sysdeps/tile/libm-test-ulps: Likewise.
6856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6858 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6860 * math/libm-test.inc (print_complex_max_error): Check separately
6861 whether real and imaginary errors are within allowed range and
6862 pass 0 to print_complex_function_ulps instead of value within
6865 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6867 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6869 (get_handles_fopen): Likewise.
6870 (do_write_test): Likewise.
6872 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6874 * libio/fileops.c (do_ftell): Use cached offset when
6876 * libio/iofwide.c (do_ftell_wide): Likewise.
6877 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6879 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6882 * libio/libioP.h (get_file_offset): New function.
6883 * libio/fileops.c (get_file_offset): Likewise.
6884 (do_ftell): Likewise.
6885 (_IO_new_file_seekoff): Split out ftell logic.
6886 * libio/wfileops.c (do_ftell_wide): Likewise.
6887 (_IO_wfile_seekoff): Split out ftell logic.
6888 * libio/tst-ftell-active-handler.c: New test case.
6889 * libio/Makefile (tests): Add it.
6891 2014-03-03 Roland McGrath <roland@hack.frob.com>
6893 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6894 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6896 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6899 * nscd/connections.c (nscd_init): Call do_exit.
6900 (start_threads): Call do_exit and notify_parent.
6901 (begin_drop_privileges): Call do_exit.
6902 (finish_drop_privileges): Likewise.
6903 * nscd/selinux.c (preserve_capabilities): Likewise.
6904 (install_real_capabilities): Likewise.
6905 (nscd_selinux_enabled): Likewise.
6906 (avc_create_thread): Likewise.
6907 (avc_alloc_lock): Likewise.
6908 (nscd_avc_init): Likewise.
6909 * nscd/nscd.c (parent_fd): New static variable.
6910 (main): Create a pipe between parent and child processes.
6911 Skip closing parent_fd.
6912 (monitor_child): New function.
6913 (do_exit): Likewise.
6914 (notify_parent): Likewise.
6915 * nscd/nscd.h (notify_parent): Likewise.
6916 (do_exit): Likewise.
6918 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6920 * malloc/malloc.c (__libc_calloc): Revert last change.
6922 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6926 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6928 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6932 (__libc_ifunc_impl_list): Likewise.
6933 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6934 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6935 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6936 * string/strrchr.c: Define STRRCHR.
6938 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6940 * benchtest/bench-strtok.c (simple_strtok): Delete.
6941 (strtok_string): Use as benchmark.
6942 * string/strtok (STRTOK): New macro.
6944 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6946 * manual/threads.texi: Add header and standard comments to all
6949 * elf/dl-lookup.c (check_match): New function.
6950 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6951 (do_lookup_x): Remove nested function check_match. Use non-nested
6952 function check_match.
6954 2014-02-28 Roland McGrath <roland@hack.frob.com>
6956 * csu/Makefile (generated, before-compile): Use += rather than =.
6957 * catgets/Makefile (generated, generated-dirs): Likewise.
6958 * debug/Makefile (generated): Likewise.
6959 * dlfcn/Makefile (generated): Likewise.
6960 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6961 * iconvdata/Makefile (before-compile, generated): Likewise.
6962 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6963 * libio/Makefile (generated): Likewise.
6964 * malloc/Makefile (generated): Likewise.
6965 * manual/Makefile (generated, generated-dirs): Likewise.
6966 * misc/Makefile (generated): Likewise.
6967 * posix/Makefile (generated): Likewise.
6968 * resolv/Makefile (generated): Likewise.
6969 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6970 * timezone/Makefile (generated, generated-dirs): Likewise.
6972 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6974 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6977 power8 implementation.
6978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6979 file: POWER8 llround ifunc implementation.
6980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6981 (__lllround): Add POWER8 implementation.
6982 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6983 POWER8 llround implementation.
6985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6986 power8 implementation.
6987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6988 file: POWER8 llrint ifunc implementation.
6989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6990 Add POWER8 implementation.
6991 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6992 POWER8 llrint implementation.
6994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6995 power8 implementation.
6996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6997 file: POWER8 finite ifunc implementation.
6998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6999 Add POWER8 implementation.
7000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7002 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7003 POWER8 finite implementation.
7004 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7007 power8 implementation.
7008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7009 file: POWER8 isinf ifunc implementation.
7010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7011 POWER8 implementation.
7012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7014 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7015 isinf implementation.
7016 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7019 (INIT_ARCH): Add hwcap2 initialization.
7020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7021 power8 implementation.
7022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7023 file: POWER8 isnan ifunc implementation.
7024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7025 POWER8 implementation.
7026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7029 isnan implementation.
7030 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7032 2014-02-27 Joey Ye <joey.ye@arm.com>
7034 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7035 (_FP_NANFRAC_Q): Set to zero.
7037 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7040 * math/auto-libm-test-in: New test inputs.
7041 * math/auto-libm-test-out: Regenerate.
7042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7045 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7047 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7049 * scripts/evaluate-test.sh: Take new argument indicating whether
7050 failure is expected.
7051 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7052 indicating whether failure is expected.
7053 * conform/Makefile (test-xfail-run-conformtest): New variable.
7054 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7056 * posix/Makefile (test-xfail-annexc): New variable.
7057 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7059 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7061 * argp/Makefile: Include Makeconfig immediately after defining
7063 * assert/Makefile: Likewise.
7064 * benchtests/Makefile: Likewise.
7065 * catgets/Makefile: Likewise.
7066 * conform/Makefile: Likewise.
7067 * crypt/Makefile: Likewise.
7068 * csu/Makefile: Likewise.
7069 (all): Remove target.
7070 * ctype/Makefile: Include Makeconfig immediately after defining
7072 * debug/Makefile: Likewise.
7073 * dirent/Makefile: Likewise.
7074 * dlfcn/Makefile: Likewise.
7075 * gmon/Makefile: Likewise.
7076 * gnulib/Makefile: Likewise.
7077 * grp/Makefile: Likewise.
7078 * gshadow/Makefile: Likewise.
7079 * hesiod/Makefile: Likewise.
7080 * hurd/Makefile: Likewise.
7081 (all): Remove target.
7082 * iconvdata/Makefile: Include Makeconfig immediately after
7084 * inet/Makefile: Likewise.
7085 * intl/Makefile: Likewise.
7086 * io/Makefile: Likewise.
7087 * libio/Makefile: Likewise.
7088 (all): Remove target.
7089 * locale/Makefile: Include Makeconfig immediately after defining
7091 * login/Makefile: Likewise.
7092 * mach/Makefile: Likewise.
7093 (all): Remove target.
7094 * malloc/Makefile: Include Makeconfig immediately after defining
7096 (all): Remove target.
7097 * manual/Makefile: Include Makeconfig immediately after defining
7099 * math/Makefile: Likewise.
7100 * misc/Makefile: Likewise.
7101 * nis/Makefile: Likewise.
7102 * nss/Makefile: Likewise.
7103 * po/Makefile: Likewise.
7104 (all): Remove target.
7105 * posix/Makefile: Include Makeconfig immediately after defining
7107 * pwd/Makefile: Likewise.
7108 * resolv/Makefile: Likewise.
7109 * resource/Makefile: Likewise.
7110 * rt/Makefile: Likewise.
7111 * setjmp/Makefile: Likewise.
7112 * shadow/Makefile: Likewise.
7113 * signal/Makefile: Likewise.
7114 * socket/Makefile: Likewise.
7115 * soft-fp/Makefile: Likewise.
7116 * stdio-common/Makefile: Likewise.
7117 * stdlib/Makefile: Likewise.
7118 * streams/Makefile: Likewise.
7119 * string/Makefile: Likewise.
7120 * sunrpc/Makefile: Likewise.
7121 (all): Remove target.
7122 * sysvipc/Makefile: Include Makeconfig immediately after defining
7124 * termios/Makefile: Likewise.
7125 * time/Makefile: Likewise.
7126 * timezone/Makefile: Likewise.
7127 (all): Remove target.
7128 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7130 * wctype/Makefile: Likewise.
7132 2014-02-26 Steve Ellcey <sellcey@mips.com>
7134 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7135 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7136 (libc_feholdexcept_setround_mips): Ditto.
7137 (libc_feholdsetround): New.
7138 (libc_feholdsetroundf): New.
7139 (libc_feholdsetroundl): New.
7140 (libc_feupdateenv_test_mips): New.
7141 (libc_feupdateenv_test): New.
7142 (libc_feupdateenv_testf): New.
7143 (libc_feupdateenv_testl): New.
7144 (libc_feresetround): New.
7145 (libc_feresetroundf): New.
7146 (libc_feresetroundl): New.
7147 (libc_fetestexcept_mips): New.
7148 (libc_fetestexcept): New.
7149 (libc_fetestexceptf): New.
7150 (libc_fetestexceptl): New.
7152 (libc_feholdexcept_setround_mips_ctx): New.
7153 (libc_feholdexcept_setround_ctx): New.
7154 (libc_feholdexcept_setroundf_ctx): New.
7155 (libc_feholdexcept_setroundl_ctx): New.
7156 (libc_fesetenv_mips_ctx): New.
7157 (libc_fesetenv_ctx): New.
7158 (libc_fesetenv_ctxf): New.
7159 (libc_fesetenv_ctxl): New.
7160 (libc_feupdateenv_mips_ctx): New.
7161 (libc_feupdateenv_ctx): New.
7162 (libc_feupdateenvf_ctx): New.
7163 (libc_feupdateenvl_ctx): New.
7164 (libc_feholdsetround_mips_ctx): New.
7165 (libc_feholdsetround_ctx): New.
7166 (libc_feholdsetroundf_ctx): New.
7167 (libc_feholdsetroundl_ctx): New.
7168 (libc_feresetround_mips_ctx): New.
7169 (libc_feresetround_ctx): New.
7170 (libc_feresetroundf_ctx): New.
7171 (libc_feresetroundl_ctx): New.
7173 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7175 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7177 * manual/ipc.texi: New file.
7178 * manual/Makefile (chapters): Add ipc.
7179 * manual/job.texi: Add "Inter-Process Communication" to next.
7180 * manual/process.texi: Add "Inter-Process Communication" to prev.
7182 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7186 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7188 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7190 * manual/arith.texi: Fix spaces after sentences.
7191 * manual/charset.texi: Likewise.
7192 * manual/errno.texi: Likewise.
7193 * manual/install.texi: Likewise.
7194 * manual/llio.texi: Likewise.
7195 * manual/locale.texi: Likewise.
7196 * manual/maint.texi: Likewise.
7197 * manual/math.texi: Likewise.
7198 * manual/memory.texi: Likewise.
7199 * manual/message.texi: Likewise.
7200 * manual/probes.texi: Likewise.
7201 * manual/resource.texi: Likewise.
7202 * manual/signal.texi: Likewise.
7203 * manual/socket.texi: Likewise.
7204 * manual/stdio.texi: Likewise.
7205 * manual/string.texi: Likewise.
7206 * manual/time.texi: Likewise.
7207 * manual/users.texi: Likewise.
7209 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7212 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7213 _DEFAULT_SOURCE is defined.
7215 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7216 Carlos O'Donell <carlos@redhat.com>
7219 * elf/dl-tls.c (_dl_count_modids): New function.
7220 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7221 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7222 audit library and increment generation counter.
7223 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7224 * elf/tst-audit9.c: New file.
7225 * elf/tst-auditmod9a.c: New file.
7226 * elf/tst-auditmod9b.c: New file.
7227 * elf/Makefile: Add rules to build and run tst-audit9.
7229 2014-02-25 Florian Weimer <fweimer@redhat.com>
7232 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7234 2014-02-25 Will Newton <will.newton@linaro.org>
7236 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7237 (__longjmp): Restore sp and lr before restoring callee
7238 saved registers. Add longjmp and longjmp_target
7239 SystemTap probe point.
7240 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7241 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7242 Define to zero to match jmpbuf layout.
7243 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7244 (__sigsetjmp): Save sp and lr before saving callee
7245 saved registers. Add setjmp SystemTap probe point.
7247 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7249 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7251 2014-02-24 Andreas Schwab <schwab@suse.de>
7254 * elf/pldd.c (wait_for_ptrace_stop): New function.
7255 (main): Call it after attaching.
7257 2014-02-22 Roland McGrath <roland@hack.frob.com>
7259 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7260 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7261 Versions files is now verboten.
7262 * hurd/Versions (libc: GLIBC_2.0):
7263 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7264 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7265 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7266 * mach/Versions: Likewise.
7268 * csu/Versions: Remove unused %include.
7269 * resolv/Versions: Likewise.
7271 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7273 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7274 ($(objpfx)check-local-headers.out): Likewise.
7275 ($(objpfx)begin-end-check.out): Likewise.
7276 * Makerules (check-abi-%.out): Likewise.
7277 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7278 ($(objpfx)test2.cat): Likewise.
7279 ($(objpfx)de/libc.cat): Likewise.
7280 ($(objpfx)test-gencat.out): Likewise.
7281 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7282 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7283 ($(objpfx)noload-mem): Likewise.
7284 ($(objpfx)tst-pathopt.out): Likewise.
7285 ($(objpfx)tst-rtld-load-self.out): Likewise.
7286 ($(objpfx)tst-array1-cmp.out): Likewise.
7287 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7288 ($(objpfx)tst-array2-cmp.out): Likewise.
7289 ($(objpfx)tst-array3-cmp.out): Likewise.
7290 ($(objpfx)tst-array4-cmp.out): Likewise.
7291 ($(objpfx)tst-array5-cmp.out): Likewise.
7292 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7293 ($(objpfx)check-textrel.out): Likewise.
7294 ($(objpfx)check-execstack.out): Likewise.
7295 ($(objpfx)check-localplt.out): Likewise.
7296 ($(objpfx)order2-cmp.out): Likewise.
7297 ($(objpfx)tst-leaks1-mem): Likewise.
7298 ($(objpfx)tst-leaks1-static-mem): Likewise.
7299 ($(objpfx)tst-initorder-cmp.out): Likewise.
7300 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7301 ($(objpfx)tst-unused-dep.out): Likewise.
7302 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7303 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7304 * iconv/Makefile (test-iconvconfig): Likewise.
7305 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7306 ($(objpfx)iconv-test.out): Likewise.
7307 ($(objpfx)tst-tables.out): Likewise.
7308 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7309 ($(objpfx)tst-gettext.out): Likewise.
7310 ($(objpfx)tst-translit.out): Likewise.
7311 ($(objpfx)tst-gettext2.out): Likewise.
7312 ($(objpfx)tst-gettext4.out): Likewise.
7313 ($(objpfx)tst-gettext6.out): Likewise.
7314 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7315 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7316 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7317 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7318 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7319 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7320 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7321 ($(objpfx)wordexp-tst.out): Likewise.
7322 ($(objpfx)annexc.out): Likewise.
7323 ($(objpfx)tst-fnmatch-mem): Likewise.
7324 ($(objpfx)bug-regex2-mem): Likewise.
7325 ($(objpfx)bug-regex14-mem): Likewise.
7326 ($(objpfx)bug-regex21-mem): Likewise.
7327 ($(objpfx)bug-regex31-mem): Likewise.
7328 ($(objpfx)tst-vfork3-mem): Likewise.
7329 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7330 ($(objpfx)tst-pcre-mem): Likewise.
7331 ($(objpfx)tst-boost-mem): Likewise.
7332 ($(objpfx)tst-getconf.out): Likewise.
7333 ($(objpfx)bug-ga2-mem): Likewise.
7334 ($(objpfx)bug-glob2-mem): Likewise.
7335 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7336 ($(objpfx)mtrace-tst-leaks2): Likewise.
7337 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7338 ($(objpfx)tst-printf.out): Likewise.
7339 ($(objpfx)tst-setvbuf1.out): Likewise.
7340 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7341 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7342 ($(objpfx)tst-fmtmsg.out): Likewise.
7343 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7344 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7346 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7347 * bits/sigaction.h [__USE_MISC]: Likewise.
7348 * bits/waitstatus.h: Update #endif comments.
7349 * ctype/ctype.h: Likewise.
7350 * dirent/dirent.h: Likewise.
7351 [__USE_MISC]: Remove redundant conditionals.
7352 * grp/grp.h: Update #endif comments.
7353 [__USE_GNU]: Remove redundant conditionals.
7354 [__USE_MISC]: Likewise.
7355 * inet/netinet/in.h [__USE_GNU]: Likewise.
7356 * io/sys/stat.h [__USE_MISC]: Likewise.
7357 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7358 * libio/bits/stdio.h: Update #endif comments.
7359 [__USE_MISC]: Remove redundant conditionals.
7360 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7361 * libio/stdio.h: Update #endif comments.
7362 [__USE_MISC]: Remove redundant conditionals.
7363 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7364 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7365 * math/math.h: Update #else and #endif comments.
7366 [__USE_MISC]: Remove redundant conditionals.
7367 * misc/sys/uio.h: Update #endif comments.
7368 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7369 * posix/glob.h [__USE_MISC]: Likewise.
7370 * posix/sys/types.h: Update #endif comments.
7371 [__USE_MISC]: Remove redundant conditionals.
7372 * posix/sys/wait.h: Update #endif comments.
7373 [__USE_MISC]: Remove redundant conditionals.
7374 * posix/unistd.h: Update #endif comments.
7375 [__USE_MISC]: Remove redundant conditionals.
7376 * pwd/pwd.h [__USE_GNU]: Likewise.
7377 [__USE_MISC]: Likewise.
7378 * resolv/netdb.h [__USE_GNU]: Likewise.
7379 * signal/signal.h: Update #endif comments.
7380 [__USE_MISC]: Remove redundant conditionals.
7381 * stdlib/stdlib.h: Update #else and #endif comments.
7382 [__USE_MISC]: Remove redundant conditionals.
7383 [__USE_GNU]: Likewise.
7384 * string/bits/string2.h [__USE_MISC]: Likewise.
7385 * string/string.h: Update #endif comments.
7386 [__USE_MISC]: Remove redundant conditionals.
7387 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7389 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7390 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7391 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7393 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7397 [__USE_MISC]: Remove redundant conditionals.
7398 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7399 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7400 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7401 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7402 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7404 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7405 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7407 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7408 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7410 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7412 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7413 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7415 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7417 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7418 * sysdeps/x86/bits/string.h: Update #endif comments.
7419 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7421 * time/sys/time.h: Update #endif comments.
7422 * time/time.h: Likewise.
7423 [__USE_MISC]: Remove redundant conditionals.
7425 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7428 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7430 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7432 * Versions.def (librt): Add GLIBC_2.17.
7434 2014-02-21 Adam Conrad <adconrad@0c3.net>
7436 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7437 synonym for _SYS_AUXV_H to allow direct inclusion.
7438 * sysdeps/sparc/bits/hwcap.h: Likewise.
7439 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7440 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7441 * sysdeps/sparc/sysdep.h: Likewise.
7443 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7445 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7447 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7449 * benchtests/bench-strrchr.c: Print length instead of position.
7451 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7454 * sysdeps/unix/sysv/linux/kernel-features.h
7455 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7456 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7457 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7458 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7460 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7461 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7462 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7463 (__ASSUME_SENDMMSG): Define instead of using previous
7464 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7465 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7466 (__ASSUME_SENDMMSG_SYSCALL): Define.
7467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7468 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7470 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7471 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7473 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7474 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7476 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7477 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7478 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7479 [__ASSUME_SENDMMSG]: Change conditionals to
7480 [__ASSUME_SENDMMSG_SOCKETCALL].
7481 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7482 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7484 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7485 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7487 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7488 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7489 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7490 [!__ASSUME_SENDMMSG]: Change conditional to
7491 [!__ASSUME_SENDMMSG_SOCKETCALL].
7492 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7493 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7497 * sysdeps/unix/sysv/linux/kernel-features.h
7498 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7499 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7500 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7501 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7502 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7503 [__i386__ || __sparc__]
7504 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7505 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7506 (__ASSUME_RECVMMSG): Define instead of using previous
7507 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7508 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7509 (__ASSUME_RECVMMSG_SYSCALL): Define.
7510 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7511 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7513 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7514 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7516 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7517 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7519 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7520 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7521 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7522 [__ASSUME_RECVMMSG]: Change condition to
7523 [__ASSUME_RECVMMSG_SOCKETCALL].
7524 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7525 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7527 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7528 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7529 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7531 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7532 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7533 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7534 [!__ASSUME_RECVMMSG]: Change condition to
7535 [!__ASSUME_RECVMMSG_SOCKETCALL].
7536 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7537 (__ASSUME_RECVMMSG_SYSCALL): Define.
7540 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7541 __powerpc__ || __s390__ || __sh__ || __sparc__]
7542 (__ASSUME_SOCKETCALL): Define.
7543 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7544 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7545 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7546 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7547 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7548 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7549 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7550 (__ASSUME_ACCEPT4): Define instead of using previous
7551 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7552 __powerpc__ || __sparc__ || __s390__)] condition.
7553 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7554 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7555 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7556 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7557 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7558 [!__ASSUME_ACCEPT4]: Change condition to
7559 [!__ASSUME_ACCEPT4_SOCKETCALL].
7560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7561 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7562 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7564 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7565 __ASSUME_ACCEPT4_SYSCALL.
7566 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7567 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7568 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7569 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7570 __ASSUME_ACCEPT4_SYSCALL.
7571 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7572 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7573 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7574 [__ASSUME_ACCEPT4]: Change condition to
7575 [__ASSUME_ACCEPT4_SOCKETCALL].
7576 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7577 (__ASSUME_SOCKETCALL): Define.
7578 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7580 (__ASSUME_SOCKETCALL): Define.
7581 (__ASSUME_ACCEPT4): Remove.
7582 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7584 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7585 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7587 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7588 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7590 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7592 (HWCAP_ARM_LPAE): Likewise.
7593 (HWCAP_ARM_EVTSTRM): Likewise.
7594 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7595 Add vpfd32, lpae and evtstrm.
7596 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7599 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7601 * math/auto-libm-test-in: Add tests of clog10.
7602 * math/auto-libm-test-out: Regenerated.
7603 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7607 2014-02-18 Andreas Schwab <schwab@suse.de>
7610 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7611 Store non-zero if the second buffer was newly allocated.
7612 (send_dg): Likewise.
7613 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7614 to send_vc and send_dg.
7615 (res_nsend): Pass NULL for ansp2_malloced.
7616 * resolv/res_query.c (__libc_res_nquery): Add parameter
7617 answerp2_malloced and pass it down to __libc_res_nsend.
7618 (res_nquery): Pass additional NULL to __libc_res_nquery.
7619 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7620 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7621 second answer buffer if answerp2_malloced was set.
7622 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7623 (__libc_res_nquerydomain): Add parameter
7624 answerp2_malloced and pass it down to __libc_res_nquery.
7625 (res_nquerydomain): Pass additional NULL to
7626 __libc_res_nquerydomain.
7627 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7628 additional NULL to __libc_res_nsend and __libc_res_nquery.
7629 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7630 additional NULL to __libc_res_nsearch.
7631 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7632 parameter of __libc_res_nsearch to check for separately allocated
7634 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7636 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7637 additional NULL to __libc_res_nquery.
7638 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7640 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7641 * include/resolv.h: Update prototypes of __libc_res_nquery,
7642 __libc_res_nsearch, __libc_res_nsend.
7644 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7646 * math/auto-libm-test-in: Add tests of fma.
7647 * math/auto-libm-test-out: Regenerated.
7648 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7649 (fma_towardzero_test_data): Likewise.
7650 (fma_downward_test_data): Likewise.
7651 (fma_upward_test_data): Likewise.
7652 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7654 (rounding_modes): Add values for new field.
7655 (func_calc_method): Add value mpfr_fff_f.
7656 (func_calc_desc): Add mpfr_fff_f union field.
7657 (test_function): Add field exact_args.
7658 (FUNC): Add macro argument EXACT_ARGS.
7659 (FUNC_mpfr_f_f): Update call to FUNC.
7660 (FUNC_mpfr_f_f): Likewise.
7661 (FUNC_mpfr_ff_f): Likewise.
7662 (FUNC_mpfr_if_f): Likewise.
7663 (FUNC_mpc_c_f): Likewise.
7664 (FUNC_mpc_c_c): Likewise.
7665 (test_functions): Add fma. Update calls to FUNC.
7666 (handle_input_arg): Add argument exact_args.
7667 (add_test): Update call to handle_input_arg.
7668 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7669 (output_for_one_input_case): Update call to calc_generic_results.
7670 Recalculate exact zero results in each rounding mode.
7672 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7673 non-negative before setting low bit.
7674 * math/auto-libm-test-in: Mark one asin test possibly having
7676 * math/auto-libm-test-out: Regenerated.
7677 * sysdeps/i386/fpu/libm-test-ulps: Update.
7678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7680 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7682 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7683 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7684 ports/sysdeps/unix/sysv/linux/microblaze.
7685 * README: Add missing listing for microblaze*-*-linux-gnu.
7687 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7689 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7690 * sysdeps/unix/sysv/linux/ia64: Move directory from
7691 ports/sysdeps/unix/sysv/linux/ia64.
7692 * README: Update listing for ia64-*-linux-gnu.
7694 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7695 Joseph Myers <joseph@codesourcery.com>
7697 * Makeconfig (test-name): New variable.
7698 (evaluate-test): Likewise.
7699 * Makerules (do-test-clean): Remove .test-result files.
7700 (common-mostlyclean): Likewise.
7701 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7702 * scripts/evaluate-test.sh: New file.
7704 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7706 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7707 separate $(objpfx)tst-fopenloc-cmp.out and
7708 $(objpfx)tst-fopenloc-mem.out targets.
7709 (tests): Update dependencies.
7710 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7711 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7712 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7713 (tst-rxspencer-no-utf8-ARGS): New variable.
7714 (tst-rxspencer-no-utf8-ENV): Likewise.
7715 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7716 instead of $(objpfx)tst-rxspencer-mem.
7717 ($(objpfx)tst-rxspencer-mem): Change target to
7718 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7719 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7720 * posix/tst-rxspencer-no-utf8.c: New file.
7722 * elf/Makefile ($(objpfx)order.out): Remove rule.
7723 [$(run-built-tests) = yes] (tests): Depend on
7724 $(objpfx)order-cmp.out.
7725 ($(objpfx)order-cmp.out): New rule.
7726 [$(run-built-tests) = yes] (tests): Depend on
7727 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7728 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7729 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7730 $(objpfx)tst-array5-static-cmp.out.
7731 ($(objpfx)tst-array1.out): Remove rule.
7732 ($(objpfx)tst-array1-cmp.out): New rule.
7733 ($(objpfx)tst-array1-static.out): Remove rule.
7734 ($(objpfx)tst-array1-static-cmp.out): New rule.
7735 ($(objpfx)tst-array2.out): Remove rule.
7736 ($(objpfx)tst-array2-cmp.out): New rule.
7737 ($(objpfx)tst-array3.out): Remove rule.
7738 ($(objpfx)tst-array3-cmp.out): New rule.
7739 ($(objpfx)tst-array4.out): Remove rule.
7740 ($(objpfx)tst-array4-cmp.out): New rule.
7741 ($(objpfx)tst-array5.out): Remove rule.
7742 ($(objpfx)tst-array5-cmp.out): New rule.
7743 ($(objpfx)tst-array5-static.out): Remove rule.
7744 ($(objpfx)tst-array5-static-cmp.out): New rule.
7745 [$(run-built-tests) = yes] (tests): Depend on
7746 $(objpfx)order2-cmp.out.
7747 ($(objpfx)order2.out): Remove rule.
7748 ($(objpfx)order2-cmp.out): New rule.
7749 ($(objpfx)tst-initorder.out): Remove rule.
7750 [$(run-built-tests) = yes] (tests): Depend on
7751 $(objpfx)tst-initorder-cmp.out.
7752 ($(objpfx)tst-initorder-cmp.out): New rule.
7753 ($(objpfx)tst-initorder2.out): Remove rule.
7754 [$(run-built-tests) = yes] (tests): Depend on
7755 $(objpfx)tst-initorder2-cmp.out.
7756 ($(objpfx)tst-initorder2-cmp.out): New rule.
7757 [$(run-built-tests) = yes] (tests): Depend on
7758 $(objpfx)tst-unused-dep-cmp.out.
7759 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7760 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7761 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7762 on $(objpfx)tst-setvbuf1-cmp.out.
7763 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7764 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7765 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7766 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7767 ($(objpfx)tst-svc.out): Remove rule.
7768 ($(objpfx)tst-svc-cmp.out): New rule.
7770 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7772 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7773 * ctype/ctype.h [__USE_MISC]: Likewise.
7774 * dirent/dirent.h [__USE_MISC]: Likewise.
7775 * grp/grp.h [__USE_MISC]: Likewise.
7776 * io/fcntl.h [__USE_MISC]: Likewise.
7777 * io/sys/stat.h [__USE_MISC]: Likewise.
7778 * libio/stdio.h [__USE_MISC]: Likewise.
7779 * posix/unistd.h [__USE_MISC]: Likewise.
7780 * pwd/pwd.h [__USE_MISC]: Likewise.
7781 * stdlib.h [__USE_MISC]: Likewise.
7782 * string/bits/string2.h [__USE_MISC]: Likewise.
7783 * string/string.h [__USE_MISC]: Likewise.
7784 * time/time.h [__USE_MISC]: Likewise.
7786 2014-02-13 Andreas Schwab <schwab@suse.de>
7789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7790 second answer buffer if it was separately allocated.
7792 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7794 * sysdeps/mips/math-tests.h: Include <features.h>.
7795 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7796 (ROUNDING_TESTS_long_double): Do not define.
7797 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7798 (EXCEPTION_TESTS_long_double): Likewise.
7799 * sysdeps/mips/mips64/libm-test-ulps: Update.
7801 * include/features.h (__USE_BSD): Remove macro definitions.
7802 (__USE_SVID): Likewise.
7803 (_BSD_SOURCE): Likewise.
7804 (_SVID_SOURCE): Likewise.
7805 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7806 from definition of _DEFAULT_SOURCE.
7807 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7809 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7810 * bits/mman.h [__USE_BSD]: Likewise.
7811 * bits/termios.h [__USE_BSD]: Likewise.
7812 * bits/waitstatus.h [__USE_BSD]: Likewise.
7813 * ctype/ctype.h [__USE_SVID]: Likewise.
7814 * dirent/dirent.h [__USE_BSD]: Likewise.
7815 * grp/grp.h [__USE_SVID]: Likewise.
7816 [__USE_BSD]: Likewise.
7817 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7818 * io/fcntl.h [__USE_BSD]: Likewise.
7819 * io/ftw.h [__USE_BSD]: Likewise.
7820 * io/sys/stat.h [__USE_BSD]: Likewise.
7821 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7822 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7823 * libio/stdio.h [__USE_SVID]: Likewise.
7824 [__USE_BSD]: Likewise.
7825 * math/math.h [__USE_SVID]: Likewise.
7826 [__USE_BSD]: Likewise.
7827 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7828 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7829 * misc/search.h [__USE_SVID]: Likewise.
7830 * misc/sys/mman.h [__USE_BSD]: Likewise.
7831 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7832 * misc/sys/uio.h [__USE_BSD]: Likewise.
7833 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7834 * posix/glob.h [__USE_BSD]: Likewise.
7835 * posix/regex.h [__USE_BSD]: Likewise.
7836 * posix/sys/types.h [__USE_BSD]: Likewise.
7837 [__USE_SVID]: Likewise.
7838 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7839 * posix/sys/wait.h [__USE_BSD]: Likewise.
7840 [__USE_SVID]: Likewise.
7841 * posix/unistd.h [__USE_BSD]: Likewise.
7842 [__USE_SVID]: Likewise.
7843 * pwd/pwd.h [__USE_SVID]: Likewise.
7844 * resolv/netdb.h [__USE_BSD]: Likewise.
7845 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7846 * signal/signal.h [__USE_BSD]: Likewise.
7847 [__USE_SVID]: Likewise.
7848 * socket/sys/socket.h [__USE_BSD]: Likewise.
7849 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7850 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7851 [__USE_SVID]: Likewise.
7852 * string/bits/string2.h [__USE_BSD]: Likewise.
7853 [__USE_SVID]: Likewise.
7854 * string/bits/string3.h [__USE_BSD]: Likewise.
7855 * string/endian.h [__USE_BSD]: Likewise.
7856 * string/string.h [__USE_SVID]: Likewise.
7857 [__USE_BSD]: Likewise.
7858 * string/strings.h [__USE_BSD]: Likewise.
7859 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7860 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7861 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7862 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7863 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7864 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7868 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7869 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7871 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7872 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7874 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7876 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7877 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7878 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7880 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7882 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7883 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7884 * termios/termios.h [__USE_BSD]: Likewise.
7885 * time/sys/time.h [__USE_BSD]: Likewise.
7886 * time/time.h [__USE_BSD]: Likewise.
7887 [__USE_SVID]: Likewise.
7889 * Makefile (subdir_targets): Remove subdir_lint.out.
7891 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7892 (do-tst-printf): Likewise.
7893 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7894 $(objpfx)tst-printf.out.
7896 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7898 * Makerules (check-abi-%): Change target to
7899 $(objpfx)check-abi-%.out.
7900 (check-abi target): Update dependencies.
7901 (check-abi-pattern variable): Redirect output of diff to $@.
7902 (check-abi variable): Likewise.
7903 * elf/Makefile (check-abi): Update dependencies.
7905 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7907 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7908 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7910 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7911 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7912 value has largest subnormal exponent.
7913 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7914 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7915 * sysdeps/aarch64/soft-fp/sfp-machine.h
7916 (_FP_TININESS_AFTER_ROUNDING): New macro.
7917 * sysdeps/alpha/soft-fp/sfp-machine.h
7918 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7919 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7921 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7922 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7923 * sysdeps/mips/soft-fp/sfp-machine.h
7924 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7925 * sysdeps/powerpc/soft-fp/sfp-machine.h
7926 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7927 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7933 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7936 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7942 2014-02-12 Richard Henderson <rth@redhat.com>
7944 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7945 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7946 * sysdeps/unix/sysv/linux/alpha: Move directory from
7947 ports/sysdeps/unix/sysv/linux/alpha.
7948 * README: Update listing for alpha-*-linux-gnu.
7950 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7952 * include/features.h: Update comment documenting feature test
7954 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7956 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7957 (_SVID_SOURCE): Likewise.
7958 (_DEFAULT_SOURCE): Update description of default features.
7959 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7961 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7962 (S_ISVTX): Likewise.
7963 * manual/math.texi (Mathematical Constants): Likewise.
7964 * manual/signal.texi (Interrupted Primitives): Likewise.
7965 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7966 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7967 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7968 Don't refer to _SVID_SOURCE in warning text.
7970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7972 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7974 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7975 * sysdeps/mips/dl-lookup.c: Remove.
7976 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7978 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7981 * math/auto-libm-test-in: Add testcase for expl.
7982 * math/auto-libm-test-out: Regenerate.
7983 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7984 calculation of unsafe.
7985 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7987 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7989 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7990 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7991 ports/sysdeps/unix/sysv/linux/aarch64.
7992 * README: Update listing for aarch64*-*-linux-gnu.
7994 2014-02-11 Will Newton <will.newton@linaro.org>
7996 * manual/probes.texi (Mathematical Function Probes): Use
7997 "triggered" instead of "hit".
7999 * manual/probes.texi (Internal Probes): Add documentation
8000 of setjmp, longjmp and longjmp_target probes.
8002 * include/stap-probe.h: Add comment about probe argument
8005 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8006 definition. (tr_where, tr_freehook, tr_mallochook,
8007 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8009 2014-02-11 David S. Miller <davem@davemloft.net>
8011 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8012 processing int_tests.
8014 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8016 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8017 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8018 * sysdeps/unix/sysv/linux/mips: Move directory from
8019 ports/sysdeps/unix/sysv/linux/mips.
8020 * README: Update listing for mips-*-linux-gnu and
8023 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8025 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8026 * sysdeps/unix/sysv/linux/m68k: Move directory from
8027 ports/sysdeps/unix/sysv/linux/m68k.
8028 * README: Update listing for m68k-*-linux-gnu.
8030 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8032 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8033 * sysdeps/unix/sysv/linux/generic: Move directory from
8034 ports/sysdeps/unix/sysv/linux/generic.
8035 * sysdeps/unix/sysv/linux/tile: Move directory from
8036 ports/sysdeps/unix/sysv/linux/tile.
8037 * README: Update listing for tile*-*-linux-gnu.
8039 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8041 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8043 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8044 * catgets/open_catalog.c (__open_catalog): Likewise.
8045 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8046 * debug/confstr_chk.c: Likewise.
8047 * debug/fread_chk.c (__fread_chk): Likewise.
8048 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8049 * debug/getgroups_chk.c: Likewise.
8050 * debug/mbsnrtowcs_chk.c: Likewise.
8051 * debug/mbsrtowcs_chk.c: Likewise.
8052 * debug/mbstowcs_chk.c: Likewise.
8053 * debug/memcpy_chk.c: Likewise.
8054 * debug/memmove_chk.c: Likewise.
8055 * debug/mempcpy_chk.c: Likewise.
8056 * debug/memset_chk.c: Likewise.
8057 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8058 * debug/strcat_chk.c (__strcat_chk): Likewise.
8059 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8060 * debug/strncat_chk.c (__strncat_chk): Likewise.
8061 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8062 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8063 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8064 * debug/wcpncpy_chk.c: Likewise.
8065 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8066 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8067 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8068 * debug/wcsncpy_chk.c: Likewise.
8069 * debug/wcsnrtombs_chk.c: Likewise.
8070 * debug/wcsrtombs_chk.c: Likewise.
8071 * debug/wcstombs_chk.c: Likewise.
8072 * debug/wmemcpy_chk.c: Likewise.
8073 * debug/wmemmove_chk.c: Likewise.
8074 * debug/wmempcpy_chk.c: Likewise.
8075 * debug/wmemset_chk.c: Likewise.
8076 * dirent/scandirat.c (SCANDIRAT): Likewise.
8077 * dlfcn/dladdr1.c (dladdr1): Likewise.
8078 * dlfcn/dladdr.c (dladdr): Likewise.
8079 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8080 * dlfcn/dlerror.c (__dlerror): Likewise.
8081 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8082 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8083 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8084 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8085 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8086 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8087 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8088 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8090 * elf/dl-conflict.c: Likewise.
8091 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8092 * elf/dl-dst.h: Likewise.
8093 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8094 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8095 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8096 * elf/dl-init.c (call_init, _dl_init): Likewise.
8097 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8098 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8099 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8101 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8103 * elf/dl-minimal.c (__libc_memalign): Likewise.
8104 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8105 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8106 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8107 * elf/dl-sym.c (do_sym): Likewise.
8108 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8109 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8110 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8111 * elf/dl-writev.h (_dl_writev): Likewise.
8112 * elf/ldconfig.c (search_dir): Likewise.
8113 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8114 (dl_main): Likewise.
8115 * elf/setup-vdso.h (setup_vdso): Likewise.
8116 * grp/compat-initgroups.c (compat_call): Likewise.
8117 * grp/fgetgrent.c (fgetgrent): Likewise.
8118 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8119 * grp/putgrent.c (putgrent): Likewise.
8120 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8122 * hurd/hurdinit.c: Likewise.
8123 * iconvdata/8bit-gap.c (struct): Likewise.
8124 * iconvdata/ansi_x3.110.c : Likewise.
8125 * iconvdata/big5.c : Likewise.
8126 * iconvdata/big5hkscs.c : Likewise.
8127 * iconvdata/cp1255.c: Likewise.
8128 * iconvdata/cp1258.c : Likewise.
8129 * iconvdata/cp932.c : Likewise.
8130 * iconvdata/euc-cn.c: Likewise.
8131 * iconvdata/euc-jisx0213.c : Likewise.
8132 * iconvdata/euc-jp.c: Likewise.
8133 * iconvdata/euc-jp-ms.c : Likewise.
8134 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8135 * iconvdata/gb18030.c : Likewise.
8136 * iconvdata/gbbig5.c (const): Likewise.
8137 * iconvdata/gbgbk.c: Likewise.
8138 * iconvdata/gbk.c : Likewise.
8139 * iconvdata/ibm1364.c : Likewise.
8140 * iconvdata/ibm930.c : Likewise.
8141 * iconvdata/ibm932.c: Likewise.
8142 * iconvdata/ibm933.c : Likewise.
8143 * iconvdata/ibm935.c : Likewise.
8144 * iconvdata/ibm937.c : Likewise.
8145 * iconvdata/ibm939.c : Likewise.
8146 * iconvdata/ibm943.c: Likewise.
8147 * iconvdata/iso_11548-1.c: Likewise.
8148 * iconvdata/iso-2022-cn.c : Likewise.
8149 * iconvdata/iso-2022-cn-ext.c : Likewise.
8150 * iconvdata/iso-2022-jp-3.c: Likewise.
8151 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8152 * iconvdata/iso-2022-kr.c : Likewise.
8153 * iconvdata/iso646.c (gconv_end): Likewise.
8154 * iconvdata/iso_6937-2.c : Likewise.
8155 * iconvdata/iso_6937.c : Likewise.
8156 * iconvdata/iso8859-1.c: Likewise.
8157 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8158 * iconvdata/shift_jisx0213.c : Likewise.
8159 * iconvdata/sjis.c : Likewise.
8160 * iconvdata/t.61.c : Likewise.
8161 * iconvdata/tcvn5712-1.c : Likewise.
8162 * iconvdata/tscii.c: Likewise.
8163 * iconvdata/uhc.c : Likewise.
8164 * iconvdata/unicode.c (gconv_end): Likewise.
8165 * iconvdata/utf-16.c (gconv_end): Likewise.
8166 * iconvdata/utf-32.c (gconv_end): Likewise.
8167 * iconvdata/utf-7.c (base64): Likewise.
8168 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8169 * iconv/gconv_close.c (__gconv_close): Likewise.
8170 * iconv/gconv_open.c (__gconv_open): Likewise.
8171 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8172 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8173 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8174 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8175 (ucs4le_internal_loop_single): Likewise.
8176 * iconv/iconv.c (iconv): Likewise.
8177 * iconv/iconv_close.c: Likewise.
8178 * iconv/loop.c (SINGLE): Likewise.
8179 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8180 * include/atomic.h: Likewise.
8181 * inet/inet6_option.c (option_alloc): Likewise.
8182 * intl/bindtextdom.c (set_binding_values): Likewise.
8183 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8184 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8185 * intl/localealias.c (read_alias_file): Likewise.
8186 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8187 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8188 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8189 * libio/fmemopen.c (fmemopen): Likewise.
8190 * libio/iofgets.c (_IO_fgets): Likewise.
8191 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8192 * libio/iofgetws.c (fgetws): Likewise.
8193 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8194 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8195 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8196 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8197 * locale/findlocale.c (_nl_find_locale): Likewise.
8198 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8199 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8201 * locale/setlocale.c (setlocale): Likewise.
8202 * login/programs/pt_chown.c (main): Likewise.
8203 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8204 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8205 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8206 (mmap, mmap64, mremap, munmap): Likewise.
8207 * math/e_exp2l.c: Likewise.
8208 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8209 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8210 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8211 * math/s_catan.c (__catan): Likewise.
8212 * math/s_catanf.c (__catanf): Likewise.
8213 * math/s_catanh.c (__catanh): Likewise.
8214 * math/s_catanhf.c (__catanhf): Likewise.
8215 * math/s_catanhl.c (__catanhl): Likewise.
8216 * math/s_catanl.c (__catanl): Likewise.
8217 * math/s_ccosh.c (__ccosh): Likewise.
8218 * math/s_ccoshf.c (__ccoshf): Likewise.
8219 * math/s_ccoshl.c (__ccoshl): Likewise.
8220 * math/s_cexp.c (__cexp): Likewise.
8221 * math/s_cexpf.c (__cexpf): Likewise.
8222 * math/s_cexpl.c (__cexpl): Likewise.
8223 * math/s_clog10.c (__clog10): Likewise.
8224 * math/s_clog10f.c (__clog10f): Likewise.
8225 * math/s_clog10l.c (__clog10l): Likewise.
8226 * math/s_clog.c (__clog): Likewise.
8227 * math/s_clogf.c (__clogf): Likewise.
8228 * math/s_clogl.c (__clogl): Likewise.
8229 * math/s_csin.c (__csin): Likewise.
8230 * math/s_csinf.c (__csinf): Likewise.
8231 * math/s_csinh.c (__csinh): Likewise.
8232 * math/s_csinhf.c (__csinhf): Likewise.
8233 * math/s_csinhl.c (__csinhl): Likewise.
8234 * math/s_csinl.c (__csinl): Likewise.
8235 * math/s_csqrt.c (__csqrt): Likewise.
8236 * math/s_csqrtf.c (__csqrtf): Likewise.
8237 * math/s_csqrtl.c (__csqrtl): Likewise.
8238 * math/s_ctan.c (__ctan): Likewise.
8239 * math/s_ctanf.c (__ctanf): Likewise.
8240 * math/s_ctanh.c (__ctanh): Likewise.
8241 * math/s_ctanhf.c (__ctanhf): Likewise.
8242 * math/s_ctanhl.c (__ctanhl): Likewise.
8243 * math/s_ctanl.c (__ctanl): Likewise.
8244 * math/w_pow.c: Likewise.
8245 * math/w_powf.c: Likewise.
8246 * math/w_powl.c: Likewise.
8247 * math/w_scalb.c (sysv_scalb): Likewise.
8248 * math/w_scalbf.c (sysv_scalbf): Likewise.
8249 * math/w_scalbl.c (sysv_scalbl): Likewise.
8250 * misc/error.c (error_tail): Likewise.
8251 * misc/pselect.c (__pselect): Likewise.
8252 * nis/nis_callback.c (__nis_create_callback): Likewise.
8253 * nis/nis_call.c (__nisfind_server): Likewise.
8254 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8255 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8256 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8257 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8258 * nis/nis_lookup.c (nis_lookup): Likewise.
8259 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8260 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8261 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8262 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8263 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8264 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8265 * nis/nss_compat/compat-initgroups.c (add_group)
8266 (internal_getgrent_r): Likewise.
8267 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8268 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8269 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8270 (internal_getspnam_r): Likewise.
8271 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8272 (_nss_nis_getaliasbyname_r): Likewise.
8273 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8274 (_nss_nis_getntohost_r): Likewise.
8275 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8276 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8277 (_nss_nis_getgrgid_r): Likewise.
8278 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8279 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8280 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8281 (_nss_nis_gethostbyname4_r): Likewise.
8282 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8283 (initgroups_netid): Likewise.
8284 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8285 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8286 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8287 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8288 (_nss_nis_getprotobynumber_r): Likewise.
8289 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8290 (_nss_nis_getsecretkey): Likewise.
8291 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8292 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8293 (_nss_nis_getpwuid_r): Likewise.
8294 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8295 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8296 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8297 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8298 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8299 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8300 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8302 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8303 (_nss_nisplus_getntohost_r): Likewise.
8304 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8305 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8306 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8307 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8309 * nis/nss_nisplus/nisplus-initgroups.c
8310 (_nss_nisplus_initgroups_dyn): Likewise.
8311 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8312 (_nss_nisplus_getnetbyaddr_r): Likewise.
8313 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8314 (_nss_nisplus_getprotobynumber_r): Likewise.
8315 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8316 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8317 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8319 * nis/nss_nisplus/nisplus-service.c
8320 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8321 (_nss_nisplus_getservbyport_r): Likewise.
8322 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8323 (_nss_nisplus_getspnam_r): Likewise.
8324 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8326 * nscd/aicache.c (addhstaiX): Likewise.
8327 * nscd/cache.c (cache_search, prune_cache): Likewise.
8328 * nscd/connections.c (register_traced_file, send_ro_fd)
8329 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8330 (main_loop_epoll): Likewise.
8331 * nscd/grpcache.c (addgrbyX): Likewise.
8332 * nscd/hstcache.c (addhstbyX): Likewise.
8333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8334 * nscd/mem.c (gc, mempool_alloc): Likewise.
8335 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8336 (addinnetgrX): Likewise.
8337 * nscd/nscd-client.h (__nscd_acquire_maplock)
8338 (__nscd_drop_map_ref): Likewise.
8339 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8340 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8343 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8345 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8346 (__nscd_get_map_ref): Likewise.
8347 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8348 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8350 * nscd/pwdcache.c (addpwbyX): Likewise.
8351 * nscd/selinux.c (preserve_capabilities): Likewise.
8352 * nscd/servicescache.c (addservbyX): Likewise.
8353 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8354 * posix/fnmatch.c (fnmatch): Likewise.
8355 * posix/getopt.c (_getopt_internal_r): Likewise.
8356 * posix/glob.c (glob, glob_in_dir): Likewise.
8357 * posix/wordexp.c (exec_comm_child): Likewise.
8358 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8359 (getanswer_r, gaih_getanswer_slice): Likewise.
8360 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8361 * resolv/res_init.c: Likewise.
8362 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8363 * resolv/res_query.c (__libc_res_nquery): Likewise.
8364 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8366 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8367 * stdio-common/perror.c (perror): Likewise.
8368 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8369 * stdio-common/tmpnam.c (tmpnam): Likewise.
8370 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8371 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8372 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8374 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8375 * stdlib/putenv.c (putenv): Likewise.
8376 * stdlib/setenv.c (__add_to_environ): Likewise.
8377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8378 * stdlib/strtol_l.c (INTERNAL): Likewise.
8379 * string/memmem.c (memmem): Likewise.
8380 * string/strerror.c (strerror): Likewise.
8381 * string/strnlen.c (__strnlen): Likewise.
8382 * string/test-memmem.c (simple_memmem): Likewise.
8383 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8384 * sunrpc/pm_getport.c (__get_socket): Likewise.
8385 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8386 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8387 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8388 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8390 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8391 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8392 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8393 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8395 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8397 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8399 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8400 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8402 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8403 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8405 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8406 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8407 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8408 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8409 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8410 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8416 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8417 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8419 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8420 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8421 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8422 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8425 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8428 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8433 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8435 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8441 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8443 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8444 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8445 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8446 * sysdeps/posix/sleep.c: Likewise.
8447 * sysdeps/posix/tempname.c: Likewise.
8448 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8449 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8451 * sysdeps/powerpc/powerpc32/dl-machine.h
8452 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8453 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8455 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8456 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8458 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8460 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8462 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8463 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8464 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8465 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8466 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8467 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8469 (elf_machine_lazy_rel): Likewise.
8470 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8472 (elf_machine_lazy_rel): Likewise.
8473 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8474 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8475 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8476 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8477 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8478 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8479 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8482 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8483 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8484 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8485 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8486 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8487 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8488 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8489 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8490 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8491 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8492 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8494 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8495 (__posix_fallocate64_l64): Likewise.
8496 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8497 (posix_fallocate): Likewise.
8498 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8500 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8501 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8502 (getifaddrs_internal): Likewise.
8503 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8504 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8505 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8506 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8507 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8508 (__posix_fallocate64_l64): Likewise.
8509 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8511 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8512 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8513 (__get_clockfreq): Likewise.
8514 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8515 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8516 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8517 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8519 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8520 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8521 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8523 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8524 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8525 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8526 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8527 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8528 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8529 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8531 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8532 (posix_fallocate): Likewise.
8533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8534 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8535 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8536 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8537 (elf_machine_rela, elf_machine_rela_relative)
8538 (elf_machine_lazy_rel): Likewise.
8539 * time/asctime.c (asctime_internal): Likewise.
8540 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8541 * time/tzset.c (__tzset_parse_tz): Likewise.
8542 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8543 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8544 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8545 * wcsmbs/wcsmbsload.h: Likewise.
8548 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8550 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8551 (arena_get2): Remove THREAD_STATS conditionals.
8552 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8553 (__malloc_stats, int): Likewise.
8555 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8558 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8560 * manual/setjmp.texi: Fix typos/grammar errors.
8562 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8563 Only return early when n is <= 0. Delete unused return statement.
8565 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8566 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8567 * debug/tst-longjmp_chk3.c: New file.
8569 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8570 (test_main): Replace code with set_fortify_handler call.
8571 * debug/test-strcpy_chk.c: Likewise.
8572 * debug/tst-chk1.c: Likewise.
8573 * debug/tst-longjmp_chk.c: Likewise.
8574 * test-skeleton.c: Include fcntl.h & paths.h
8575 (set_fortify_handler): Define.
8577 * debug/tst-longjmp_chk.c: Add header comment and include
8579 (do_test): Mark static.
8580 (TEST_FUNCTION): Define.
8582 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8583 (IP_PMTUDISC_INTERFACE): Likewise.
8584 (IP_MULTICAST_IF): Likewise.
8585 (IP_MULTICAST_TTL): Likewise.
8586 (IP_MULTICAST_LOOP): Likewise.
8587 (IP_ADD_MEMBERSHIP): Likewise.
8588 (IP_DROP_MEMBERSHIP): Likewise.
8589 (IP_UNBLOCK_SOURCE): Likewise.
8590 (IP_BLOCK_SOURCE): Likewise.
8591 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8592 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8593 (IP_MSFILTER): Likewise.
8594 (MCAST_JOIN_GROUP): Likewise.
8595 (MCAST_BLOCK_SOURCE): Likewise.
8596 (MCAST_UNBLOCK_SOURCE): Likewise.
8597 (MCAST_LEAVE_GROUP): Likewise.
8598 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8599 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8600 (MCAST_MSFILTER): Likewise.
8601 (IP_MULTICAST_ALL): Likewise.
8602 (IP_UNICAST_IF): Likewise.
8604 * timezone/Makefile: Delete $(have-ksh) check.
8605 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8606 * timezone/tzselect.ksh: Add +x mode bits.
8608 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8609 (ANON_INODE_FS_MAGIC): Likewise.
8610 (BDEVFS_MAGIC): Likewise.
8611 (BINFMTFS_MAGIC): Likewise.
8612 (BTRFS_TEST_MAGIC): Likewise.
8613 (CRAMFS_MAGIC_WEND): Likewise.
8614 (DEBUGFS_MAGIC): Likewise.
8615 (ECRYPTFS_SUPER_MAGIC): Likewise.
8616 (EXT3_SUPER_MAGIC): Likewise.
8617 (EXT4_SUPER_MAGIC): Likewise.
8618 (FUTEXFS_SUPER_MAGIC): Likewise.
8619 (HOSTFS_SUPER_MAGIC): Likewise.
8620 (HUGETLBFS_MAGIC): Likewise.
8621 (MINIX3_SUPER_MAGIC): Likewise.
8622 (MTD_INODE_FS_MAGIC): Likewise.
8623 (NILFS_SUPER_MAGIC): Likewise.
8624 (OPENPROM_SUPER_MAGIC): Likewise.
8625 (PIPEFS_MAGIC): Likewise.
8626 (PSTOREFS_MAGIC): Likewise.
8627 (QNX6_SUPER_MAGIC): Likewise.
8628 (RAMFS_MAGIC): Likewise.
8629 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8630 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8631 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8632 (SECURITYFS_MAGIC): Likewise.
8633 (SELINUX_MAGIC): Likewise.
8634 (SMACK_MAGIC): Likewise.
8635 (SOCKFS_MAGIC): Likewise.
8636 (SQUASHFS_MAGIC): Likewise.
8637 (STACK_END_MAGIC): Likewise.
8638 (TMPFS_MAGIC): Likewise.
8639 (USBDEVICE_SUPER_MAGIC): Likewise.
8640 (V9FS_MAGIC): Likewise.
8641 (XENFS_SUPER_MAGIC): Likewise.
8642 (CRAMFS_MAGIC): Fix typo in comment.
8643 (EXT2_SUPER_MAGIC): Update comment.
8644 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8646 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8648 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8649 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8650 * sysdeps/unix/sysv/linux/arm: Move directory from
8651 ports/sysdeps/unix/sysv/linux/arm.
8652 * README: Update listing for arm-*-linux-gnueabi.
8654 * README: Remove mention of am33.
8656 2014-02-07 Roland McGrath <roland@hack.frob.com>
8658 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8659 than the comma operator, to avoid "rhs of comma has no effect"
8661 (__sigfillset, __sigandset, __sigorset): Likewise.
8662 * include/signal.h (__sigemptyset): Likewise.
8663 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8665 2014-02-07 Allan McRae <allan@archlinux.org>
8667 * version.h (RELEASE): Set to "development".
8668 (VERSION): Set to "2.19.90"
8669 * NEWS: Add 2.20 section.
8671 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8674 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8676 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8678 * manual/contrib.texi: Update entry for Carlos O'Donell,
8679 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8681 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8683 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8685 * sysdeps/unix/sysv/linux/kernel-features.h
8686 [__LINUX_KERNEL_VERSION >= 0x020621]
8687 (__ASSUME_PROC_PID_TASK_COMM): Define.
8689 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8692 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8693 conversion when destination buffer does not have enough space.
8694 * libio/tst-ftell-partial-wide.c: New test case.
8695 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8697 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8698 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8699 Leonard and Allan McRae.
8701 2014-02-04 David S. Miller <davem@davemloft.net>
8703 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8706 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8735 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8737 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8738 * shlib-versions: Likewise.
8740 2014-02-04 Roland McGrath <roland@hack.frob.com>
8741 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8743 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8744 (abilist-pattern): New variable, set to %-le.abilist.
8746 * Makerules (abilist-pattern): New variable.
8747 (vpath): Use $(abilist-pattern) in place of %.abilist.
8748 (check-abi-% pattern rule): Likewise.
8749 (check-abi, update-abi): Likewise.
8751 2014-02-04 Eric Wong <normalperson@yhbt.net>
8753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8755 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8757 * manual/startup.texi: Add next, previous, and top entries for
8758 the `Program Arguments' and `Environment Variables' nodes.
8760 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8762 * manual/macros.texi: Add comments before MTASC-safety macros.
8764 * manual/users.texi: Document MTASC-safety properties.
8766 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8767 (pthread_getspecific, pthread_setspecific): Format with
8768 @deftypefun, and add @safety note.
8769 * manual/signal.texi: Move comments that analyze the above
8770 functions to their home place.
8772 2014-02-03 Allan McRae <allan@archlinux.org>
8774 * po/sl.po: Update Slovenian translation from translation project.
8776 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8778 * manual/time.texi (timegm): Add missing blank after @c.
8779 Reported by Joseph Myers <joseph@codesourcery.com>.
8781 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8783 * manual/check-safety.sh: New.
8784 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8786 * manual/terminal.texi: Document MTASC-safety properties.
8788 * manual/filesys.texi: Document MTASC-safety properties.
8790 * manual/errno.texi: Document MTASC-safety properties.
8792 * manual/intro.texi: Document safety identifiers and
8795 * manual/string.texi (wcstok): Fix prototype.
8796 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8798 * manual/time.texi: Document MTASC-safety properties.
8800 * manual/string.texi: Document MTASC-safety properties.
8802 * manual/threads.texi: Document MTASC-safety properties.
8804 * manual/stdio.texi: Document MTASC-safety properties.
8806 * manual/syslog.texi: Document MTASC-safety properties.
8808 * manual/sysinfo.texi: Document MTASC-safety properties.
8810 * manual/startup.texi: Document MTASC-safety properties.
8812 * manual/socket.texi: Document MTASC-safety properties.
8814 * manual/signal.texi: Document MTASC-safety properties.
8816 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8818 * manual/setjmp.texi: Document MTASC-safety properties.
8820 * manual/search.texi: Document MTASC-safety properties.
8822 * manual/resource.texi: Document MTASC-safety properties.
8824 * manual/process.texi: Document MTASC-safety properties.
8826 * manual/platform.texi: Document MTASC-safety properties.
8828 * manual/pipe.texi: Document MTASC-safety properties.
8830 * manual/pattern.texi: Document MTASC-safety properties.
8832 * manual/message.texi: Document MTASC-safety properties.
8835 * manual/memory.texi: Document MTASC-safety properties.
8837 * manual/math.texi: Document MTASC-safety properties.
8839 * manual/locale.texi: Document MTASC-safety properties.
8841 * manual/llio.texi: Document MTASC-safety properties.
8843 * manual/libdl.texi: New.
8845 * manual/lang.texi: Document MTASC-safety properties.
8847 * manual/job.texi: Document MTASC-safety properties.
8849 * manual/getopt.texi: Document MTASC-safety properties.
8851 * manual/ctype.texi: Document MTASC-safety properties.
8853 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8856 * csu/libc-tls.c (static_map): Remove variable.
8857 (__libc_setup_tls): Use main executable's link map for TLS data.
8858 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8859 casing for LM_ID_BASE and GL(dl_nns).
8860 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8861 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8862 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8863 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8864 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8866 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8869 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8871 * manual/debug.texi: Document MTASC-safety properties.
8873 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8876 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8877 of __x86_64__ when disabling x87 inline functions.
8879 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8881 * manual/charset.texi: Document MTASC-safety properties.
8883 * manual/crypt.texi: Document MTASC-safety properties.
8885 * manual/conf.texi: Document MTASC-safety properties.
8887 * manual/arith.texi: Document MTASC-safety properties.
8889 * manual/argp.texi: Document MTASC-safety properties.
8891 * manual/macros.texi: Introduce macros to document multi
8892 thread, asynchronous signal and asynchronous cancellation
8894 * manual/intro.texi: Introduce the properties themselves.
8896 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8898 * sysdeps/sh/sh4/Makefile: New file.
8900 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8902 * math/gen-libm-test.pl ($srcdir): New variable.
8903 ($auto_input): Use it.
8905 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8908 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8909 access beyond array bounds when parsing netgroups file.
8911 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8912 the old buffer before realloc.
8914 2014-01-27 Allan McRae <allan@archlinux.org>
8916 * po/fr.po: Update French translation from translation project.
8918 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8920 * sysdeps/sh/libm-test-ulps: Regenerate.
8922 2014-01-24 David S. Miller <davem@davemloft.net>
8924 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8926 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8928 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8929 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8931 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8934 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8935 string pointers after reallocation.
8937 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8939 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8940 __SH4A__ instead of __SH_FPU_ANY__.
8942 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8944 * sysdeps/sh/fpu_control.h: New file.
8945 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8946 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8947 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8948 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8949 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8950 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8951 * sysdeps/sh/sys/ucontext.h: Remove.
8952 * sysdeps/sh/sys: Remove directory.
8954 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8956 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8957 s390/sys/ucontext.h.
8958 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8959 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8961 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8964 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8966 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8969 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8970 Adjust the vDSO correctly for internal calls.
8971 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8973 2014-01-20 Allan McRae <allan@archlinux.org>
8975 * po/ca.po: Update Catalan translation from translation project.
8977 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8979 * sysdeps/s390/sotruss-lib.c: New file.
8981 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8985 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8986 local calls issues by not having a PLT stub required for IFUNC calls.
8987 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8989 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8991 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8992 * math/test-fpucw-static.c: Likewise.
8994 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8997 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8999 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9001 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9002 implementation for powerpc.
9004 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9007 * sysdeps/posix/system.c (__libc_system): Do not enable
9008 asynchronous cancellation.
9010 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9013 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9014 handling only for numbers special also in the IEEE case.
9016 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9018 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9020 2014-01-11 Allan McRae <allan@archlinux.org>
9022 * po/bg.po: Update Bulgarian translation from translation project.
9024 * po/de.po: Update German translation from translation project.
9026 2014-01-10 Roland McGrath <roland@hack.frob.com>
9028 * sysdeps/generic/gcc-compat.h: New file.
9030 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9032 * benchtests/asin-inputs: Correct slow inputs.
9033 * benchtests/acos-inputs: Likewise.
9035 2014-01-10 Allan McRae <allan@archlinux.org>
9037 * po:sv.po: Update Swedish translation from translation project.
9039 * po/vi.po: Update Vietnamese translation from translation project.
9041 * po/eo.po: Update Esperanto translation from translation project.
9043 * po/cs.po: Update Czech translation from translation project.
9045 * po/nl.po: Update Dutch translation from translation project.
9047 * po/pl.po: Update Polish translation from translation project.
9049 * po/ru.po: Update Russian translation from translation project.
9051 * po/uk.po: Update Ukrainian translation from translation project.
9053 2014-01-08 Brooks Moses <bmoses@google.com>
9055 * elf/dl-load.c: Fix comment typo.
9057 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9059 * po/header.pot: Rename to...
9060 * po/pot.header: ... this.
9061 * po/Makefile: Use pot.header.
9063 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9064 Maxim Kuvyrkov <maxim@kugelworks.com>
9067 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9068 SRC and DEST against LEN.
9070 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9075 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9077 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9081 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9084 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9085 for large positive arguments.
9087 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9089 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9091 * math/auto-libm-test-in: Mark various tests with
9092 xfail-rounding:ldbl-128ibm.
9093 * math/auto-libm-test-out: Regenerated.
9096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9097 Increase overflow threshold.
9099 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9102 * stdio-common/vfprintf.c: Check for integer overflow.
9104 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9106 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9107 the first argument and return value of __tls_get_addr_internal.
9109 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9111 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9112 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9114 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9116 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9117 * sysdeps/s390/rtld-global-offsets.sym: New file.
9118 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9120 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9121 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9122 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9124 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9125 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9131 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9132 halfs of GPRs for high_gprs contexts.
9133 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9134 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9136 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9138 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9140 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9141 for high GPRs (uc_high_gprs) and for future extensions
9143 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9144 for future extensions (__reserved).
9145 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9147 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9148 SC_HIGHGPRS offset definition.
9149 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9150 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9152 * Versions.def: Add GLIBC_2.19 for libpthread.
9153 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9154 siglongjmp for libpthread with GLIBC_2.19 symver.
9155 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9156 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9157 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9158 * sysdeps/s390/__longjmp.c: New file.
9159 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9160 * sysdeps/s390/longjmp.c: New file.
9161 * sysdeps/s390/setjmp.S: New file.
9162 * sysdeps/s390/sigjmp.S: New file.
9163 * sysdeps/s390/v1-longjmp.c: New file.
9164 * sysdeps/s390/v1-setjmp.h: New file.
9165 * sysdeps/s390/v1-sigjmp.c: New file.
9166 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9167 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9169 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9170 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9171 versioned symbols for ____longjmp_chk.
9172 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9182 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9183 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9184 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9185 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9186 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9187 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9188 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9189 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9190 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9191 * sysdeps/s390/rtld-__longjmp.c: New file.
9192 * sysdeps/s390/rtld-setjmp.S: New file.
9194 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9198 Return -__logl (x) for small positive arguments without evaluating
9201 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9203 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9205 (__ptrace_peeksiginfo_args): ... this.
9206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9210 2014-01-06 Allan McRae <allan@archlinux.org>
9212 * inet/netinet/in.h: Fix typo in comment.
9214 2014-01-05 Andreas Jaeger <aj@suse.de>
9216 * sysdeps/i386/fpu/libm-test-ulps: Update.
9218 2014-01-05 Allan McRae <allan@archlinux.org>
9220 * po/libc.pot: Regenerated.
9222 * malloc/memusagestat.c: Fix gettext call formatting.
9224 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9226 * nscd/nscd.c: Improve usage() output.
9228 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9230 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9231 * sysdeps/unix/sysv/linux/configure: Regenerated.
9232 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9233 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9235 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9238 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9239 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9241 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9243 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9244 extra tokens at end of #undef directive.
9245 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9246 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9247 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9249 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9251 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9253 * math/auto-libm-test-in: Mark various tests with
9254 xfail-rounding:ldbl-128ibm.
9255 * math/auto-libm-test-out: Regenerated.
9257 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9261 numbers with subnormal high part when calculating exponent.
9264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9268 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9270 (__ieee754_acoshl): Use __log1pl not __log1p.
9272 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9274 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9275 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9276 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9277 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9278 (reused_arena, arena_get2): Convert to GNU style.
9279 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9280 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9281 (memalign_check, __malloc_set_state): Likewise.
9282 * malloc/mallocbug.c (main): Likewise.
9283 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9284 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9285 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9286 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9287 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9288 (__posix_memalign, malloc_info): Likewise.
9289 * malloc/malloc.h: Likewise.
9290 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9291 (mallochook, memalignhook, reallochook, mabort): Likewise.
9292 * malloc/mcheck.h: Likewise.
9293 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9294 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9295 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9296 * malloc/morecore.c (__default_morecore): Likewise.
9297 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9298 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9299 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9300 (print_and_abort): Likewise.
9301 * malloc/obstack.h: Likewise.
9302 * malloc/set-freeres.c (__libc_freeres): Likewise.
9303 * malloc/tst-mallocstate.c (main): Likewise.
9304 * malloc/tst-mtrace.c (main): Likewise.
9305 * malloc/tst-realloc.c (do_test): Likewise.
9307 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9310 * nscd/netgroupcache.c (do_notfound): New function.
9311 (addgetnetgrentX): Use it.
9314 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9315 NSS_STATUS_NOTFOUND.
9317 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9319 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9322 2014-01-01 Allan McRae <allan@archlinux.org>
9324 * scripts/update-copyrights: Update configure input file suffix.
9326 * NEWS: Update copyright year.
9327 * catgets/gencat.c: Likewise.
9328 * csu/version.c: Likewise.
9329 * debug/catchsegv.sh: Likewise.
9330 * debug/pcprofiledump.c: Likewise.
9331 * debug/xtrace.sh: Likewise.
9332 * elf/ldconfig.c: Likewise.
9333 * elf/ldd.bash.in: Likewise.
9334 * elf/pldd.c: Likewise.
9335 * elf/sotruss.ksh: Likewise.
9336 * elf/sprof.c: Likewise.
9337 * iconv/iconv_prog.c: Likewise.
9338 * iconv/iconvconfig.c: Likewise.
9339 * locale/programs/locale.c: Likewise.
9340 * locale/programs/localedef.c: Likewise.
9341 * login/programs/pt_chown.c: Likewise.
9342 * malloc/memusage.sh: Likewise.
9343 * malloc/memusagestat.c: Likewise.
9344 * malloc/mtrace.pl: Likewise.
9345 * manual/libc.texinfo: Likewise.
9346 * nscd/nscd.c: Likewise.
9347 * nss/getent.c: Likewise.
9348 * nss/makedb.c: Likewise.
9349 * posix/getconf.c: Likewise.
9350 * scripts/test-installation.pl: Likewise.
9352 * All files with FSF copyright notices: Update copyright dates
9353 using scripts/update-copyrights.
9354 * intl/plural.c: Regenerated.
9355 * locale/programs/charmap-kw.h: Likewise.
9356 * locale/programs/locfile-kw.h: Likewise.
9358 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9360 * sysdeps/unix/sysv/linux/configure: Regenerated.
9361 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9362 the linux/fanotify.h header.
9363 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9364 HAVE_LINUX_FANOTIFY_H is defined.
9366 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9368 * benchtests/cos-inputs: New inputs.
9369 * benchtests/sin-inputs: Likewise.
9371 * benchtests/atan-inputs: New inputs. Fix name of multiple
9372 precision fallback inputs.
9374 * benchtests/atanh-inputs: New inputs.
9375 * benchtests/tanh-inputs: Likewise.
9377 * benchtests/acosh-inputs: New inputs.
9378 * benchtests/asinh-inputs: Likewise.
9380 * benchtests/cosh-inputs: New inputs.
9381 * benchtests/sinh-inputs: Likewise.
9383 * benchtests/acos-inputs: Add more inputs.
9384 * benchtests/asin-inputs: Likewise.
9386 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9389 * manual/arith.texi: Fix spelling.
9390 * manual/charset.texi: Likewise.
9391 * manual/errno.texi: Likewise.
9392 * manual/filesys.texi: Likewise.
9393 * manual/lang.texi: Likewise.
9394 * manual/llio.texi: Likewise.
9395 * manual/locale.texi: Likewise.
9396 * manual/message.texi: Likewise.
9397 * manual/resource.texi: Likewise.
9398 * manual/search.texi: Likewise.
9399 * manual/setjmp.texi: Likewise.
9400 * manual/stdio.texi: Likewise.
9401 * manual/string.texi: Likewise.
9402 * manual/sysinfo.texi: Likewise.
9403 * manual/time.texi: Likewise.
9405 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9407 * po/sl.po: New file.
9409 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9411 * .gitignore: Add core/.gdbinit/.gdb_history.
9413 2013-12-27 Allan McRae <allan@archlinux.org>
9416 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9417 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9419 2013-12-24 Brooks Moses <bmoses@google.com>
9421 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9422 all compilers that claim C++98 compliance, not just GCC.
9423 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9426 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9428 * NEWS: Restore accidentally deleted bug-fix entries.
9430 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9431 Ondřej Bílka <neleai@seznam.cz>
9434 * malloc/malloc.c (_int_free): Perform sanity check only if we
9437 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9440 * manual/stdio.texi (String Input Conversions): Clarify that character
9441 classes are not supported.
9443 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9447 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9450 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9451 Calculate results for small negative arguments directly rather
9452 than using reflection formula with special underflow handling.
9454 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9455 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9456 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9457 (fchflags): Likewise.
9459 (setlogin): Likewise.
9460 (sigaltstack): Likewise.
9463 (sigsetmask): Likewise.
9465 (waitpid): Likewise.
9466 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9467 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9469 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9470 * sysdeps/unix/bsd/Makefile: ... here.
9471 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9472 * sysdeps/unix/bsd/Versions: ... here.
9473 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9474 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9475 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9476 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9477 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9478 * sysdeps/unix/bsd/sigblock.c: ... here.
9479 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9480 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9481 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9482 * sysdeps/unix/bsd/sigvec.c: ... here.
9483 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9484 * sysdeps/unix/bsd/tcdrain.c: ... here.
9485 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9486 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9487 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9488 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9489 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9490 * sysdeps/unix/bsd/wait.c: ... here.
9491 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9492 * sysdeps/unix/bsd/wait3.c: ... here.
9493 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9494 * sysdeps/unix/bsd/waitpid.c: ... here.
9496 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9499 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9500 round-to-nearest for [!USE_AS_EXPM1L].
9501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9502 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9503 more tests of exp and exp10. Expect some exp10 tests to miss
9504 exceptions or fail in directed rounding modes.
9505 * math/auto-libm-test-out: Regenerated.
9506 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9507 (exp10_test_tonearest): New function.
9508 (exp10_towardzero_test_data): New array.
9509 (exp10_test_towardzero): New function.
9510 (exp10_downward_test_data): New array.
9511 (exp10_test_downward): New function.
9512 (exp10_upward_test_data): New array.
9513 (exp10_test_upward): New function.
9514 (main): Call the new functions.
9515 * sysdeps/i386/fpu/libm-test-ulps: Update.
9516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9518 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9520 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9521 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9522 * math/auto-libm-test-out: Regenerated.
9523 * math/libm-test.inc (acosh_test_data): Add more tests.
9524 (atanh_test_data): Likewise.
9525 (ceil_test_data): Likewise.
9526 (copysign_test_data): Likewise.
9527 * sysdeps/i386/fpu/libm-test-ulps: Update.
9528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9530 * timezone/checktab.awk: Update from tzcode 2013i.
9531 * timezone/private.h: Likewise.
9532 * timezone/scheck.c: Likewise.
9533 * timezone/tzfile.h: Likewise.
9534 * timezone/tzselect.ksh: Likewise.
9535 * timezone/zdump.c: Likewise.
9536 * timezone/zic.c: Likewise.
9538 * math/auto-libm-test-in: Add tests of cpow.
9539 * math/auto-libm-test-out: Regenerated.
9540 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9541 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9543 (func_calc_desc): Add mpc_cc_c union field.
9544 (test_functions): Add cpow.
9545 (special_fill_2pi): New function.
9546 (special_real_inputs): Add 2pi.
9547 (calc_generic_results): Handle mpc_cc_c.
9548 * sysdeps/i386/fpu/libm-test-ulps: Update.
9549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9551 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9552 csqrt, ctan and ctanh.
9553 * math/auto-libm-test-out: Regenerated.
9554 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9555 (TEST_COND_x86): Likewise.
9556 (ccos_test_data): Use AUTO_TESTS_c_c.
9557 (ccosh_test_data): Likewise.
9558 (cexp_test_data): Likewise.
9559 (clog_test_data): Likewise.
9560 (csqrt_test_data): Likewise.
9561 (ctan_test_data): Likewise.
9562 (ctan_tonearest_test_data): Likewise.
9563 (ctan_towardzero_test_data): Likewise.
9564 (ctan_downward_test_data): Likewise.
9565 (ctan_upward_test_data): Likewise.
9566 (ctanh_test_data): Likewise.
9567 (ctanh_tonearest_test_data): Likewise.
9568 (ctanh_towardzero_test_data): Likewise.
9569 (ctanh_downward_test_data): Likewise.
9570 (ctanh_upward_test_data): Likewise.
9571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9573 (func_calc_desc): Add mpc_c_c union field.
9574 (FUNC_mpc_c_c): New macro.
9575 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9576 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9578 (special_fill_min_subnorm_p120): New function.
9579 (special_real_inputs): Add min_subnorm_p120.
9580 (calc_generic_results): Handle mpc_c_c.
9581 * sysdeps/i386/fpu/libm-test-ulps: Update.
9582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9584 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9586 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9587 (do_sin_slow): New functions.
9588 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9589 (cslow2, csloww1, csloww2): Use the new functions.
9591 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9592 Use M to change sign of result instead of X. Assume X is
9594 (csloww1): Likewise.
9598 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9605 (sloww1): Don't adjust sign of DX.
9606 (csloww1): Likewise.
9607 (sloww2): Use X directly and don't adjust sign of DX.
9608 (csloww2): Likewise.
9610 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9612 * math/auto-libm-test-in: Add tests of cabs and carg.
9613 * math/auto-libm-test-out: Regenerated.
9614 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9615 (carg_test_data): Likewise.
9616 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9618 (func_calc_desc): Add mpc_c_f union field.
9619 (test_functions): Add cabs and carg.
9620 (calc_generic_results): Handle mpc_c_f.
9622 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9623 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9624 as a macro and a compat symbol.
9625 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9626 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9627 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9628 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9629 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9630 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9632 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9634 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9636 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9640 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9642 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9643 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9646 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9650 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9652 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9653 trailing whitespace removed.
9654 * scripts/config.guess: Update to version 2013-11-29.
9655 * scripts/config.sub: Update to version 2013-10-01.
9657 * math/auto-libm-test-in: Add tests of sincos.
9658 * math/auto-libm-test-out: Regenerated.
9659 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9660 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9662 (func_calc_desc): Add mpfr_f_11 union field.
9663 (test_functions): Add sincos.
9664 (calc_generic_results): Handle mpfr_f_11.
9665 * sysdeps/i386/fpu/libm-test-ulps: Update.
9666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9668 2013-12-19 Andreas Schwab <schwab@suse.de>
9670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9673 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9674 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9676 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9678 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9679 * sysdeps/i386/fpu/libm-test-ulps: Update.
9680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9683 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9684 round-to-nearest mode when using frndint.
9685 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9686 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9687 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9689 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9691 * math/auto-libm-test-out: Regenerated.
9692 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9693 (TEST_COND_x86): Likewise.
9694 (expm1_tonearest_test_data): New array.
9695 (expm1_test_tonearest): New function.
9696 (expm1_towardzero_test_data): New array.
9697 (expm1_test_towardzero): New function.
9698 (expm1_downward_test_data): New array.
9699 (expm1_test_downward): New function.
9700 (expm1_upward_test_data): New array.
9701 (expm1_test_upward): New function.
9702 (main): Run the new test functions.
9703 * sysdeps/i386/fpu/libm-test-ulps: Update.
9704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9706 * include/features.h: Update comment documenting feature test
9707 macros. Mention _DEFAULT_SOURCE in comment.
9708 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9709 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9710 _BSD_SOURCE and _SVID_SOURCE.
9711 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9712 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9713 !_SVID_SOURCE]: Likewise.
9714 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9715 (__USE_POSIX_IMPLICITLY): Define.
9716 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9717 (_POSIX_SOURCE): Undefine and redefine.
9718 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9719 (_POSIX_C_SOURCE): Likewise.
9720 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9721 (Feature Test Macros): Update documentation of default features.
9723 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9725 * benchtests/Makefile: Add bench-strtok.
9726 * benchtests/bench-strtok.c: New file: strtok benchtest.
9728 2013-12-19 Allan McRae <allan@archlinux.org>
9730 * manual/install.texi: Suppress menu for plain text output.
9731 * INSTALL: Regenerated.
9733 2013-12-18 Brooks Moses <bmoses@google.com>
9736 * misc/getauxval.c: Include errno.h.
9737 (__getauxval): Set errno to ENOENT if the requested type is not
9739 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9740 don't declare with __attribute_const__.
9741 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9742 * manual/startup.texi: Document that getauxval sets errno.
9744 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9746 * math/auto-libm-test-in: Add tests of jn and yn.
9747 * math/auto-libm-test-out: Regenerated.
9748 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9749 (yn_test_data): Likewise.
9750 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9752 (func_calc_desc): Add mpfr_if_f union field.
9753 (FUNC_mpfr_if_f): New macro.
9754 (test_functions): Add jn and yn.
9755 (calc_generic_results): Assert type of second input for
9756 mpfr_ff_f. Handle mpfr_if_f.
9757 (output_for_one_input_case): Disable all checking for arguments
9758 fitting floating-point types in case of an integer argument.
9759 * sysdeps/i386/fpu/libm-test-ulps: Update.
9760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9763 Don't expect fegetround reference in libm.so.
9765 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9767 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9768 $(config-cflags-nofma).
9770 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9772 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9773 * math/auto-libm-test-out: Regenerated.
9776 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9777 to determine exponent and adjust argument to have exponent of -1.
9778 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9780 * math/auto-libm-test-out: Regenerated.
9781 * sysdeps/i386/fpu/libm-test-ulps: Update.
9782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9784 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9786 * manual/probes.texi: Remove cases when per-thread arenas are
9789 2013-12-18 Andreas Schwab <schwab@suse.de>
9791 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9792 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9793 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9794 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9795 * sysdeps/i386/i686/multiarch/Makefile: Update.
9796 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9798 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9800 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9801 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9803 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9806 Support TZ transition times < 00:00:00.
9807 This is needed for version-3 tz-format files; it supports time
9808 stamps past 2037 for America/Godthab (the only entry in the tz
9809 database for which this change is relevant).
9810 * manual/time.texi (TZ Variable): Document transition times
9811 from -167:59:59 through -00:00:01.
9812 * time/tzset.c (tz_rule): Time of day is now signed.
9813 (__tzset_parse_tz): Parse negative time of day.
9815 Document TZ transition times >= 25:00:00.
9816 * manual/time.texi (TZ Variable): Document transition times from
9817 25:00:00 through 167:59:59. These are already supported, and this
9818 support will help with version-3 tz-format files.
9820 * manual/time.texi (TZ Variable): Modernize North America example
9821 to reflect current (i.e., 2007-and-later) daylight saving rules.
9823 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9825 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9827 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9828 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9831 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9832 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9833 * sysdeps/unix/bsd/clock.c: Likewise.
9834 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9835 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9836 * sysdeps/unix/bsd/init-posix.c: Likewise.
9837 * sysdeps/unix/bsd/poll.c: Likewise.
9838 * sysdeps/unix/bsd/ptsname.c: Likewise.
9839 * sysdeps/unix/bsd/seekdir.c: Likewise.
9840 * sysdeps/unix/bsd/setegid.c: Likewise.
9841 * sysdeps/unix/bsd/seteuid.c: Likewise.
9842 * sysdeps/unix/bsd/setgid.c: Likewise.
9843 * sysdeps/unix/bsd/setrgid.c: Likewise.
9844 * sysdeps/unix/bsd/setruid.c: Likewise.
9845 * sysdeps/unix/bsd/setsid.c: Likewise.
9846 * sysdeps/unix/bsd/setuid.c: Likewise.
9847 * sysdeps/unix/bsd/sigaction.c: Likewise.
9848 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9849 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9850 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9851 * sysdeps/unix/bsd/telldir.c: Likewise.
9852 * sysdeps/unix/bsd/times.c: Likewise.
9853 * sysdeps/unix/bsd/usleep.c: Likewise.
9855 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9856 ($(objpfx)libbsd-compat.a): Remove rule.
9858 * include/features.h (__FAVOR_BSD): Do not define.
9859 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9860 features conflicting with POSIX.
9861 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9862 (_BSD_SOURCE): Remove description of not being a subset of other
9863 feature test macros.
9864 * manual/job.texi (getpgrp): Do not document BSD version.
9865 (getpgid): Do not document by reference to BSD getpgrp.
9866 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9867 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9868 * signal/signal.h [__FAVOR_BSD]: Likewise.
9869 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9870 instead of making contents conditional on [__FAVOR_BSD].
9871 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9873 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9877 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9880 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9881 values below 2**-450, not 2**-500.
9882 * math/auto-libm-test-in: Don't allow spurious underflow from
9884 * math/auto-libm-test-out: Regenerated.
9888 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9889 values of ha and hb and sort them after adjusting subnormal
9891 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9893 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9894 values of ea and eb and sort them after adjusting subnormal
9896 * math/auto-libm-test-in: Do not expect some hypot tests of
9897 subnormals to fail. Add more hypot tests.
9898 * math/auto-libm-test-out: Regenerated.
9900 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9903 * sysdeps/sh/s_fma.c: New file.
9904 * sysdeps/sh/s_fmaf.c: New file.
9905 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9907 * sysdeps/sh/Implies: Add sh/soft-fp.
9909 2013-12-16 Roland McGrath <roland@hack.frob.com>
9911 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9912 level of indirection to members `objname', `errstring', `malloced'.
9913 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9914 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9915 it as the __longjmp argument (just pass 1 instead).
9916 (_dl_catch_error): Initialize C with argument pointers and address of
9917 volatile local ERRCODE rather than copying values out of C at return.
9919 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9921 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9922 * math/auto-libm-test-out: Regenerated.
9923 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9924 (hypot_test_data): Likewise.
9925 (pow_test_data): Likewise.
9926 (pow_tonearest_test_data): Likewise.
9927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9929 (func_calc_desc): Add mpfr_ff_f union field.
9930 (FUNC_mpfr_ff_f): New macro.
9931 (test_functions): Add atan2, hypot and pow.
9932 (special_fill_min): New function.
9933 (special_fill_minus_min): Likewise.
9934 (special_fill_min_subnorm): Likewise.
9935 (special_fill_minus_min_subnorm): Likewise.
9936 (special_real_inputs): Add min, -min, min_subnorm and
9938 (calc_generic_results): Handle mpfr_ff_f.
9939 * sysdeps/i386/fpu/libm-test-ulps: Update.
9940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9942 2013-12-16 Will Newton <will.newton@linaro.org>
9944 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9945 (Aligned Memory Blocks): Add documentation for aligned_alloc
9946 and suggest it as an alternative to posix_memalign.
9947 (Hooks for Malloc): Document __memalign_hook is also called
9948 for aligned_alloc. (Summary of Malloc): Add summary for
9949 aligned alloc. Document __memalign_hook is also called
9952 2013-12-16 Will Newton <will.newton@linaro.org>
9954 * manual/memory.texi (Malloc Examples): Clarify default
9955 alignment documentation. Suggest posix_memalign rather
9956 than memalign or valloc.
9957 (Aligned Memory Blocks): Remove suggestion to use memalign
9958 or valloc. Remove obsolete comment about BSD.
9959 Document memalign errno values and mark the function obsolete.
9960 Document posix_memalign returned error codes. Mark valloc
9961 as obsolete. (Hooks for Malloc): __memalign_hook is also
9962 called for posix_memalign and valloc.
9963 (Summary of Malloc): Add posix_memalign to function summary.
9964 __memalign_hook is also called for posix_memalign and valloc.
9966 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9968 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9972 (sloww): Use mynumber union. Expand ternary operator into
9974 (cslow): use mynumber union.
9976 2013-12-16 Allan McRae <allan@archlinux.org>
9978 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9979 * configure: Regenerated.
9981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9984 * configure.ac: Added --enable-maintainer-mode. Check for
9985 autoconf when enabled.
9986 * configure: Regenerated.
9988 * nscd/nscd.service: New file.
9989 * nscd/nscd.tmpfiles: New file.
9991 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9994 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9995 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9996 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9997 (strstr): Add __strstr_sse2_unaligned ifunc.
9998 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9999 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10000 (strcasestr): Remove __strcasestr_sse42 ifunc.
10001 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10005 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10007 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10008 * sysdeps/sh/bits/fenv.h: ... here.
10009 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10011 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10013 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10016 hypotf multiarch implementations.
10017 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10018 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10019 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10020 multiarch hypot for PPC64.
10021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10024 multiarch hypotf for PPC64.
10026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10027 modff multiarch implementations.
10028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10031 multiarch modf for PPC64.
10032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10035 multiarch modff for PPC64.
10037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10038 and logl multiarch implementations.
10039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10042 multiarch logb for PPC64.
10043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10046 multiarch logb for PPC64.
10047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10050 multiarch logb for PPC64.
10052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10053 isinff multiarch implementation.
10054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10058 multiarch isinf for PPC64.
10059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10062 multiarch isinff for PPC64.
10064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10065 finitef multiarch implementation.
10066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10070 multiarch finite for PPC64.
10071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10074 multiarch finitef for PPC64.
10076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10077 lrint multiarch implementation.
10078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10082 multiarch llrint for PPC64.
10083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10084 multiarch lrint for PPC64.
10086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10087 copysignf multiarch implementation.
10088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10093 multiarch copysign for PPC64.
10094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10095 multiarch copysignf for PPC64.
10097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10098 multiarch implementation.
10099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10107 multiarch llround for PPC64.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10109 multiarch trunc for PPC64.
10110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10111 multiarch truncf for PPC64.
10113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10114 multiarch implementation.
10115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10123 multiarch llround for PPC64.
10124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10125 multiarch round for PPC64.
10126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10127 multiarch roundf for PPC64.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10130 multiarch implementation.
10131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10139 multiarch llround for PPC64.
10140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10141 multiarch floor for PPC64.
10142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10143 multiarch floorf for PPC64.
10145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10146 multiarch implementation.
10147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10155 multiarch llround for PPC64.
10156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10157 multiarch ceil for PPC64.
10158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10159 multiarch ceilf for PPC64.
10161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10162 multiarch implementation.
10163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10170 multiarch llround for PPC64.
10171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10172 multiarch lround for PPC64.
10174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10175 multiarch implementation.
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10183 multiarch isnan for PPC64.
10184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10185 multiarch isnanf for PPC64.
10187 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10188 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10189 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10190 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10191 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10194 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10195 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10197 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10200 multiarch implementations.
10201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10202 (__libc_ifunc_impl_list): Likewise.
10203 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10204 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10205 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10206 multiarch stpcpy for PPC64.
10208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10209 multiarch implementations.
10210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10211 (__libc_ifunc_impl_list): Likewise.
10212 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10213 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10214 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10215 multiarch strcpy for PPC64.
10217 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10218 redefine function name.
10219 (_wordcopy_fwd_dest_aligned): Likewise.
10220 (_wordcopy_bwd_aligned): Likewise.
10221 (_wordcopy_bwd_dest_aligned): Likewise.
10222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10223 multiarch implementations.
10224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10225 (__libc_ifunc_impl_list): Likewise.
10226 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10227 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10228 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10229 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10230 multiarch wcscpy for PPC64.
10232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10233 multiarch implementations.
10234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10235 (__libc_ifunc_impl_list): Likewise.
10236 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10237 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10238 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10239 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10240 multiarch wcscpy for PPC64.
10242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10243 multiarch implementations.
10244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10245 (__libc_ifunc_impl_list): Likewise.
10246 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10247 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10248 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10250 multiarch wcsrchr for PPC64.
10252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10253 multiarch implementations.
10254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10255 (__libc_ifunc_impl_list): Likewise.
10256 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10257 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10258 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10259 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10260 multiarch wcschr for PPC64.
10262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10263 multiarch implementations.
10264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10265 (__libc_ifunc_impl_list): Likewise.
10266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10267 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10268 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10269 multiarch strchrnul for PPC64.
10271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10274 (__libc_ifunc_impl_list): Likewise.
10275 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10276 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10277 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10278 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10284 (__libc_ifunc_impl_list): Likewise.
10285 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10286 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10287 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10288 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10292 multiarch implementations.
10293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10294 (__libc_ifunc_impl_list): Likewise.
10295 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10296 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10297 strncasecmp for PPC64.
10298 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10299 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10300 multiarch strncasecmp_l for PPC64.
10302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10303 multiarch implementations.
10304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10305 (__libc_ifunc_impl_list): Likewise.
10306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10307 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10308 multiarch strcasecmp for PPC64.
10309 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10311 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10312 multiarch strcasecmp_l for PPC64.
10314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10317 (__libc_ifunc_impl_list): Likewise.
10318 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10319 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10320 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10326 (__libc_ifunc_impl_list): Likewise.
10327 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10328 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10329 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10335 (__libc_ifunc_impl_list): Likewise.
10336 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10337 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10338 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10339 rawmemrchr for PPC64.
10341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10344 (__libc_ifunc_impl_list): Likewise.
10345 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10346 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10347 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10353 (__libc_ifunc_impl_list): Likewise.
10354 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10355 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10356 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10362 (__libc_ifunc_impl_list): Likewise.
10363 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10364 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10365 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10368 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10369 avoid cretion of __bzero symbol.
10370 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10372 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10374 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10377 multiarch implementations.
10378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10379 (__libc_ifunc_impl_list): Likewise.
10380 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10381 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10382 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10383 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10385 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10386 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10387 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10388 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10389 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10391 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10393 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10397 (__libc_ifunc_impl_list): Likewise.
10398 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10399 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10400 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10401 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10405 multiarch for POWER/PPC64.
10406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10407 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10408 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10409 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10411 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10412 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10413 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10414 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10417 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10418 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10419 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10420 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10421 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10422 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10423 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10424 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10425 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10426 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10427 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10428 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10429 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10430 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10431 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10440 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10442 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10444 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10446 * benchtests/Makefile (bench): Add exp2 and log2.
10447 (LDLIBS-bench-exp2): Add -lm.
10448 (LDLIBS-bench-log2): Likewise.
10449 * benchtests/exp2-inputs: New inputs file.
10450 * benchtests/log2-inputs: New inputs file.
10451 * benchtests/log-inputs: Add new inputs.
10452 * benchtests/tan-inputs: Likewise.
10454 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10456 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10458 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10459 (csloww2): ... from here.
10461 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10462 instead of structures.
10463 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10464 (POLYNOMIAL): Likewise.
10465 (TAYLOR_SLOW): Likewise.
10471 (sloww1); Likewise.
10472 (sloww2): Likewise.
10473 (bsloww1): Likewise.
10474 (bsloww2): Likewise.
10475 (cslow2): Likewise.
10476 (csloww): Likewise.
10477 (csloww1): Likewise.
10478 (csloww2): Likewise.
10480 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10482 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10483 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10484 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10485 * malloc/hooks.c (realloc_check): Likewise.
10487 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10488 * malloc/arena.c: Remove PER_THREAD conditional.
10489 [!PER_THREAD]: Remove code.
10490 (ptmalloc_unlock_all2): Likewise.
10491 (ptmalloc_init): Likewise.
10492 (_int_new_arena): Likewise.
10493 (arena_get2): Likewise.
10494 * malloc/hooks.c (__malloc_get_state): Likewise.
10495 (__malloc_set_state): Likewise.
10496 * malloc/malloc.c: Likewise.
10497 (struct malloc_state): Likewise.
10498 (struct malloc_par): Likewise.
10499 (__libc_realloc): Likewise.
10500 (__libc_mallopt): Likewise.
10502 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10504 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10506 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10508 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10509 macro to a function. Check for zero perturb_byte.
10510 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10512 * malloc/malloc.c: (force_reg): Remove.
10513 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10514 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10515 force_reg by atomic_forced_read.
10516 * malloc/arena.c (ptmalloc_init): Likewise.
10517 * malloc/hooks.c (top_check): Likewise.
10519 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10523 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10527 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10529 * math/auto-libm-test-in: Add tests of lgamma.
10530 * math/auto-libm-test-out: Regenerated.
10531 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10532 (M_LOG_2_SQRT_PIl): Likewise.
10533 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10534 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10536 (func_calc_desc): Add mpfr_f_f1 union field.
10537 (ARGS1): New macro.
10545 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10546 (test_functions): Add lgamma.
10547 (calc_generic_results): Handle mpfr_f_f1.
10548 * sysdeps/i386/fpu/libm-test-ulps: Update.
10549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10551 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10553 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10554 __mpn_add_n for PowerPC64/POWER7.
10555 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10556 __mpn_sub_n for PowerPC64/POWER7.
10558 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10559 __mpn_addmul_1 for PowerPC64.
10560 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10561 __mpn_submul_1 for PowerPC64.
10562 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10564 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10567 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10570 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10572 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10574 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10576 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10577 add multiarch folders.
10578 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10579 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10580 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10581 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10582 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10583 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10584 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10585 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10586 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10587 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10588 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10597 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10603 multiarch __ieee754_hypot for PowerPC32.
10604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10609 multiarch __ieee754_hypotf for PowerPC32.
10611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10612 long_double_symbol only if __logbl is defined.
10613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10614 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10616 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10618 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10620 path for implementation.
10621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10624 logb, and logbl multiarch implementations for PowerPC32.
10625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10630 multiarch logb for PowerPC32.
10631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10636 multiarch logbf for PowerPC32.
10637 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10641 multiarch logbl implementation for PowerPC32.
10643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10644 and modff multiarch implementations.
10645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10650 multiarch modf for PowerPC32.
10651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10656 multiarch modff for PowerPC32.
10658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10659 and lrintf multiarch implementations.
10660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10665 multiarch lrint for PowerPC32.
10666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10667 file: multiarch lrintf for PowerPC32.
10669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10670 and lroundf multiarch implementations.
10671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10678 multiarch lround for PowerPC32.
10679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10680 file: multiarch lroundf for PowerPC32.
10682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10683 copysign and copysignf multiarch implementations.
10684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10689 file: multiarch copysign for PowerPC32.
10690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10691 file: multiarch copysignf for PowerPC32.
10693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10694 and truncf multiarch implementations.
10695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10700 multiarch trunc for PowerPC32.
10701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10706 multiarch truncf for PowerPC32.
10708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10709 and roundf multiarch implementations.
10710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10715 multiarch round for PowerPC32.
10716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10721 multiarch roundf for PowerPC32.
10723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10724 and floorf multiarch implementations.
10725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10730 multiarch floor for PowerPC32.
10731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10736 multiarch floorf for PowerPC32.
10738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10739 and ceilf multiarch implementations.
10740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10745 multiarch ceil for PowerPC32.
10746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10751 multiarch ceilf for PowerPC32.
10753 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10755 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10756 FINITEF is defined.
10757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10758 and finitef multiarch implementations.
10759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10764 multiarch finite for PowerPC32.
10765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10768 file: multiarch finitef for PowerPC32.
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10771 and isinff multiarch implementations.
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10777 multiarch isinf for PowerPC32.
10778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10781 multiarch isinff for PowerPC32.
10783 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10784 alias when __isnan is defined.
10785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10786 and isnanf multiarch implementations.
10787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10796 multiarch isnan for PowerPC32.
10797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10802 multiarch isnanf for PowerPC32.
10804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10805 and sqrtf multiarch implementations.
10806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10811 multiarch sqrt for PowerPC32.
10812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10817 multiarch sqrtf for PowerPC32.
10819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10820 and llroundf multiarch implementations.
10821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10828 file: multiarch llround for PowerPC32.
10829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10830 file: multiarch llroundf for PowerPC32.
10832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10833 multiarch PowerPC32 fpu implementations.
10834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10839 multiarch llrint for PowerPC32.
10840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10849 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10851 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10853 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10855 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10856 multiarch wordcopy for PPC32.
10857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10860 (__libc_ifunc_impl_list): Likewise.
10861 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10862 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10864 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10865 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10866 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10868 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10876 multiarch wcscpy for PPC32.
10877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10880 (__libc_ifunc_impl_list): Likewise.
10881 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10882 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10883 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10884 sysdeps/powerpc/power6/wcscpy.c.
10886 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10894 multiarch wcsrchr for PPC32.
10895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10898 (__libc_ifunc_impl_list): Likewise.
10899 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10900 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10901 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10902 sysdeps/powerpc/power6/wcsrchr.c.
10904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10910 multiarch wcschr for PPc32.
10911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10914 (__libc_ifunc_impl_list): Likewise.
10915 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10916 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10917 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10918 sysdeps/powerpc/power6/wcschr.c.
10920 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10921 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10923 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10924 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10925 file: multiarch strchr for PPC32.
10926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10929 (__libc_ifunc_impl_list): Likewise.
10931 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10933 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10935 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10937 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10938 multiarch strchrnul for PPC32.
10939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10942 (__libc_ifunc_impl_list): Likewise.
10944 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10946 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10947 multiarch strncasecmp for PPC32.
10948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10951 multiarch strncasecmp_l for PPC32.
10952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10953 strncasecmp multiarch objects.
10954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10955 (__libc_ifunc_impl_list): Likewise.
10957 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10959 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10960 multiarch strncasecmp for PPC32.
10961 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10963 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10964 multiarch strcasecmp_l for PPC32.
10965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10968 (__libc_ifunc_impl_list): Likewise.
10970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10975 multiarch strncmp for PPC32.
10976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10979 (__libc_ifunc_impl_list): Likewise.
10981 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10982 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10985 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10989 (__libc_ifunc_impl_list): Likewise.
10991 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10999 (__libc_ifunc_impl_list): Likewise.
11001 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11003 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11005 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11006 multiarch rawmemchr for PPC32.
11007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11010 (__libc_ifunc_impl_list): Likewise.
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11014 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11016 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11017 file: memrchr multiarch for PPC32.
11018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11021 (__libc_ifunc_impl_list): Likewise.
11023 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11024 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11027 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11028 multiarch memchr for PPC32.
11029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11032 (__libc_ifunc_impl_list): Likewise.
11034 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11035 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11037 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11039 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11040 file: multiarch mempcpy for PPC32.
11041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11044 (__libc_ifunc_impl_list): Likewise.
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11047 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11048 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11049 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11050 multiarch bzero for PPC32.
11051 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11055 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11056 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11057 file: multiarch memset for PPC32.
11058 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11060 memset multiarch objects.
11061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11062 (__libc_ifunc_impl_list): Likewise.
11064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11066 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11069 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11073 (__libc_ifunc_impl_list): Likewise.
11075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11084 multiarch memcpy for PPC32.
11085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11088 (__libc_ifunc_impl_list): Likewise.
11090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11091 support multiarch for POWER/PPC32.
11092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11094 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11096 Implies file to make multiarch folder appers before the fpu and
11097 default folder for power4 configuration.
11099 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11101 * scripts/bench.pl: Append volatile keyword to type.
11103 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11105 * sysdeps/sh/sotruss-lib.c: New file.
11106 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11108 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11112 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11115 * math/w_tgamma.c: Include <errno.h>.
11116 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11117 * math/w_tgammaf.c: Include <errno.h>.
11118 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11119 * math/w_tgammal.c: Include <errno.h>.
11120 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11121 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11122 underflow. Add more tgamma tests.
11123 * math/auto-libm-test-out: Regenerated.
11124 * sysdeps/i386/fpu/libm-test-ulps: Update.
11125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11127 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11128 sin, sinh, tan, tanh, tgamma, y0 and y1.
11129 * math/auto-libm-test-out: Regenerated.
11130 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11131 (TEST_COND_x86): Likewise.
11132 (M_E2l): Remove macro.
11134 (M_2_SQRT_PIl): Likewise.
11135 (M_SQRT_PIl): Likewise.
11136 (M_1_DIV_El): Likewise.
11137 (log_test_data): Use AUTO_TESTS_f_f.
11138 (log10_test_data): Likewise.
11139 (log1p_test_data): Likewise.
11140 (log2_test_data): Likewise.
11141 (sin_test_data): Likewise.
11142 (sin_tonearest_test_data): Likewise.
11143 (sin_towardzero_test_data): Likewise.
11144 (sin_downward_test_data): Likewise.
11145 (sin_upward_test_data): Likewise.
11146 (sinh_test_data): Likewise.
11147 (sinh_tonearest_test_data): Likewise.
11148 (sinh_towardzero_test_data): Likewise.
11149 (sinh_downward_test_data): Likewise.
11150 (sinh_upward_test_data): Likewise.
11151 (tan_test_data): Likewise.
11152 (tan_tonearest_test_data): Likewise.
11153 (tan_towardzero_test_data): Likewise.
11154 (tan_downward_test_data): Likewise.
11155 (tan_upward_test_data): Likewise.
11156 (tanh_test_data): Likewise.
11157 (tgamma_test_data): Likewise.
11158 (y0_test_data): Likewise.
11159 (y1_test_data): Likewise.
11160 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11161 (special_real_inputs): Add pi/4.
11162 * sysdeps/i386/fpu/libm-test-ulps: Update.
11163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11167 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11168 "longjmp_target" static probes.
11169 (__longjmp): Rename to __longjmp_symbol.
11170 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11171 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11172 on which longjmp to generate.
11173 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11174 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11176 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11177 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11178 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11179 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11180 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11181 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11183 __longjmp_symbol based on which __longjmp to generate.
11184 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11186 (setjmp): Rename to setjmp_symbol.
11187 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11188 (_setjmp): Rename to _setjmp_symbol.
11189 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11190 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11191 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11192 which setjmp to generate.
11193 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11194 "longjmp_target" static probes.
11196 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11198 * benchtests/README: Add note about output arguments.
11199 * benchtests/bench-sincos.c: Remove file.
11200 * benchtests/sincos-inputs: New file.
11201 * scripts/bench.pl: Identify output arguments and define
11202 static variables for them.
11204 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11207 * Makefile (INSTALL): Add install-plain.texi as the primary
11209 * manual/install-plain.texi: New file.
11210 * manual/install.texi: Include node directive only for
11211 non-plaintext output.
11213 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11215 * stdlib/longlong.h: Update from GCC.
11219 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11220 * math/w_j0f.c (y0f): Likewise.
11221 * math/w_j0l.c (__y0l): Likewise.
11222 * math/w_j1.c (y1): Likewise.
11223 * math/w_j1f.c (y1f): Likewise.
11224 * math/w_j1l.c (__y1l): Likewise
11225 * math/w_jn.c (yn): Likewise.
11226 * math/w_jnf.c (ynf): Likewise.
11227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11228 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11229 value for Bessel function domain errors outside _SVID_ mode.
11230 Adjust sign of return value for yn (negative integer, 0).
11231 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11232 by zero in return for negative x and set sign appropriately for
11234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11236 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11237 expectations in error cases.
11238 (y1_test_data): Likewise.
11239 (yn_test_data): Likewise.
11240 * sysdeps/i386/fpu/libm-test-ulps: Update.
11241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11243 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11245 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11246 "64" to "64-v1". Add "64-v2".
11247 (abi-64-options): Rename to ...
11248 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11249 (abi-64-condition): Rename to ...
11250 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11251 (abi-64-ld-soname): Rename to ...
11252 (abi-64-v1-ld-soname): ... this.
11253 (abi-64-v2-options): Define.
11254 (abi-64-v2-condition): Likewise.
11255 (abi-64-v2-ld-soname): Likewise.
11256 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11257 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11262 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11263 Alan Modra <amodra@gmail.com>
11265 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11266 New versions for use with the ELFv2 ABI.
11267 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11268 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11270 (struct La_ppc64v2_retval): Likewise.
11271 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11272 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11273 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11274 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11275 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11276 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11277 Do not save or restore CR.
11278 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11279 (_dl_profile_resolve): Do no save or restore CR. Support extended
11280 return values for ELFv2 ABI. Fix location of FPR return registers.
11281 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11282 updated values for _CALL_ELF == 2.
11283 (La_regs, La_retval, int_retval): Likewise.
11285 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11287 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11288 (FRAME_MIN_SIZE_PARM): Likewise.
11289 (FRAME_BACKCHAIN): Likewise.
11290 (FRAME_CR_SAVE): Likewise.
11291 (FRAME_LR_SAVE): Likewise.
11292 (FRAME_TOC_SAVE): Likewise.
11293 (FRAME_PARM_SAVE): Likewise.
11294 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11295 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11296 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11297 (call_mcount_parm_offset): New macro.
11298 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11299 (PROF): Use symbolic stack frame offsets.
11300 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11302 Redefine in terms of FRAME_MIN_SIZE.
11303 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11304 (_dl_profile_resolve): Likewise. Update comment.
11305 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11306 symbols stack frame offsets.
11307 (__sigsetjmp): Likewise.
11308 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11309 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11310 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11311 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11314 (FRAME_BACKCHAIN): Remove.
11315 (FRAME_CR_SAVE): Likewise.
11316 (FRAME_LR_SAVE): Likewise.
11317 (FRAME_COMPILER_DW): Likewise.
11318 (FRAME_LINKER_DW): Likewise.
11319 (FRAME_TOC_SAVE): Likewise.
11320 (FRAME_PARM_SAVE): Likewise.
11321 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11322 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11323 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11325 (CHECK_SP): Use symbolic stack frame offsets.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11327 zone" instead of caller's parameter save area for temp storage.
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11329 Likewise. Also, use symbolic stack frame offsets.
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11331 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11332 our own stack frame instead of the caller's.
11333 (__socket): Use symbolic stack frame offsets.
11335 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11336 Alan Modra <amodra@gmail.com>
11338 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11340 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11341 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11342 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11344 (elf_machine_fixup_plt): Call it.
11345 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11347 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11349 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11350 r2 before calling target.
11352 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11353 Alan Modra <amodra@gmail.com>
11355 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11356 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11357 versions of macros to support ELFv2 ABI.
11358 (LOCALENTRY): New macro.
11359 (ENTRY, EALIGN): Use it.
11360 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11361 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11362 fall through into ENTRY entry point.
11363 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11364 Only define if _CALL_ELF != 2.
11366 (elf_machine_matches_host): Verify ABI version matches.
11367 (RTLD_START): Use LOCALENTRY.
11368 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11369 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11370 (PLT_ENTRY_WORDS): New macro.
11371 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11372 (elf_machine_runtime_setup): Support ELFv2 ABI.
11373 (elf_machine_fixup_plt): Likewise.
11374 (elf_machine_plt_conflict): Likewise.
11375 (resolve_ifunc): Likewise.
11376 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11380 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11382 (makecontext): Support ELFv2 ABI.
11383 * elf/elf.h (EF_PPC64_ABI): Define.
11385 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11387 * sysdeps/powerpc/powerpc64/sysdep.h
11388 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11389 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11390 (ENTRY) [ASSEMBLER]: ... but instead here ...
11391 (EALIGN) [ASSEMBLER]: ... and here.
11392 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11393 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11394 (ENTRY_2) [!ASSEMBLER]: Use it.
11395 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11396 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11397 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11398 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11399 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11401 Use PPC64_LOAD_FUNCPTR.
11403 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11405 2013-12-04 Alan Modra <amodra@gmail.com>
11407 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11408 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11409 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11410 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11413 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11414 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11415 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11416 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11417 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11419 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11422 (__makecontext): Fix incorrect CFI when backtracing out of
11423 context created via makecontext.
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11425 (__setcontext): Fix incorrect CFI during switch to new context.
11426 (__novec_setcontext): Likewise.
11428 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11431 * time/strptime_l.c (__strptime_internal): Allow modifiers
11433 * time/tst-strptime.c (day_tests): Add testcase.
11435 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11437 * scripts/bench.pl: Skip over blank lines.
11439 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11442 * manual/time.texi (Calendar Time): Clarify what timezone functions
11445 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11449 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11451 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11453 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11454 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11455 * debug/memset_chk.c (__memset_chk): Likewise.
11456 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11457 * debug/strncpy_chk.c: Likewise.
11459 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11463 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11464 (__ieee754_exp): For possibly underflowing results, check size of
11465 result and force underflow exception if required.
11466 * math/auto-libm-test-in: Add more tests of exp.
11467 * math/auto-libm-test-out: Regenerated.
11468 * sysdeps/i386/fpu/libm-test-ulps: Update.
11469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11472 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11473 * math/w_exp2f.c (__exp2f): Likewise.
11474 * math/w_exp2l.c (__exp2l): Likewise.
11475 * math/auto-libm-test-in: Do not allow missing errno on exp2
11477 * math/auto-libm-test-out: Regenerated.
11479 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11482 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11483 handle filename validation.
11484 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11487 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11490 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11491 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11492 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11494 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11496 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11497 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11498 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11500 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11501 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11502 Add more erfc tests.
11503 * math/auto-libm-test-out: Regenerated.
11504 * sysdeps/i386/fpu/libm-test-ulps: Update.
11505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11507 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11508 exp2, expm1, j0 and j1.
11509 * math/auto-libm-test-out: Regenerated.
11510 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11511 (erfc_test_data): Likewise.
11512 (exp_test_data): Likewise.
11513 (exp_tonearest_test_data): Likewise.
11514 (exp_towardzero_test_data): Likewise.
11515 (exp_downward_test_data): Likewise.
11516 (exp_upward_test_data): Likewise.
11517 (exp10_test_data): Likewise.
11518 (exp2_test_data): Likewise.
11519 (expm1_test_data): Likewise.
11520 (j0_test_data): Likewise.
11521 (j1_test_data): Likewise.
11522 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11523 (input_flag_type): Add flag_xfail_rounding.
11524 (input_flags): Add xfail-rounding.
11525 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11526 (output_for_one_input_case): Handle flag_xfail_rounding.
11527 * sysdeps/i386/fpu/libm-test-ulps: Update.
11528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11530 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11533 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11536 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11539 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11540 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11541 (STAP_PROBE0): New macro.
11542 (STAP_PROBE1): Likewise.
11543 (STAP_PROBE2): Likewise.
11544 (STAP_PROBE3): Likewise.
11545 (STAP_PROBE4): Likewise.
11547 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11549 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11551 2013-12-02 Steve Ellcey <sellcey@mips.com>
11553 * benchtests/Makefile (bench): Add sqrt.
11554 (LDLIBS-bench-sqrt): New.
11555 * benchtests/sqrt-input: New.
11557 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11559 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11560 (GAIH_EAI): Likewise.
11561 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11562 (gaih_inet): Likewise.
11563 (getaddrinfo): Don't use GAIH_EAI.
11565 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11566 (struct gaih): Remove definition.
11568 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11570 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11571 Use HERRNOP directly.
11573 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11577 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11579 * math/gen-auto-libm-tests.c (test_functions): Add more
11580 single-argument functions.
11581 (special_fill_pi_2): New function.
11582 (special_fill_minus_pi_2): Likewise.
11583 (special_fill_pi_6): Likewise.
11584 (special_fill_minus_pi_6): Likewise.
11585 (special_fill_pi_3): Likewise.
11586 (special_fill_2pi_3): Likewise.
11587 (special_fill_e): Likewise.
11588 (special_fill_1_e): Likewise.
11589 (special_fill_e_minus_1): Likewise.
11590 (special_real_inputs): Add more special inputs.
11591 (output_for_one_input_case): Do not require ERANGE on underflow to
11592 zero if round-to-nearest result does not underflow to zero, unless
11593 exact results required.
11594 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11595 atan, atanh, cbrt, cos and cosh.
11596 * math/auto-libm-test-out: Regenerated.
11597 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11598 (acos_tonearest_test_data): Likewise.
11599 (acos_towardzero_test_data): Likewise.
11600 (acos_downward_test_data): Likewise.
11601 (acos_upward_test_data): Likewise.
11602 (acosh_test_data): Likewise.
11603 (asin_test_data): Likewise.
11604 (asin_tonearest_test_data): Likewise.
11605 (asin_towardzero_test_data): Likewise.
11606 (asin_upward_test_data): Likewise.
11607 (asinh_test_data): Likewise.
11608 (atan_test_data): Likewise.
11609 (atanh_test_data): Likewise.
11610 (cbrt_test_data): Likewise.
11611 (cos_test_data): Likewise.
11612 (cos_tonearest_test_data): Likewise.
11613 (cos_towardzero_test_data): Likewise.
11614 (cos_downward_test_data): Likewise.
11615 (cos_upward_test_data): Likewise.
11616 (cosh_test_data): Likewise.
11617 (cosh_tonearest_test_data): Likewise.
11618 (cosh_towardzero_test_data): Likewise.
11619 (cosh_downward_test_data): Likewise.
11620 (cosh_upward_test_data): Likewise.
11621 * sysdeps/i386/fpu/libm-test-ulps: Update.
11622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11624 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11627 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11628 * math/w_exp10f.c (__exp10f): Likewise.
11629 * math/w_exp10l.c (__exp10l): Likewise.
11630 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11631 errno settings in existing tests.
11634 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11635 precision control set to double precision.
11636 * sysdeps/i386/fpu/w_sqrt.c: New file.
11637 * math/auto-libm-test-in: Add more tests.
11638 * math/auto-libm-test-out: Update.
11640 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11641 (sqrt_test_tonearest): New function.
11642 (sqrt_towardzero_test_data): New variable.
11643 (sqrt_test_towardzero): New function.
11644 (sqrt_downward_test_data): New variable.
11645 (sqrt_test_downward): New function.
11646 (sqrt_upward_test_data): New variable.
11647 (sqrt_test_upward): New function.
11648 (main): Call the new functions.
11650 * math/gen-auto-libm-tests.c: New file.
11651 * math/auto-libm-test-in: Likewise.
11652 * math/auto-libm-test-out: New generated file.
11653 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11655 (%beautify): Add generated representations of zero.
11656 (top level): Set $auto_input and call parse_auto_input.
11657 (beautify): Remove trailing "f" from hex float constants.
11658 (parse_args): Handle XFAIL_TEST.
11659 (convert_condition): New function.
11660 (or_value): Likewise.
11661 (or_cond_value): Likewise.
11662 (generate_testfile): Handle AUTO_TESTS_* lines.
11663 (parse_auto_input): New function.
11664 * math/libm-test.inc (XFAIL_TEST): New macro.
11665 (ERRNO_UNCHANGED): Update value.
11666 (ERRNO_EDOM): Likewise.
11667 (ERRNO_ERANGE): Likewise.
11668 (IGNORE_RESULT): Likewise.
11669 (TEST_COND_flt_32): New macro.
11670 (TEST_COND_dbl_64): Likewise.
11671 (TEST_COND_ldbl_96_intel): Likewise.
11672 (TEST_COND_ldbl_96_m68k): Likewise.
11673 (TEST_COND_ldbl_128): Likewise.
11674 (TEST_COND_ldbl_128ibm): Likewise.
11675 (TEST_COND_long32): Likewise.
11676 (TEST_COND_long64): Likewise.
11677 (TEST_COND_before_rounding): Likewise.
11678 (TEST_COND_after_rounding): Likewise.
11679 (enable_test): Handle XFAIL_TEST flag.
11680 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11681 with finite results.
11682 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11683 auto-libm-test-out.
11685 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11686 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11689 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11690 __tls_get_addr_internal instead of __tls_get_offset in order to
11691 avoid GOT pointer dependency. Make rtld export
11692 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11693 __tls_get_addr since we are a __tls_get_offset platform.
11694 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11695 GOT pointer being set up before.
11696 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11698 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11700 * manual/math.texi (Errors in Math Functions): Document accuracy
11704 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11705 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11721 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11722 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11723 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11724 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11725 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11727 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11729 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11731 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11732 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11733 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11734 atomic-feupdateenv and flt-rounds.
11735 * sysdeps/powerpc/nofpu/Versions (libc): Add
11736 __atomic_feholdexcept, __atomic_feclearexcept,
11737 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11738 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11739 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11740 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11741 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11746 * manual/arith.texi (FP Exceptions): Document that exceptions may
11747 not be raised when matherr is used.
11748 (Math Error Reporting): Document overflow in directed rounding
11749 modes. Document that errno may not be set when finite values are
11750 returned on overflow. Document intent to set errno on underflow
11751 only for underflow to zero.
11754 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11755 round-to-nearest then adjust result for other rounding modes.
11756 * include/fenv.h (fegetround): Use libm_hidden_proto.
11757 * math/fegetround.c (fegetround): Use libm_hidden_def.
11758 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11759 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11760 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11761 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11763 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11764 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11765 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11766 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11768 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11771 * nss/Versions (libnss_files): Add
11772 _nss_files_gethostbyname3_r.
11773 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11775 (HOST_DB_LOOKUP): Remove macro.
11776 (_nss_files_gethostbyname_r): Implement function without the
11777 HOST_DB_LOOKUP macro.
11778 (_nss_files_gethostbyname2_r): Likewise.
11780 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11782 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11784 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11786 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11787 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11790 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11792 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11793 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11794 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11795 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11796 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11797 __fe_nomask_env_priv and attribute_hidden.
11798 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11799 (libc_feupdateenv_test_ppc): Likewise.
11800 (libc_feresetround_ppc): Likewise.
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11802 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11803 compat_symbol macro.
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11805 (__fe_nomask_env): Likewise.
11806 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11808 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11810 * string/Makefile: Remove ifunc tests.
11811 * string/test-string.h: Define TEST_IFUNC.
11812 * string/test-bcopy-ifunc.c: Remove.
11813 * string/test-bzero-ifunc.c: Likewise.
11814 * string/test-memccpy-ifunc.c: Likewise.
11815 * string/test-memchr-ifunc.c: Likewise.
11816 * string/test-memcmp-ifunc.c: Likewise.
11817 * string/test-memcpy-ifunc.c: Likewise.
11818 * string/test-memmem-ifunc.c: Likewise.
11819 * string/test-memmove-ifunc.c: Likewise.
11820 * string/test-mempcpy-ifunc.c: Likewise.
11821 * string/test-memrchr-ifunc.c: Likewise.
11822 * string/test-memset-ifunc.c: Likewise.
11823 * string/test-rawmemchr-ifunc.c: Likewise.
11824 * string/test-stpcpy-ifunc.c: Likewise.
11825 * string/test-stpncpy-ifunc.c: Likewise.
11826 * string/test-strcasecmp-ifunc.c: Likewise.
11827 * string/test-strcasestr-ifunc.c: Likewise.
11828 * string/test-strcat-ifunc.c: Likewise.
11829 * string/test-strchr-ifunc.c: Likewise.
11830 * string/test-strchrnul-ifunc.c: Likewise.
11831 * string/test-strcmp-ifunc.c: Likewise.
11832 * string/test-strcpy-ifunc.c: Likewise.
11833 * string/test-strcspn-ifunc.c: Likewise.
11834 * string/test-strlen-ifunc.c: Likewise.
11835 * string/test-strncasecmp-ifunc.c: Likewise.
11836 * string/test-strncat-ifunc.c: Likewise.
11837 * string/test-strncmp-ifunc.c: Likewise.
11838 * string/test-strncpy-ifunc.c: Likewise.
11839 * string/test-strnlen-ifunc.c: Likewise.
11840 * string/test-strpbrk-ifunc.c: Likewise.
11841 * string/test-strrchr-ifunc.c: Likewise.
11842 * string/test-strspn-ifunc.c: Likewise.
11843 * string/test-strstr-ifunc.c: Likewise.
11845 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11847 * benchtests/Makefile: Remove ifunc tests.
11848 * benchtests/bench-string.h: Define TEST_IFUNC.
11849 * benchtests/bench-bcopy-ifunc.c: Remove.
11850 * benchtests/bench-bzero-ifunc.c: Likewise.
11851 * benchtests/bench-memccpy-ifunc.c: Likewise.
11852 * benchtests/bench-memchr-ifunc.c: Likewise.
11853 * benchtests/bench-memcmp-ifunc.c: Likewise.
11854 * benchtests/bench-memcpy-ifunc.c: Likewise.
11855 * benchtests/bench-memmem-ifunc.c: Likewise.
11856 * benchtests/bench-memmove-ifunc.c: Likewise.
11857 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11858 * benchtests/bench-memrchr-ifunc.c: Likewise.
11859 * benchtests/bench-memset-ifunc.c: Likewise.
11860 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11861 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11862 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11863 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11864 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11865 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11866 * benchtests/bench-strcat-ifunc.c: Likewise.
11867 * benchtests/bench-strchr-ifunc.c: Likewise.
11868 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11869 * benchtests/bench-strcmp-ifunc.c: Likewise.
11870 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11871 * benchtests/bench-strcpy-ifunc.c: Likewise.
11872 * benchtests/bench-strcspn-ifunc.c: Likewise.
11873 * benchtests/bench-strlen-ifunc.c: Likewise.
11874 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11875 * benchtests/bench-strncat-ifunc.c: Likewise.
11876 * benchtests/bench-strncmp-ifunc.c: Likewise.
11877 * benchtests/bench-strncpy-ifunc.c: Likewise.
11878 * benchtests/bench-strnlen-ifunc.c: Likewise.
11879 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11880 * benchtests/bench-strrchr-ifunc.c: Likewise.
11881 * benchtests/bench-strsep-ifunc.c: Likewise.
11882 * benchtests/bench-strspn-ifunc.c: Likewise.
11883 * benchtests/bench-strstr-ifunc.c: Likewise.
11885 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11887 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11889 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11891 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11892 * rt/aio.h: Likewise.
11893 * sysdeps/gnu/bits/utmp.h: Likewise.
11894 * sysdeps/gnu/bits/utmpx.h: Likewise.
11895 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11896 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11897 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11898 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11899 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11900 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11901 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11902 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11903 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11904 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11905 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11906 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11907 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11909 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11910 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11911 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11912 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11913 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11914 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11915 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11916 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11917 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11918 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11919 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11921 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11922 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11923 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11924 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11925 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11926 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11927 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11928 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11929 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11930 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11931 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11932 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11933 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11934 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11935 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11936 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11938 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11941 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11942 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11944 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11946 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11947 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11950 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11953 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11954 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11955 (__fesetround): Remove define.
11956 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11957 rounding and exceptions handling.
11958 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11959 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11960 (__fe_nomask_env): Likewise.
11961 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11962 __fegetround instead of fegetround.
11963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11964 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11966 2013-11-21 Roland McGrath <roland@hack.frob.com>
11968 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11971 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11973 2013-11-21 Meador Inge <meadori@codesourcery.com>
11976 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11977 (encrypt_r): Likewise.
11978 * malloc/obstack.h (obstack_free): Likewise.
11979 * posix/unistd.h (encrypt): Likewise.
11981 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11983 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11984 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11985 DL_CALL_DT_FINI() that call the functions directly.
11986 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11987 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11988 * elf/dl-fini.c: Likewise.
11990 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11992 * malloc/hooks.c (memalign_check): Add alignment rounding.
11993 * malloc/malloc.c (_mid_memalign): New function.
11994 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11995 Implement by calling _mid_memalign.
11996 * manual/probes.texi (Memory Allocation Probes): Remove
11997 memory_valloc_retry and memory_pvalloc_retry.
11999 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12001 * locale/programs/locarchive.c (open_archive): Add const
12002 qualifier to ARCHIVEFNAME and copy default fname to
12006 * libio/tst-widetext.input: Rename Oriya to Odia.
12007 * locale/iso-639.def: Likewise.
12009 * manual/probes.texi (Mathematical Function Probes): Add
12010 documentation for sin, cos, asin and acos probes.
12011 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12012 (__sin32): Add slowasin probe.
12013 (__cos32): Add slowacos probe.
12014 (__mpsin): Add slowsin probe.
12015 (__mpcos): Add slowcos probe.
12017 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12020 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12021 thread-local __sim_exceptions_thread and global
12022 __sim_exceptions_global.
12023 (__sim_disabled_exceptions): Change to thread-local
12024 __sim_disabled_exceptions_thread and global
12025 __sim_disabled_exceptions_global.
12026 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12027 and global __sim_round_mode_global.
12028 (__simulate_exceptions): Use thread-local floating-point state and
12029 set global state from it as needed.
12030 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12031 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12032 __sim_round_mode_thread.
12033 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12034 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12035 and global __sim_exceptions_global.
12036 (__sim_disabled_exceptions): Change to thread-local
12037 __sim_disabled_exceptions_thread and global
12038 __sim_disabled_exceptions_global.
12039 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12040 and global __sim_round_mode_global.
12041 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12042 (SIM_SET_GLOBAL): Likewise.
12043 * sysdeps/powerpc/soft-fp/sfp-machine.h
12044 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12045 __sim_round_mode_thread.
12046 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12047 __sim_disabled_exceptions_thread.
12048 (__sim_exceptions): Change to __sim_exceptions_thread.
12049 (__sim_disabled_exceptions): Change to
12050 __sim_disabled_exceptions_thread.
12051 (__sim_round_mode): Change to __sim_round_mode_thread.
12052 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12053 thread-local floating-point state and set global state from it as
12055 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12056 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12057 (__sim_disabled_exceptions): Remove extern declaration.
12058 (feenableexcept): Use thread-local floating-point state and set
12059 global state from it as needed.
12060 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12061 extern declaration.
12062 (__sim_disabled_exceptions): Likewise.
12063 (__sim_round_mode): Likewise.
12064 (__fegetenv): Use thread-local floating-point state.
12065 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12066 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12067 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12068 floating-point state and set global state from it as needed.
12069 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12070 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12071 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12073 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12074 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12076 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12077 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12078 Use __sim_round_mode_thread.
12079 * math/test-fenv-tls.c: New file.
12080 * math/Makefile (tests): Add test-fenv-tls.
12081 ($(objpfx)test-fenv-tls): Depend on
12082 $(common-objpfx)nptl/libpthread.so.
12084 2013-11-19 Andreas Schwab <schwab@suse.de>
12086 * locale/programs/locale.c (show_info): Decode wordarray elements.
12087 * locale/categories.def (LC_MONETARY): Add element for
12088 _NL_MONETARY_CRNCYSTR.
12089 * locale/C-monetary.c (conversion_rate): New variable.
12090 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12093 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12095 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12096 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12098 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12100 * elf/Makefile (tst-auxv): New test.
12101 * elf/tst-auxv.c: New
12102 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12104 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12106 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12107 (hidden_proto): Caller changed.
12108 (hidden_tls_proto): New macro.
12109 (libc_hidden_tls_proto): Likewise.
12110 (rtld_hidden_tls_proto): Likewise.
12111 (libm_hidden_tls_proto): Likewise.
12112 (libresolv_hidden_tls_proto): Likewise.
12113 (librt_hidden_tls_proto): Likewise.
12114 (libdl_hidden_tls_proto): Likewise.
12115 (libnss_files_hidden_tls_proto): Likewise.
12116 (libnsl_hidden_tls_proto): Likewise.
12117 (libnss_nisplus_hidden_tls_proto): Likewise.
12118 (libutil_hidden_tls_proto): Likewise.
12120 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12123 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12124 (decompose_rpath): Defer expansion to fillin_rpath.
12125 (_dl_init_paths): Pass linkmap to fillin_rpath.
12127 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12129 * benchtests/Makefile: Add strsep.
12130 * benchtests/bench-strsep.c: New file: strsep benchtest.
12131 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12133 2013-11-18 Andreas Schwab <schwab@suse.de>
12135 * locale/programs/locale.c (show_info) [case byte]: Check for
12136 '\377' instead of '\177'.
12137 * locale/C-monetary.c (not_available): Always use "\377".
12138 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12139 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12140 detect unavailable sign_posn locale elements.
12141 * locale/localeconv.c (__localeconv): For grouping and
12142 mon_grouping handle "\177" and "\377" like no grouping.
12143 (INT_ELEM): New macro. Use it to set all numeric members.
12144 * locale/programs/ld-monetary.c (monetary_read)
12145 <tok_mon_grouping>: Normalize single -1 to the empty string.
12146 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12149 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12152 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12153 when we match (nil).
12154 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12156 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12158 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12159 (NO_TEST_INLINE): Update value.
12160 (ERRNO_UNCHANGED): Likewise.
12161 (ERRNO_EDOM): Likewise.
12162 (ERRNO_ERANGE): Likewise.
12163 (IGNORE_RESULT): Likewise.
12164 (check_float_internal): Check signs of NaN results if
12165 TEST_NAN_SIGN used.
12166 (check_complex): Pass TEST_NAN_SIGN flag through to second
12167 check_float_internal call.
12168 (copysign_test_data): Add tests with quiet NaNs as second
12169 argument. Use TEST_NAN_SIGN.
12170 (fabs_test_data): Add test of negative quiet NaN argument. Use
12172 (signbit_test_data): Add tests of quiet NaN argument.
12173 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12175 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12177 (parse_args): Handle function results specified as IGNORE.
12178 * math/libm-test.inc (IGNORE_RESULT): New macro.
12179 (check_float_internal): Do not check numerical result if flag
12181 (check_complex): Pass through IGNORE_RESULT to second
12182 check_float_internal call.
12183 (check_int): Do not check numerical result if flag IGNORE_RESULT
12185 (check_long): Likewise.
12186 (check_bool): Likewise.
12187 (check_longlong): Likewise.
12188 (lrint_test_data): Add tests of infinite and NaN arguments.
12189 (lrint_tonearest_test_data): Likewise.
12190 (lrint_towardzero_test_data): Likewise.
12191 (lrint_downward_test_data): Likewise.
12192 (lrint_upward_test_data): Likewise.
12193 (llrint_test_data): Likewise.
12194 (llrint_tonearest_test_data): Likewise.
12195 (llrint_towardzero_test_data): Likewise.
12196 (llrint_downward_test_data): Likewise.
12197 (llrint_upward_test_data): Likewise.
12198 (lround_test_data): Likewise.
12199 (llround_test_data): Likewise.
12201 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12202 (ERRNO_UNCHANGED): Update value.
12203 (ERRNO_EDOM): Likewise.
12204 (ERRNO_ERANGE): Likewise.
12205 (NO_TEST_INLINE_FLOAT): New macro.
12206 (NO_TEST_INLINE_DOUBLE): Likewise.
12207 (enable_test): New function.
12208 (RUN_TEST_f_f): Check enable_test before running test.
12209 (RUN_TEST_2_f): Likewise.
12210 (RUN_TEST_fff_f): Likewise.
12211 (RUN_TEST_c_f): Likewise.
12212 (RUN_TEST_f_f1): Likewise.
12213 (RUN_TEST_fF_f1): Likewise.
12214 (RUN_TEST_fI_f1): Likewise.
12215 (RUN_TEST_ffI_f1): Likewise.
12216 (RUN_TEST_c_c): Likewise.
12217 (RUN_TEST_cc_c): Likewise.
12218 (RUN_TEST_f_i): Likewise.
12219 (RUN_TEST_f_i_tg): Likewise.
12220 (RUN_TEST_ff_i_tg): Likewise.
12221 (RUN_TEST_f_b): Likewise.
12222 (RUN_TEST_f_b_tg): Likewise.
12223 (RUN_TEST_f_l): Likewise.
12224 (RUN_TEST_f_L): Likewise.
12225 (RUN_TEST_fFF_11): Likewise.
12226 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12228 (cosh_test_data): Likewise.
12229 (exp_test_data): Likewise.
12230 (expm1_test_data): Likewise.
12231 (hypot_test_data): Likewise.
12232 (pow_test_data): Likewise.
12233 (sinh_test_data): Likewise.
12234 (tanh_test_data): Likewise.
12235 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12238 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12239 tests with quiet NaN input and output.
12240 (acosh_test_data): Likewise.
12241 (asin_test_data): Likewise.
12242 (asinh_test_data): Likewise.
12243 (atan_test_data): Likewise.
12244 (atanh_test_data): Likewise.
12245 (atan2_test_data): Likewise.
12246 (cbrt_test_data): Likewise.
12247 (cos_test_data): Likewise.
12248 (cosh_test_data): Likewise.
12249 (erf_test_data): Likewise.
12250 (erfc_test_data): Likewise.
12251 (exp_test_data): Likewise.
12252 (exp10_test_data): Likewise.
12253 (exp2_test_data): Likewise.
12254 (expm1_test_data): Likewise.
12255 (hypot_test_data): Likewise.
12256 (j0_test_data): Likewise.
12257 (j1_test_data): Likewise.
12258 (jn_test_data): Likewise.
12259 (lgamma_test_data): Likewise.
12260 (log_test_data): Likewise.
12261 (log10_test_data): Likewise.
12262 (log1p_test_data): Likewise.
12263 (log2_test_data): Likewise.
12264 (pow_test_data): Likewise.
12265 (scalb_test_data): Likewise.
12266 (sin_test_data): Likewise.
12267 (sincos_test_data): Likewise.
12268 (sinh_test_data): Likewise.
12269 (tan_test_data): Likewise.
12270 (tanh_test_data): Likewise.
12271 (tgamma_test_data): Likewise.
12272 (y0_test_data): Likewise.
12273 (y1_test_data): Likewise.
12274 (yn_test_data): Likewise.
12277 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12278 argument being NaN and avoid computations with second argument in
12280 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12281 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12282 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12284 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12286 * locale/iso-639.def: Add Chitwani Tharu (the).
12288 2013-11-14 Andreas Schwab <schwab@suse.de>
12290 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12291 word instead of empty string.
12293 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12296 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12298 (__fe_nomask_env): Likewise.
12300 2013-11-13 Steve Ellcey <sellcey@mips.com>
12302 * benchtests/bench-timing.h: Include time.h.
12304 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12307 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12309 * sysdeps/unix/sysv/linux/configure: Regenerated.
12311 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12314 * stdlib/strtod_l.c (round_and_return): Do not consider
12315 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12316 exponent one less than half the least subnormal exponent.
12317 * stdlib/test-strtod-round-data: Add more tests.
12318 * stdlib/tst-strtod-round.c (tests): Regenerated.
12320 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12323 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12324 (__fe_mask_env): Likewise.
12325 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12326 libm_hidden_proto and add function prototype.
12327 (__fe_mask_env): Add function prototype.
12328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12329 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12331 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12333 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12335 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12337 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12338 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12340 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12342 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12343 of htab_find_slot().
12345 2013-11-11 David S. Miller <davem@davemloft.net>
12348 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12349 symbol in the non-vis3 case in static builds.
12350 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12351 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12352 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12353 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12355 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12358 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12361 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12363 * benchtests/Makefile: Add bench-strtod.
12364 * benchtests/bench-strtod.c: New file: strtod benchtest
12366 2013-11-11 Andreas Schwab <schwab@suse.de>
12369 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12370 terminating NUL in key length.
12372 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12375 Add artificial ODP entry for vDSO symbol for PPC64.
12376 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12377 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12379 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12382 * nss/getent.c (services_keys): Recognize services starting with digit.
12384 2013-11-06 David S. Miller <davem@davemloft.net>
12387 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12388 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12390 2013-11-06 Will Newton <will.newton@linaro.org>
12392 * manual/memory.texi (Malloc Examples): Remove register
12393 keyword from examples.
12395 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12397 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12399 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12402 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12403 depending on [__GCC_IEC_559 > 0].
12404 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12405 depending on [__GCC_IEC_559_COMPLEX > 0].
12407 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12409 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12412 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12414 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12416 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12419 * malloc/malloc (malloc_info): Do not handle first bin as
12422 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12424 * locale/iso-639.def: Add Central Nahuatl (nhn).
12426 2013-11-01 Bruno Haible <bruno@clisp.org>
12429 * manual/math.texi (BSD Random): Specify range upper bound as
12432 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12434 * locale/iso-639.def: Add Meadow Mari (mhr).
12436 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12438 [BZ #14752], [BZ #15763]
12439 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12441 * rt/tst_shm.c: Add test for escaping directory.
12443 2013-10-31 Andreas Schwab <schwab@suse.de>
12446 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12447 followed by 'x' as part of digit sequence.
12448 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12450 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12453 * configure.ac: allow GNU Make 4.0 and greater.
12454 * configure: Regenerated.
12456 2013-10-30 Will Newton <will.newton@linaro.org>
12459 * malloc/hooks.c (memalign_check): Limit alignment to the
12460 maximum representable power of two.
12461 * malloc/malloc.c (__libc_memalign): Likewise.
12462 * malloc/tst-memalign.c (do_test): Add test for very
12463 large alignment values.
12464 * malloc/tst-posix_memalign.c (do_test): Likewise.
12466 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12469 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12470 (munmap_chunk): Likewise.
12471 (mremap_chunk): Likewise.
12473 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12476 * stdlib/div.c (div): Remove obsolete code.
12477 * stdlib/ldiv.c (ldiv): Likewise.
12478 * stdlib/lldiv.c (lldiv): Likewise.
12480 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12483 * nss/nss_files/files-XXX.c (get_contents_ret): New
12485 (get_contents): New function.
12486 (internal_getent): Use it. Expand size of LINEBUFLEN.
12488 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12490 * configure.in: Moved to ...
12491 * configure.ac: ... here. Change reference to configure.in
12493 * sysdeps/arm/preconfigure.ac: ... here.
12494 configure.in to configure.ac.
12495 * sysdeps/gnu/configure.in: Moved to ...
12496 * sysdeps/gnu/configure.ac: ... here.
12497 * sysdeps/i386/configure.in: Moved to ...
12498 * sysdeps/i386/configure.ac: ... here.
12499 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12500 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12501 * sysdeps/mach/configure.in: Moved to ...
12502 * sysdeps/mach/configure.ac: ... here.
12503 * sysdeps/mach/hurd/configure.in: Moved to ...
12504 * sysdeps/mach/hurd/configure.ac: ... here.
12505 * sysdeps/powerpc/configure.in: Moved to ...
12506 * sysdeps/powerpc/configure.ac: ... here.
12507 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12508 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12509 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12510 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12511 * sysdeps/s390/s390-32/configure.in: Moved to ...
12512 * sysdeps/s390/s390-32/configure.ac: ... here.
12513 * sysdeps/s390/s390-64/configure.in: Moved to ...
12514 * sysdeps/s390/s390-64/configure.ac: ... here.
12515 * sysdeps/sh/configure.in: Moved to ...
12516 * sysdeps/sh/configure.ac: ... here.
12517 * sysdeps/sparc/configure.in: Moved to ...
12518 * sysdeps/sparc/configure.ac: ... here.
12519 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12520 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12521 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12522 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12523 * sysdeps/x86_64/configure.in: Moved to ...
12524 * sysdeps/x86_64/configure.ac: ... here.
12525 * sysdeps/x86_64/preconfigure.in: Moved to ...
12526 * sysdeps/x86_64/preconfigure.ac: ... here.
12527 * aclocal.m4: Change reference to configure.in to configure.ac.
12528 * config.h.in: Likewise.
12529 * manual/install.texi: Likewise.
12530 * manual/maint.texi: Likewise.
12531 * Makefile: Likewise.
12532 * malloc/Makefile: Likewise.
12533 * nscd/Makefile: Likewise.
12534 * Makeconfig: Change reference to configure.in and
12535 preconfigure.in to configure.ac and preconfigure.ac
12537 * INSTALL: Regenerated.
12538 * configure: Likewise.
12539 * sysdeps/gnu/configure: Likewise.
12540 * sysdeps/i386/configure: Likewise.
12541 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12542 * sysdeps/mach/configure: Likewise.
12543 * sysdeps/mach/hurd/configure: Likewise.
12544 * sysdeps/powerpc/configure: Likewise.
12545 * sysdeps/powerpc/powerpc32/configure: Likewise.
12546 * sysdeps/powerpc/powerpc64/configure: Likewise.
12547 * sysdeps/s390/s390-32/configure: Likewise.
12548 * sysdeps/s390/s390-64/configure: Likewise.
12549 * sysdeps/sh/configure: Likewise.
12550 * sysdeps/sparc/configure: Likewise.
12551 * sysdeps/unix/sysv/linux/configure: Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12553 * sysdeps/x86_64/configure: Likewise.
12554 * sysdeps/x86_64/preconfigure: Likewise.
12556 2013-10-29 Andreas Schwab <schwab@suse.de>
12558 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12560 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12562 * benchtests/pow-inputs: Add new inputs.
12564 * benchtests/exp-inputs: Add new inputs.
12566 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12567 conditional check for return value.
12568 (__cos32): Likewise.
12570 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12572 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12573 to provide a boost for large inputs with word alignment.
12574 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12575 implementation based on optimized PPC64 strcpy.
12576 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12577 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12578 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12579 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12581 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12584 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12586 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12589 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12590 * time/tst-strptime.c (day_tests): Add testcase.
12592 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12595 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12597 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12600 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12601 MAP_FAILED on error.
12603 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12606 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12607 heap for large requests.
12609 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12612 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12613 result if the result has no associated interface.
12614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12615 interface for all 127.X.Y.Z addresses.
12617 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12619 * locale/iso-639.def: Add Ligurian (lij)
12621 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12624 * sunrpc/rpc_main.c: Document rpcgen -5.
12626 2013-10-19 Michael Stahl <mstahl@redhat.com>
12628 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12630 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12633 * posix/glob.c: Match only directories when trailing slash is present.
12634 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12635 (main): Add testcase.
12637 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12640 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12642 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12644 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12645 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12646 AUTH_DES and cindex for FIPS 140-2.
12647 (DES Encryption): Add cindex FIPS 46-3.
12649 * locale/locarchive.h (struct locarhandle): Add fname.
12650 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12651 if an optional argument was specified to --list-archive,
12653 * locale/programs/locarchive.c (show_archive_content): Take new
12654 argument fname and pass it via ah.fname to open_archive.
12655 * locale/programs/localedef.h: Update decl.
12656 (open_archive): If AH->fname is non-null, open that file
12657 rather than the default file name, and don't ignore ENOENT.
12658 (create_archive): Set AH.fname to NULL.
12659 (delete_locales_from_archive): Likewise.
12660 (add_locales_to_archive): Likewise.
12661 * locale/programs/locfile.c (write_all_categories): Likewise.
12663 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12664 Aldy Hernandez <aldyh@redhat.com>
12666 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12667 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12668 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12669 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12670 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12671 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12672 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12673 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12674 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12675 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12676 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12677 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12678 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12679 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12680 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12682 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12684 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12686 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12688 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12689 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12691 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12692 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12693 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12694 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12696 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12697 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12698 * sysdeps/powerpc/preconfigure: Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12701 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12702 Replace contents of file by #include of <fenv_libc.h>.
12703 * sysdeps/powerpc/soft-fp/sfp-machine.h
12704 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12706 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12719 Allow copysignl PLT reference to be missing.
12721 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12722 Joseph Myers <joseph@codesourcery.com
12725 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12727 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12729 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12731 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12732 * elf/tst-tls1.c: Likewise.
12733 * elf/tst-tls10.h: Likewise.
12734 * elf/tst-tls14.c: Likewise.
12735 * elf/tst-tls2.c: Likewise.
12736 * elf/tst-tls3.c: Likewise.
12737 * elf/tst-tls4.c: Likewise.
12738 * elf/tst-tls5.c: Likewise.
12739 * elf/tst-tls6.c: Likewise.
12740 * elf/tst-tls7.c: Likewise.
12741 * elf/tst-tls8.c: Likewise.
12742 * elf/tst-tls9.c: Likewise.
12743 * elf/tst-tlsmod1.c: Likewise.
12744 * elf/tst-tlsmod13.c: Likewise.
12745 * elf/tst-tlsmod13a.c: Likewise.
12746 * elf/tst-tlsmod14a.c: Likewise.
12747 * elf/tst-tlsmod16a.c: Likewise.
12748 * elf/tst-tlsmod16b.c: Likewise.
12749 * elf/tst-tlsmod2.c: Likewise.
12750 * elf/tst-tlsmod3.c: Likewise.
12751 * elf/tst-tlsmod4.c: Likewise.
12752 * elf/tst-tlsmod5.c: Likewise.
12753 * elf/tst-tlsmod6.c: Likewise.
12755 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12758 * malloc/malloc.c: remove checks for statistics.
12760 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12763 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12764 * inet/tst-network.c: Add testcase.
12766 2013-10-17 Andreas Schwab <schwab@suse.de>
12769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12770 to determine canonical name.
12772 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12774 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12775 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12776 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12798 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12799 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12804 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12818 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12833 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12836 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12837 make result into a quiet NaN.
12839 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12841 * soft-fp/adddf3.c: Fix horizontal whitespace.
12842 * soft-fp/addsf3.c: Likewise.
12843 * soft-fp/addtf3.c: Likewise.
12844 * soft-fp/divdf3.c: Likewise.
12845 * soft-fp/divsf3.c: Likewise.
12846 * soft-fp/divtf3.c: Likewise.
12847 * soft-fp/double.h: Likewise.
12848 * soft-fp/eqdf2.c: Likewise.
12849 * soft-fp/eqsf2.c: Likewise.
12850 * soft-fp/eqtf2.c: Likewise.
12851 * soft-fp/extenddftf2.c: Likewise.
12852 * soft-fp/extended.h: Likewise.
12853 * soft-fp/extendsfdf2.c: Likewise.
12854 * soft-fp/extendsftf2.c: Likewise.
12855 * soft-fp/extendxftf2.c: Likewise.
12856 * soft-fp/fixdfdi.c: Likewise.
12857 * soft-fp/fixdfsi.c: Likewise.
12858 * soft-fp/fixdfti.c: Likewise.
12859 * soft-fp/fixsfdi.c: Likewise.
12860 * soft-fp/fixsfsi.c: Likewise.
12861 * soft-fp/fixsfti.c: Likewise.
12862 * soft-fp/fixtfdi.c: Likewise.
12863 * soft-fp/fixtfsi.c: Likewise.
12864 * soft-fp/fixtfti.c: Likewise.
12865 * soft-fp/fixunsdfdi.c: Likewise.
12866 * soft-fp/fixunsdfsi.c: Likewise.
12867 * soft-fp/fixunsdfti.c: Likewise.
12868 * soft-fp/fixunssfdi.c: Likewise.
12869 * soft-fp/fixunssfsi.c: Likewise.
12870 * soft-fp/fixunssfti.c: Likewise.
12871 * soft-fp/fixunstfdi.c: Likewise.
12872 * soft-fp/fixunstfsi.c: Likewise.
12873 * soft-fp/fixunstfti.c: Likewise.
12874 * soft-fp/floatdidf.c: Likewise.
12875 * soft-fp/floatdisf.c: Likewise.
12876 * soft-fp/floatditf.c: Likewise.
12877 * soft-fp/floatsidf.c: Likewise.
12878 * soft-fp/floatsisf.c: Likewise.
12879 * soft-fp/floatsitf.c: Likewise.
12880 * soft-fp/floattidf.c: Likewise.
12881 * soft-fp/floattisf.c: Likewise.
12882 * soft-fp/floattitf.c: Likewise.
12883 * soft-fp/floatundidf.c: Likewise.
12884 * soft-fp/floatundisf.c: Likewise.
12885 * soft-fp/floatunditf.c: Likewise.
12886 * soft-fp/floatunsidf.c: Likewise.
12887 * soft-fp/floatunsisf.c: Likewise.
12888 * soft-fp/floatunsitf.c: Likewise.
12889 * soft-fp/floatuntidf.c: Likewise.
12890 * soft-fp/floatuntisf.c: Likewise.
12891 * soft-fp/floatuntitf.c: Likewise.
12892 * soft-fp/fmadf4.c: Likewise.
12893 * soft-fp/fmasf4.c: Likewise.
12894 * soft-fp/fmatf4.c: Likewise.
12895 * soft-fp/gedf2.c: Likewise.
12896 * soft-fp/gesf2.c: Likewise.
12897 * soft-fp/getf2.c: Likewise.
12898 * soft-fp/ledf2.c: Likewise.
12899 * soft-fp/lesf2.c: Likewise.
12900 * soft-fp/letf2.c: Likewise.
12901 * soft-fp/muldf3.c: Likewise.
12902 * soft-fp/mulsf3.c: Likewise.
12903 * soft-fp/multf3.c: Likewise.
12904 * soft-fp/negdf2.c: Likewise.
12905 * soft-fp/negsf2.c: Likewise.
12906 * soft-fp/negtf2.c: Likewise.
12907 * soft-fp/op-1.h: Likewise.
12908 * soft-fp/op-2.h: Likewise.
12909 * soft-fp/op-4.h: Likewise.
12910 * soft-fp/op-8.h: Likewise.
12911 * soft-fp/op-common.h: Likewise.
12912 * soft-fp/quad.h: Likewise.
12913 * soft-fp/single.h: Likewise.
12914 * soft-fp/soft-fp.h: Likewise.
12915 * soft-fp/sqrtdf2.c: Likewise.
12916 * soft-fp/sqrtsf2.c: Likewise.
12917 * soft-fp/sqrttf2.c: Likewise.
12918 * soft-fp/subdf3.c: Likewise.
12919 * soft-fp/subsf3.c: Likewise.
12920 * soft-fp/subtf3.c: Likewise.
12921 * soft-fp/truncdfsf2.c: Likewise.
12922 * soft-fp/trunctfdf2.c: Likewise.
12923 * soft-fp/trunctfsf2.c: Likewise.
12924 * soft-fp/trunctfxf2.c: Likewise.
12925 * soft-fp/unorddf2.c: Likewise.
12926 * soft-fp/unordsf2.c: Likewise.
12927 * soft-fp/unordtf2.c: Likewise.
12929 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12931 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12932 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12934 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12936 * elf/dl-libc.c: Clear initfini list after freeing.
12938 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12940 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12941 * soft-fp/addsf3.c: Likewise.
12942 * soft-fp/addtf3.c: Likewise.
12943 * soft-fp/divdf3.c: Likewise.
12944 * soft-fp/divsf3.c: Likewise.
12945 * soft-fp/divtf3.c: Likewise.
12946 * soft-fp/double.h: Likewise.
12947 * soft-fp/eqdf2.c: Likewise.
12948 * soft-fp/eqsf2.c: Likewise.
12949 * soft-fp/eqtf2.c: Likewise.
12950 * soft-fp/extenddftf2.c: Likewise.
12951 * soft-fp/extended.h: Likewise.
12952 * soft-fp/extendsfdf2.c: Likewise.
12953 * soft-fp/extendsftf2.c: Likewise.
12954 * soft-fp/extendxftf2.c: Likewise.
12955 * soft-fp/fixdfdi.c: Likewise.
12956 * soft-fp/fixdfsi.c: Likewise.
12957 * soft-fp/fixdfti.c: Likewise.
12958 * soft-fp/fixsfdi.c: Likewise.
12959 * soft-fp/fixsfsi.c: Likewise.
12960 * soft-fp/fixsfti.c: Likewise.
12961 * soft-fp/fixtfdi.c: Likewise.
12962 * soft-fp/fixtfsi.c: Likewise.
12963 * soft-fp/fixtfti.c: Likewise.
12964 * soft-fp/fixunsdfdi.c: Likewise.
12965 * soft-fp/fixunsdfsi.c: Likewise.
12966 * soft-fp/fixunsdfti.c: Likewise.
12967 * soft-fp/fixunssfdi.c: Likewise.
12968 * soft-fp/fixunssfsi.c: Likewise.
12969 * soft-fp/fixunssfti.c: Likewise.
12970 * soft-fp/fixunstfdi.c: Likewise.
12971 * soft-fp/fixunstfsi.c: Likewise.
12972 * soft-fp/fixunstfti.c: Likewise.
12973 * soft-fp/floatdidf.c: Likewise.
12974 * soft-fp/floatdisf.c: Likewise.
12975 * soft-fp/floatditf.c: Likewise.
12976 * soft-fp/floatsidf.c: Likewise.
12977 * soft-fp/floatsisf.c: Likewise.
12978 * soft-fp/floatsitf.c: Likewise.
12979 * soft-fp/floattidf.c: Likewise.
12980 * soft-fp/floattisf.c: Likewise.
12981 * soft-fp/floattitf.c: Likewise.
12982 * soft-fp/floatundidf.c: Likewise.
12983 * soft-fp/floatundisf.c: Likewise.
12984 * soft-fp/floatunsidf.c: Likewise.
12985 * soft-fp/floatunsisf.c: Likewise.
12986 * soft-fp/floatuntidf.c: Likewise.
12987 * soft-fp/floatuntisf.c: Likewise.
12988 * soft-fp/floatuntitf.c: Likewise.
12989 * soft-fp/fmadf4.c: Likewise.
12990 * soft-fp/fmasf4.c: Likewise.
12991 * soft-fp/fmatf4.c: Likewise.
12992 * soft-fp/gedf2.c: Likewise.
12993 * soft-fp/gesf2.c: Likewise.
12994 * soft-fp/getf2.c: Likewise.
12995 * soft-fp/ledf2.c: Likewise.
12996 * soft-fp/lesf2.c: Likewise.
12997 * soft-fp/letf2.c: Likewise.
12998 * soft-fp/muldf3.c: Likewise.
12999 * soft-fp/mulsf3.c: Likewise.
13000 * soft-fp/multf3.c: Likewise.
13001 * soft-fp/negdf2.c: Likewise.
13002 * soft-fp/negsf2.c: Likewise.
13003 * soft-fp/negtf2.c: Likewise.
13004 * soft-fp/op-1.h: Likewise.
13005 * soft-fp/op-2.h: Likewise.
13006 * soft-fp/op-4.h: Likewise.
13007 * soft-fp/op-8.h: Likewise.
13008 * soft-fp/op-common.h: Likewise.
13009 * soft-fp/quad.h: Likewise.
13010 * soft-fp/single.h: Likewise.
13011 * soft-fp/soft-fp.h: Likewise.
13012 * soft-fp/sqrtdf2.c: Likewise.
13013 * soft-fp/sqrtsf2.c: Likewise.
13014 * soft-fp/sqrttf2.c: Likewise.
13015 * soft-fp/subdf3.c: Likewise.
13016 * soft-fp/subsf3.c: Likewise.
13017 * soft-fp/subtf3.c: Likewise.
13018 * soft-fp/truncdfsf2.c: Likewise.
13019 * soft-fp/trunctfdf2.c: Likewise.
13020 * soft-fp/trunctfsf2.c: Likewise.
13021 * soft-fp/trunctfxf2.c: Likewise.
13022 * soft-fp/unorddf2.c: Likewise.
13023 * soft-fp/unordsf2.c: Likewise.
13024 * soft-fp/unordtf2.c: Likewise.
13026 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13029 * misc/error.c (error_tail): Fix possible buffer overflow.
13031 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13034 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13037 2013-10-14 P. J. McDermott <pj@pehjota.net>
13040 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13041 testing pipefail option.
13043 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13045 * soft-fp/double.h: Indent preprocessor directives inside #if.
13046 * soft-fp/extended.h: Likewise.
13047 * soft-fp/op-2.h: Likewise.
13048 * soft-fp/op-4.h: Likewise.
13049 * soft-fp/op-common.h: Likewise.
13050 * soft-fp/quad.h: Likewise.
13051 * soft-fp/single.h: Likewise.
13052 * soft-fp/soft-fp.h: Likewise.
13054 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13056 * iconv/iconv_prog.c: Fix typos.
13057 * stdio-common/psiginfo-data.h: Likewise.
13059 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13062 * locale/setlocale.c: Fix typo.
13064 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13067 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13068 signaling NaN arguments.
13069 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13070 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13073 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13074 unordered operands.
13075 * soft-fp/gesf2.c (__gesf2): Likewise.
13076 * soft-fp/getf2.c (__getf2): Likewise.
13077 * soft-fp/ledf2.c (__ledf2): Likewise.
13078 * soft-fp/lesf2.c (__lesf2): Likewise.
13079 * soft-fp/letf2.c (__letf2): Likewise.
13081 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13082 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13083 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13084 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13085 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13086 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13087 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13088 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13089 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13090 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13091 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13092 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13093 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13094 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13095 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13096 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13097 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13098 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13099 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13100 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13101 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13102 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13103 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13104 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13105 * soft-fp/floattidf.c (__floattidf): Likewise.
13106 * soft-fp/floattisf.c (__floattisf): Likewise.
13107 * soft-fp/floattitf.c (__floattitf): Likewise.
13108 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13109 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13110 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13111 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13112 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13113 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13114 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13115 * soft-fp/gesf2.c (__gesf2): Likewise.
13116 * soft-fp/getf2.c (__getf2): Likewise.
13117 * soft-fp/ledf2.c (__ledf2): Likewise.
13118 * soft-fp/lesf2.c (__lesf2): Likewise.
13119 * soft-fp/letf2.c (__letf2): Likewise.
13121 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13122 Undefine and redefine.
13123 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13124 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13125 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13126 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13127 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13128 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13129 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13130 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13131 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13132 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13133 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13134 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13135 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13136 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13137 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13140 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13141 without decrementing exponent if mantissa >= that for the
13142 denominator, not >.
13143 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13144 denominator, not >. Decrement exponent in < case instead of
13145 incrementing in >= case.
13146 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13147 without decrementing exponent if mantissa >= that for the
13148 denominator, not >.
13150 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13151 computing saturated result for unsigned overflow.
13153 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13154 Jeff Law <law@redhat.com>
13156 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13157 (atan2Mp): Add systemtap probe marker.
13158 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13159 (__ieee754_log): Add systemtap probe marker.
13160 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13161 (atanMp): Add systemtap probe marker.
13162 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13163 (tanMp): Add systemtap probe marker.
13164 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13165 (__slowexp): Add systemtap probe marker.
13166 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13167 (__slowpow): Add systemtap probe marker.
13168 * manual/probes.texi: Document probes.
13170 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13173 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13175 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13177 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13178 written to buffer but not flushed.
13179 * libio/iofwrite_u.c: Likewise.
13180 * libio/iopadn.c: Return bytes returned even if EOF was
13182 * libio/iowpadn.c: Likewise.
13183 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13184 if _IO_padn does not write the whole buffer.
13185 [!COMPILE_WPRINTF] (PAD): Likewise.
13187 2013-10-10 David S. Miller <davem@davemloft.net>
13189 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13192 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13194 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13195 instead of FSF address.
13196 * soft-fp/fixdfti.c: Likewise.
13197 * soft-fp/fixsfti.c: Likewise.
13198 * soft-fp/fixtfti.c: Likewise.
13199 * soft-fp/fixunsdfti.c: Likewise.
13200 * soft-fp/fixunssfti.c: Likewise.
13201 * soft-fp/fixunstfti.c: Likewise.
13202 * soft-fp/floattidf.c: Likewise.
13203 * soft-fp/floattisf.c: Likewise.
13204 * soft-fp/floattitf.c: Likewise.
13205 * soft-fp/floatuntidf.c: Likewise.
13206 * soft-fp/floatuntisf.c: Likewise.
13207 * soft-fp/floatuntitf.c: Likewise.
13208 * soft-fp/trunctfxf2.c: Likewise.
13210 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13211 * soft-fp/fixdfti.c: Likewise.
13212 * soft-fp/fixsfti.c: Likewise.
13213 * soft-fp/fixtfti.c: Likewise.
13214 * soft-fp/fixunsdfti.c: Likewise.
13215 * soft-fp/fixunssfti.c: Likewise.
13216 * soft-fp/fixunstfti.c: Likewise.
13217 * soft-fp/floattidf.c: Likewise.
13218 * soft-fp/floattisf.c: Likewise.
13219 * soft-fp/floattitf.c: Likewise.
13220 * soft-fp/floatuntidf.c: Likewise.
13221 * soft-fp/floatuntisf.c: Likewise.
13222 * soft-fp/floatuntitf.c: Likewise.
13223 * soft-fp/trunctfxf2.c: Likewise.
13225 2013-10-10 David S. Miller <davem@davemloft.net>
13227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13229 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13231 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13232 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13233 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13234 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13235 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13236 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13237 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13240 for NaNs before doing comparisons on argument.
13241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13244 2013-10-10 Will Newton <will.newton@linaro.org>
13246 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13247 passed to _int_memalign does not overflow.
13249 2013-10-10 Torvald Riegel <triegel@redhat.com>
13251 * scripts/bench.pl: Add include-sources directive.
13252 * benchtests/README: Update documentation.
13254 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13256 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13257 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13258 instead of FP_INIT_ROUNDMODE.
13259 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13260 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13263 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13264 copy class of input value.
13265 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13266 not handle exceptions.
13267 * soft-fp/negsf2.c (__negsf2): Likewise.
13268 * soft-fp/negtf2.c (__negtf2): Likewise.
13269 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13271 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13273 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13274 semicolon. From Linux kernel.
13276 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13278 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13280 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13283 * manual/socket.texi: Added statement about buffer
13284 for gethostbyname2_r.
13286 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13288 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13289 Use .p2align directive instead, throughout.
13290 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13291 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13292 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13294 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13295 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13296 * sysdeps/x86_64/strchr.S: Likewise.
13297 * sysdeps/x86_64/strrchr.S: Likewise.
13299 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13301 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13303 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13305 * sysdeps/generic/math_private.h (__mpsin1): Remove
13307 (__mpcos1): Likewise.
13308 (__mpsin): New argument __range_reduce.
13309 (__mpcos): Likewise.
13310 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13311 (slow): Use __mpsin and __mpcos.
13315 (sloww1): Likewise.
13316 (sloww2): Likewise.
13317 (bsloww): Likewise.
13318 (bsloww1): Likewise.
13319 (bsloww2): Likewise.
13320 (cslow2): Likewise.
13321 (csloww): Likewise.
13322 (csloww1): Likewise.
13323 (csloww2): Likewise.
13324 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13325 range_reduce. Merge in __mpsin1.
13326 (__mpcos): Likewise.
13327 (__mpsin1): Remove.
13328 (__mpcos1): Likewise.
13330 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13332 * locale/loadlocale.c (_nl_intern_locale_data): Use
13334 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13335 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13336 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13337 obstack data is appropriately aligned.
13338 (obstack_int32_grow_fast): Likewise.
13339 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13340 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13341 (add_locale_uint32_array): Likewise.
13343 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13345 * benchtests/Makefile: Remove ARGLIST and RET variables.
13346 ($(objpfx)bench-%.c): Pass only function name to the script.
13347 * benchtests/README: Update documentation.
13348 * benchtests/acos-inputs: Add new directives.
13349 * benchtests/acosh-inputs: Likewise.
13350 * benchtests/asin-inputs: Likewise.
13351 * benchtests/asinh-inputs: Likewise.
13352 * benchtests/atan-inputs: Likewise.
13353 * benchtests/atanh-inputs: Likewise.
13354 * benchtests/cos-inputs: Likewise.
13355 * benchtests/cosh-inputs: Likewise.
13356 * benchtests/exp-inputs: Likewise.
13357 * benchtests/log-inputs: Likewise.
13358 * benchtests/pow-inputs: Likewise.
13359 * benchtests/rint-inputs: Likewise.
13360 * benchtests/sin-inputs: Likewise.
13361 * benchtests/sinh-inputs: Likewise.
13362 * benchtests/tan-inputs: Likewise.
13363 * benchtests/tanh-inputs: Likewise.
13364 * scripts/bench.pl: Add support for new directives.
13366 2013-10-07 Alan Modra <amodra@gmail.com>
13368 * README: Fix careless merge.
13370 2013-10-05 Alan Modra <amodra@gmail.com>
13372 * NEWS: Mention powerpc64le support and bugs fixed.
13373 * README: Both big-endian and little-endian powerpc64 supported.
13375 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13377 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13378 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13379 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13380 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13382 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13384 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13387 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13389 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13390 Move -mhard-float appending from
13391 ports/sysdeps/powerpc/powerpc32/Makefile.
13392 [$(with-fp) = yes] (ASFLAGS): Likewise.
13393 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13394 * sysdeps/powerpc/nofpu: Move directory from
13395 ports/sysdeps/powerpc/nofpu.
13396 * sysdeps/powerpc/soft-fp: Move directory from
13397 ports/sysdeps/powerpc/soft-fp.
13398 * sysdeps/powerpc/powerpc32/405: Move directory from
13399 ports/sysdeps/powerpc/powerpc32/405.
13400 * sysdeps/powerpc/powerpc32/440: Move directory from
13401 ports/sysdeps/powerpc/powerpc32/440.
13402 * sysdeps/powerpc/powerpc32/464: Move directory from
13403 ports/sysdeps/powerpc/powerpc32/464.
13404 * sysdeps/powerpc/powerpc32/476: Move directory from
13405 ports/sysdeps/powerpc/powerpc32/476.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13407 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13409 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13411 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13413 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13415 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13416 * README: Update for powerpc-*-linux-gnu software floating point
13419 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13420 case to powerpc/powerpc32*.
13421 * sysdeps/unix/sysv/linux/configure: Regenerated.
13423 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13424 (_FPU_MASK_OM): Define as 0x04.
13425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13433 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13436 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13439 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13440 and setcontext_e500.
13442 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13444 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13446 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13448 * manual/threads.texi (Default Thread Attributes): Fix typo.
13450 2013-10-04 Will Newton <will.newton@linaro.org>
13452 * malloc/Makefile: Add tst-memalign.
13453 * malloc/tst-memalign.c: New file.
13455 * malloc/tst-posix_memalign.c: Add comments.
13456 (do_test): Add comments and call free on all potentially
13457 allocated pointers. Add space after cast.
13459 * malloc/tst-pvalloc.c: Add comments.
13460 (do_test): Add comments and call free on all potentially
13461 allocated pointers. Remove duplicate check for NULL pointer.
13462 Add space after cast.
13464 * malloc/tst-valloc.c: Add comments.
13465 (do_test): Add comments and call free on all potentially
13466 allocated pointers. Remove duplicate check for NULL pointer.
13467 Add space after cast.
13469 2013-10-04 Alan Modra <amodra@gmail.com>
13471 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13472 Use stdint types in rather than __attribute__((mode())).
13473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13475 2013-10-04 Alan Modra <amodra@gmail.com>
13477 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13478 Correct handling of unaligned relocs for little-endian.
13479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13481 2013-10-04 Alan Modra <amodra@gmail.com>
13483 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13484 * configure: Regenerate.
13485 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13486 * shlib-versions: Likewise.
13488 2013-10-04 Alan Modra <amodra@gmail.com>
13490 * string/tester.c (test_memrchr): Increment reported test cycle.
13492 2013-10-04 Alan Modra <amodra@gmail.com>
13494 * string/test-memcpy.c (do_one_test): When reporting errors, print
13495 string address and don't overrun end of string.
13497 2013-10-04 Alan Modra <amodra@gmail.com>
13499 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13500 insrdi. Make better use of reg selection to speed exit slightly.
13501 Schedule entry path a little better. Remove useless "are we done"
13502 checks on entry to main loop. Handle wrapping around zero address.
13503 Correct main loop count. Handle single left-over word from main
13504 loop inline rather than by using loop_small. Remove extra word
13505 case in loop_small caused by wrong loop count. Add little-endian
13507 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13508 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13510 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13511 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13512 support. Avoid rlwimi.
13513 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13515 2013-10-04 Alan Modra <amodra@gmail.com>
13517 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13518 insrdi. Formatting.
13519 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13520 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13521 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13522 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13523 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13524 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13526 2013-10-04 Alan Modra <amodra@gmail.com>
13528 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13529 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13530 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13531 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13532 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13533 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13534 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13535 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13536 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13537 use of regs. Use power7 mtocrf. Tidy function tails.
13539 2013-10-04 Alan Modra <amodra@gmail.com>
13541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13542 Formatting. Consistently use rXXX register defines or rN defines.
13543 Use early exit labels that avoid restoring unused non-volatile regs.
13544 Make cr field use more consistent with rWORDn compares. Rename
13545 regs used as shift registers for unaligned loop, using rN defines
13546 for short lifetime/multiple use regs.
13547 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13548 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13549 addi 1,1,64 to pop stack frame. Simplify return value code.
13550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13552 2013-10-04 Alan Modra <amodra@gmail.com>
13554 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13555 support. Correct typos, formatting. Optimize tail. Use insrdi
13556 rather than rlwimi.
13557 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13558 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13559 little-endian support. Correct typos.
13560 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13561 rather than rlwimi.
13562 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13563 in loop and entry code to keep "and." results.
13564 (strchr): Add little-endian support. Comment. Move cntlzd
13566 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13568 2013-10-04 Alan Modra <amodra@gmail.com>
13570 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13571 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13572 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13573 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13575 2013-10-04 Alan Modra <amodra@gmail.com>
13577 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13578 (rTMP): Define as r11.
13579 (strcmp): Add little-endian support. Optimise tail.
13580 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13581 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13582 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13583 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13584 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13585 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13588 2013-10-04 Alan Modra <amodra@gmail.com>
13590 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13591 little-endian support. Remove unnecessary "are we done" tests.
13592 Handle "s" wrapping around zero and extremely large "size".
13593 Correct main loop count. Handle single left-over word from main
13594 loop inline rather than by using small_loop. Correct comments.
13595 Delete "zero" tail, use "end_max" instead.
13596 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13598 2013-10-04 Alan Modra <amodra@gmail.com>
13600 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13601 support. Don't branch over align.
13602 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13603 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13604 support. Rearrange tmp reg use to suit. Comment.
13605 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13607 2013-10-04 Alan Modra <amodra@gmail.com>
13609 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13611 2013-10-04 Alan Modra <amodra@gmail.com>
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13614 conditional form of branch and link when obtaining pc.
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13617 2013-10-04 Alan Modra <amodra@gmail.com>
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13624 2013-10-04 Alan Modra <amodra@gmail.com>
13626 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13627 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13628 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13629 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13630 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13631 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13632 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13633 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13634 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13635 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13637 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13638 Alistair Popple <alistair@ozlabs.au.ibm.com>
13639 Alan Modra <amodra@gmail.com>
13642 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13643 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13644 _dl_hwcap access for little-endian.
13645 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13646 destroy vmx regs when saving unaligned.
13647 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13648 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13649 destroy vmx regs when saving unaligned.
13651 2013-10-04 Alan Modra <amodra@gmail.com>
13653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13654 Don't use a union to pack hi/low value.
13656 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13658 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13660 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13662 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13663 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13664 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13666 2013-10-04 Alan Modra <amodra@gmail.com>
13668 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13669 constants to usual value for .cst8 section, and remove redundant
13671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13672 constant for 0x1p52. Load little-endian words of double from
13673 correct stack offsets.
13675 2013-10-04 Alan Modra <amodra@gmail.com>
13677 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13678 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13679 words of double from correct stack offsets.
13680 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13681 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13682 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13683 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13684 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13686 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13687 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13688 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13689 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13690 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13691 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13692 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13693 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13694 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13695 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13696 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13698 2013-10-04 Alan Modra <amodra@gmail.com>
13700 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13701 64-bit int/double union.
13702 (_FPU_SETCW): Likewise.
13703 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13704 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13706 2013-10-04 Alan Modra <amodra@gmail.com>
13708 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13709 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13711 2013-10-04 Alan Modra <amodra@gmail.com>
13713 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13714 use vector int constants.
13715 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13717 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13719 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13720 array with long long.
13721 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13722 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13723 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13724 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13725 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13726 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13727 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13728 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13729 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13730 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13731 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13732 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13733 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13735 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13737 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13738 (__signbit): Likewise. Correct for little-endian.
13739 (__signbitl): Call __signbit.
13740 (lrint): Correct for little-endian.
13741 (lrintf): Call lrint.
13743 2013-10-04 Alan Modra <amodra@gmail.com>
13745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13746 union 32-bit int array member with 64-bit int array.
13747 (t515, tm256): Double rather than long double.
13748 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13750 2013-10-04 Alan Modra <amodra@gmail.com>
13752 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13754 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13756 version of math_ldbl.h.
13758 2013-10-04 Alan Modra <amodra@gmail.com>
13760 [BZ #15734], [BZ #15735]
13761 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13762 all uses of ieee875 long double macros and unions. Simplify test
13763 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13764 ldbl_extract_mantissa value for ix,iy exponents. Properly
13765 normalize after ldbl_extract_mantissa, and don't add hidden bit
13766 already handled. Don't treat low word of ieee854 mantissa like
13767 low word of IBM long double and mask off bit when testing for
13769 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13770 all uses of ieee875 long double macros and unions. Simplify tests
13771 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13772 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13773 two1022, instead use their values. Recognise that tests for large
13774 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13775 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13776 Rewrite all uses of ieee875 long double macros and unions. Simplify
13777 test for 0.0L and nan. Correct negation.
13778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13779 ieee875 long double macros and unions. Correct output for large
13780 magnitude x. Correct absolute value calculation.
13781 (__erfcl): Likewise.
13782 * math/libm-test.inc: Add tests for errors discovered in IBM long
13783 double versions of fmodl, remainderl, erfl and erfcl.
13785 2013-10-04 Alan Modra <amodra@gmail.com>
13787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13788 all uses of ieee854 long double macros and unions. Simplify tests
13789 for long doubles that are fully specified by the high double.
13790 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13792 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13793 Remove dead code too.
13794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13795 (__ieee754_ynl): Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13799 Remove dead code too.
13800 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13810 Comment on variable precision.
13811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13814 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13818 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13820 2013-10-04 Alan Modra <amodra@gmail.com>
13822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13823 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13824 all uses of ieee854 long double macros and unions.
13825 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13827 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13829 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13837 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13838 Simplify sign and nan test too.
13839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13844 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13848 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13849 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13850 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13854 2013-10-04 Alan Modra <amodra@gmail.com>
13856 * stdio-common/printf_size.c (__printf_size): Don't use
13857 union ieee854_long_double in fpnum union.
13858 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13859 signbit macro to retrieve sign from long double.
13860 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13861 retrieve sign from long double.
13862 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13863 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13864 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13865 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13866 * math/test-misc.c (main): Don't use union ieee854_long_double.
13868 2013-10-04 Alan Modra <amodra@gmail.com>
13871 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13872 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13873 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13874 calculation. Remove unnecessary test for denormal exponent.
13875 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13876 Correct handling of denormals. Avoid undefined shift behaviour.
13877 Correct normalisation of low mantissa when low double is denormal.
13878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13879 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13880 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13881 Correct normalisation of low mantissa. Test for overflow of high
13882 mantissa and normalise.
13883 (ldbl_nearbyint): Use more readable constant for two52.
13884 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13885 (__mpn_construct_long_double): Fix test for overflow of high
13886 mantissa and correct normalisation. Avoid undefined shift.
13888 2013-10-04 Alan Modra <amodra@gmail.com>
13890 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13891 (union ibm_extended_long_double): Define as an array of ieee754_double.
13892 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13893 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13894 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13895 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13899 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13904 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13906 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13907 page size instead of calling getpagesize.
13909 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13910 (LOCFILE_ALIGN_MASK): Likewise.
13911 (LOCFILE_ALIGN_UP): Likewise.
13912 (LOCFILE_ALIGNED_P): Likewise.
13913 * locale/programs/ld-collate.c (collate_output): Use the new
13914 macros instead of __alignof__ (int32_t).
13915 * locale/weight.h (findidx): Likewise.
13917 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13920 * manual/string.texi: Fix strncat and wcsncat.
13922 2013-10-03 Brooks Moses <bmoses@google.com>
13925 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13926 * Makerules: ...here, and adjust associated comments.
13928 2013-10-02 Will Newton <will.newton@linaro.org>
13930 * malloc/Makefile: Add tst-pvalloc.
13931 * malloc/tst-pvalloc.c: New file.
13933 2013-10-02 Will Newton <will.newton@linaro.org>
13935 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13936 improve test coverage.
13938 2013-10-02 Will Newton <will.newton@linaro.org>
13940 * malloc/Makefile: Add tst-posix_memalign.
13941 * malloc/tst-posix_memalign.c: New file.
13943 2013-10-01 Eric Blake <eblake@redhat.com>
13945 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13946 Use __THROWNL rather than __THROW on static functions.
13948 2013-09-30 Petr Machata <pmachata@redhat.com>
13950 * elf/elf.h (R_AARCH64_ABS16): New macro.
13951 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13952 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13953 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13954 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13955 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13956 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13957 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13958 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13959 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13960 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13961 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13962 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13963 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13964 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13965 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13966 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13967 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13968 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13969 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13970 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13971 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13972 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13973 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13974 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13975 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13976 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13977 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13978 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13979 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13980 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13981 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13982 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13983 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13984 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13985 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13986 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13987 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13988 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13989 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13990 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13991 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13992 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13993 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13994 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13995 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13996 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13997 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13998 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13999 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14000 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14001 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14002 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14003 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14004 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14005 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14006 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14007 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14008 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14009 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14010 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14011 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14012 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14013 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14014 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14015 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14016 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14017 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14018 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14019 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14020 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14021 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14022 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14023 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14024 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14025 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14026 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14027 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14028 (R_AARCH64_TLSDESC_LDR): Likewise.
14029 (R_AARCH64_TLSDESC_ADD): Likewise.
14030 (R_AARCH64_TLSDESC_CALL): Likewise.
14032 2013-09-30 Andreas Schwab <schwab@suse.de>
14035 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14036 the nss database lookup.
14037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14040 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14042 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14044 2013-09-28 P. J. McDermott <pj@pehjota.net>
14046 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14047 ${Bash-specific parameter/pattern/string} parameter expansion.
14048 * sysdeps/unix/make-syscalls.sh: Likewise.
14050 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14052 * sysdeps/sh/stackguard-macros.h: New file.
14054 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14057 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14058 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14059 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14060 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14061 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14063 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14065 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14066 Fix thread ID register.
14068 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14070 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14071 [POSIX || UNIX98]: Require rather than permitting all symbols from
14073 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14074 element of struct sched_param.
14075 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14076 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14077 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14078 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14081 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14083 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14084 argument calculation.
14086 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14088 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14090 [POSIX] (pthread_attr_t): Do not require type.
14091 [POSIX] (pthread_cond_t): Likewise.
14092 [POSIX] (pthread_condattr_t): Likewise.
14093 [POSIX] (pthread_key_t): Likewise.
14094 [POSIX] (pthread_mutex_t): Likewise.
14095 [POSIX] (pthread_mutexattr_t): Likewise.
14096 [POSIX] (pthread_once_t): Likewise.
14097 [POSIX] (pthread_t): Likewise.
14098 [POSIX-based standards] (pthread_atfork): Expect function.
14100 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14101 Richard Sandiford <richard@codesourcery.com>
14103 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14104 (swap_endianness_p): New extern variable.
14105 (set_big_endian): New inline function.
14106 (maybe_swap_uint32): Likewise.
14107 (maybe_swap_uint32_array): Likewise.
14108 (maybe_swap_uint32_obstack): Likewise.
14109 * locale/programs/locfile.c: Include <stdbool.h>.
14110 (swap_endianness_p): New variable.
14111 (add_locale_uint32): Call maybe_swap_uint32.
14112 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14113 (write_locale_data): Call maybe_swap_uint32_array.
14114 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14116 (obstack_int32_grow_fast): Likewise.
14117 (output_weightwc): Call maybe_swap_uint32_obstack.
14118 (collate_output): Likewise.
14119 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14120 (OPT_LITTLE_ENDIAN): Likewise.
14121 (options): Add --little-endian and --big-endian options.
14122 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14123 * locale/programs/locarchive.c: Include "locfile.h".
14127 (create_archive): Use the new macros to access fields of
14128 structures directly mapped from or written to locale archives.
14129 (oldlocrecentcmp): Likewise.
14130 (enlarge_archive): Likewise.
14131 (insert_name): Likewise.
14132 (add_alias): Likewise.
14133 (add_locale): Likewise.
14134 (delete_locales_from_archive): Likewise.
14135 (show_archive_content): Likewise.
14136 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14139 2013-09-24 Roland McGrath <roland@hack.frob.com>
14141 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14142 http://www.gnu.org/doc/freemanuals.texi.
14143 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14145 2013-09-24 Will Newton <will.newton@linaro.org>
14147 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14150 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14152 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14155 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14157 * manual/threads.texi (POSIX Threads): Fix a typo.
14159 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14162 * string/tst-strcoll-overflow.c: New test case.
14163 * string/Makefile (xtests): Add tst-strcoll-overflow.
14164 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14165 cache if string sizes may cause integer overflow.
14168 * string/strcoll_l.c (coll_seq): New members rule, idx,
14169 save_idx and back_us.
14170 (get_next_seq_nocache): New function.
14171 (do_compare_nocache): New function.
14172 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14175 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14178 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14179 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14180 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14183 * elf/Makefile (tests): Add tst-ptrguard1.
14184 (tests-static): Add tst-ptrguard1-static.
14185 (tst-ptrguard1-ARGS): Define.
14186 (tst-ptrguard1-static-ARGS): Define.
14187 * elf/tst-ptrguard1.c: New file.
14188 * elf/tst-ptrguard1-static.c: New file.
14189 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14190 * sysdeps/i386/stackguard-macros.h: Likewise.
14191 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14192 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14193 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14194 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14195 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14196 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14198 2013-09-23 Hector Marco <hecmargi@upv.es>
14199 Ismael Ripoll <iripoll@disca.upv.es>
14200 Carlos O'Donell <carlos@redhat.com>
14203 * sysdeps/generic/stackguard-macros.h: Define
14204 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14205 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14206 Define __pointer_chk_guard_local.
14207 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14208 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14210 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14213 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14215 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14217 * include/string.h (__ffs): Declare as hidden.
14218 * string/ffs.c (__ffs): Define as hidden.
14219 * sysdeps/i386/ffs.c (__ffs): Likewise.
14220 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14221 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14222 * sysdeps/s390/ffs.c (__ffs): Likewise.
14223 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14225 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14227 * NEWS: Mention malloc probes.
14229 * malloc/arena.c (new_heap): New memory_heap_new probe.
14230 (grow_heap): New memory_heap_more probe.
14231 (shrink_heap): New memory_heap_less probe.
14232 (heap_trim): New memory_heap_free probe.
14233 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14234 (systrim): New memory_sbrk_less probe.
14235 * manual/probes.texi: Document them.
14237 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14238 * manual/probes.texi: Document it.
14240 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14241 (__libc_realloc): Add memory_realloc_retry probe.
14242 (__libc_memalign): Add memory_memalign_retry probe.
14243 (__libc_valloc): Add memory_valloc_retry probe.
14244 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14245 (__libc_calloc): Add memory_calloc_retry probe.
14246 * manual/probes.texi: Document them.
14248 * malloc/arena.c (get_free_list): Add probe
14249 memory_arena_reuse_free_list.
14250 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14251 and memory_arena_reuse.
14252 (arena_get2) [!PER_THREAD]: Likewise.
14253 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14254 memory_arena_reuse_realloc.
14255 * manual/probes.texi: Document them.
14257 * malloc/malloc.c (__libc_free): Add
14258 memory_mallopt_free_dyn_thresholds probe.
14259 (__libc_mallopt): Add multiple memory_mallopt probes.
14260 * manual/probes.texi: Document them.
14262 * malloc/malloc.c: Include stap-probe.h.
14263 (__libc_mallopt): Add memory_mallopt probe.
14264 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14265 * manual/probes.texi: New.
14266 * manual/Makefile (chapters): Add probes.
14267 * manual/threads.texi: Set next node.
14269 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14271 [BZ #15963, #13985]
14272 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14273 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14274 Add `Chinese' to `nan' entry name.
14276 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14278 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14279 (POLYNOMIAL): Likewise.
14280 (TAYLOR_SINCOS): Likewise.
14281 (TAYLOR_SLOW): Likewise.
14282 (__sin): Use TAYLOR_SINCOS.
14284 (slow): Use TAYLOR_SLOW.
14286 (bsloww): Likewise.
14287 (csloww): Likewise.
14289 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14291 * stdlib/strtod_l.c: Fix buffer overrun.
14293 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14295 * benchtests/Makefile (bench): Add sincos.
14296 * benchtests/bench-sincos.c: New file.
14298 * math/libm-test.inc (cos_test_data): New test inputs.
14299 (sin_test_data): Likewise.
14301 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14307 (sloww1): Likewise.
14308 (sloww2): Likewise.
14309 (bsloww1): Likewise.
14310 (bsloww2): Likewise.
14311 (cslow2): Likewise.
14312 (csloww1): Likewise.
14313 (csloww2): Likewise.
14315 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14324 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14326 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14327 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14328 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14329 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14330 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14331 * elf/cache.c (print_entry): Handle the new cache flags.
14333 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14334 Aldy Hernandez <aldyh@redhat.com>
14336 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14337 Change condition to [_SOFT_FLOAT].
14338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14350 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14353 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14356 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14358 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14359 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14360 (__longjmp): Use LOAD_GP to load saved GPRs.
14361 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14362 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14363 (__sigsetjmp): Use SAVE_GP to save GPRs.
14365 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14366 Do not append -msoft-float.
14367 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14369 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14371 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14373 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14376 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14377 (_FPU_GETCW): Use initial "__" on variable and field names but not
14378 on macro parameter name.
14379 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14380 parentheses around reference to macro parameter.
14382 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14384 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14386 (ctype_startup): Use uint32_t in cast and sizeof for
14389 2013-09-11 Jia Liu <proljc@gmail.com>
14391 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14393 [__FreeBSD__]: Likewise.
14395 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14397 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14398 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14399 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14400 (strchr): Remove __strchr_sse42 ifunc selection.
14401 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14402 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14404 2013-09-11 Will Newton <will.newton@linaro.org>
14406 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14407 parameter to RES. Remove hardcoded 1000 value.
14408 * benchtests/bench-skeleton.c (main): Pass RES parameter
14409 to TIMING_INIT and multiply result by 1000.
14411 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14415 2013-09-11 Andreas Schwab <schwab@suse.de>
14417 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14419 (O_TMPFILE) [__USE_GNU]: Define.
14420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14423 2013-09-11 Will Newton <will.newton@linaro.org>
14426 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14429 2013-09-11 Will Newton <will.newton@linaro.org>
14432 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14435 2013-09-11 Will Newton <will.newton@linaro.org>
14438 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14441 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14443 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14444 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14445 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14446 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14447 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14449 2013-09-10 Allan McRae <allan@archlinux.org>
14452 * manual/arith.texi (Parsing of Floats): Clarify
14456 * manual/install.texi (Running make install): Mention
14458 * INSTALL: Regenerated.
14460 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14462 * csu/init-first.c (_init): Remove the !SHARED condition around
14463 FPU control word initialization.
14464 * elf/dl-support.c (_dl_fpu_control): New variable.
14465 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14466 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14467 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14468 * math/test-fpucw-static.c: New file.
14469 * math/test-fpucw-ieee.c: New file.
14470 * math/test-fpucw-ieee-static.c: New file.
14471 * math/Makefile (tests): Add `test-fpucw-ieee' and
14473 (tests-static): New variable.
14474 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14476 [($(build-shared),yes)]
14477 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14479 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14482 2013-09-09 Allan McRae <allan@archlinux.org>
14485 * manual/string.texi (Collation Functions): Fix typo in
14487 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14490 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14493 * libio/memstream.c (open_memstream): Fix memory leak.
14494 * libio/wmemstream.c (open_wmemstream): Likewise.
14497 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14499 2013-09-09 Will Newton <will.newton@linaro.org>
14501 * malloc/Makefile: Add tst-realloc to tests.
14502 * malloc/tst-realloc.c: New file.
14504 2013-09-09 Allan McRae <allan@archlinux.org>
14507 * COPYING: Update from GNU website to fix FSF address.
14508 * COPYING.LIB: Likewise.
14510 2013-09-06 David S. Miller <davem@davemloft.net>
14512 * po/zh_TW.po: Update Chinese (traditional) translation from
14513 translation project.
14515 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14516 Joseph Myers <joseph@codesourcery.com>
14518 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14520 (obstack_chunk_alloc): New macro.
14521 (obstack_chunk_free): Likewise.
14522 (record_offset): New function.
14523 (init_locale_data): Likewise.
14524 (align_locale_data): Likewise.
14525 (add_locale_empty): Likewise.
14526 (add_locale_raw_data): Likewise.
14527 (add_locale_raw_obstack): Likewise.
14528 (add_locale_string): Likewise.
14529 (add_locale_wstring): Likewise.
14530 (add_locale_uint32): Likewise.
14531 (add_locale_uint32_array): Likewise.
14532 (add_locale_char): Likewise.
14533 (start_locale_structure): Likewise.
14534 (end_locale_structure): Likewise.
14535 (start_locale_prelude): Likewise.
14536 (end_locale_prelude): Likewise.
14537 (write_locale_data): Take locale_file structure rather than an
14539 * locale/programs/locfile.h: Include "obstack.h".
14540 (struct locale_file): Change to store locale file contents instead
14542 (init_locale_data): New prototype.
14543 (align_locale_data): Likewise.
14544 (add_locale_empty): Likewise.
14545 (add_locale_raw_data): Likewise.
14546 (add_locale_raw_obstack): Likewise.
14547 (add_locale_string): Likewise.
14548 (add_locale_wstring): Likewise.
14549 (add_locale_uint32): Likewise.
14550 (add_locale_uint32_array): Likewise.
14551 (add_locale_char): Likewise.
14552 (start_locale_structure): Likewise.
14553 (end_locale_structure): Likewise.
14554 (start_locale_prelude): Likewise.
14555 (end_locale_prelude): Likewise.
14556 (write_locale_data): Update prototype.
14557 * locale/programs/3level.h (struct TABLE): Remove result field.
14558 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14559 Use new locale_file interface.
14560 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14561 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14562 * locale/programs/ld-address.c (address_output): Use new
14563 locale_file interface.
14564 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14566 (collate_finish): Don't call collseq_table_finalize.
14567 (collate_output): Use new locale_file interface.
14568 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14570 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14571 (TABLE): Move defines earlier in file.
14572 (ELEMENT): Likewise.
14573 (DEFAULT): Likewise.
14574 (wctrans_table_add): Move macro and inline function earlier in
14576 (struct wctype_table): Move type earlier in file.
14577 (add_locale_wctype_table): New static prototype.
14578 (struct locale_ctype_t): Use logical types instead of struct iovec
14579 pointers for members.
14580 (ctype_output): Use new locale_file interface.
14581 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14582 new locale_file interface.
14583 (allocate_arrays): Update for use of new locale_file interface.
14584 * locale/programs/ld-identification.c (identification_output): Use
14585 new locale_file interface.
14586 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14587 * locale/programs/ld-messages.c (messages_output): Likewise.
14588 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14589 * locale/programs/ld-name.c (name_output): Likewise.
14590 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14591 * locale/programs/ld-paper.c (paper_output): Likewise.
14592 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14593 * locale/programs/ld-time.c (time_output): Likewise.
14595 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14597 * benchtests/Makefile: Add memrchr benchmark.
14598 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14599 benchmark as memrchr.
14600 * benchtests/bench-memrchr-ifunc.c: New file.
14601 * benchtests/bench-memrchr.c: New file.
14603 2013-09-06 Will Newton <will.newton@linaro.org>
14605 * benchtests/Makefile (string-bench): Add memcpy.
14607 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14608 Cong Wang <amwang@redhat.com>
14611 * sysdeps/unix/sysv/linux/bits/in.h
14612 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14613 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14614 before __USE_KERNEL_IPV6_DEFS uses.
14615 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14617 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14618 sockaddr_in6, or ipv6_mreq.
14620 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14622 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14623 memory access for final bytes in some large inputs.
14624 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14626 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14628 * string/test-memrchr.c: New file.
14629 * string/test-memrchr-ifunc.c: New file.
14630 * string/Makefile: Add new memrchr testcase.
14632 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14634 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14635 fanotify_init returns EPERM.
14637 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14639 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14641 (top level): Treat second token from macro or constant entries for
14642 allowed headers as allowed.
14643 * include/complex.h: Condition internal declarations on
14645 * include/fenv.h: Condition include of <stdbool.h> and internal
14646 declarations on [!_ISOMAC].
14648 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14651 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14653 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14655 * configure.in (--enable-versioning): Remove configure option.
14656 (libc_cv_asm_symver_directive): Remove configure test.
14657 (libc_cv_ld_version_script_option): Likewise.
14658 (VERSIONING): Remove variable and AC_SUBST.
14659 (DO_VERSIONING): Remove AC_DEFINE.
14660 * configure: Regenerated.
14661 * config.h.in (DO_VERSIONING): Remove macro.
14662 * Makerules [$(versioning) = yes]: Change conditionals to
14663 [$(build-shared) = yes].
14664 * config.make.in (versioning): Remove variable.
14665 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14666 [$(build-shared) = yes].
14667 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14668 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14669 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14670 [$(build-shared) = yes].
14671 * extra-lib.mk [$(versioning) = yes]: Likewise.
14672 * hurd/Makefile [$(versioning) = yes]: Likewise.
14673 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14675 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14677 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14678 [SHARED && !NO_HIDDEN].
14679 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14681 [SHARED && DO_VERSIONING]: Likewise..
14682 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14683 [$(build-shared) = yes].
14684 * manual/install.texi (--disable-versioning): Remove
14686 * INSTALL: Regenerated.
14687 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14689 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14690 [$(build-shared) = yes].
14691 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14692 * sysdeps/i386/i686/multiarch/strstr-c.c
14693 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14694 [SHARED && !NO_HIDDEN].
14695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14696 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14697 * sysdeps/powerpc/powerpc32/dl-machine.c
14698 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14699 * sysdeps/powerpc/powerpc32/sysdep.h
14700 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14701 to [SHARED && PIC && !NO_HIDDEN].
14702 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14703 conditional to [SHARED].
14705 2013-09-04 Will Newton <will.newton@linaro.org>
14707 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14708 * benchtests/bench-string.h: Include bench-timing.h instead
14709 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14710 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14711 call to HP_TIMING_DIFF_INIT.
14712 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14713 instead of hp-timing.h macros.
14714 * benchtests/bench-memchr.c: Likewise.
14715 * benchtests/bench-memcmp.c: Likewise.
14716 * benchtests/bench-memcpy.c: Likewise.
14717 * benchtests/bench-memmem.c: Likewise.
14718 * benchtests/bench-memmove.c: Likewise.
14719 * benchtests/bench-memset.c: Likewise.
14720 * benchtests/bench-rawmemchr.c: Likewise.
14721 * benchtests/bench-strcasecmp.c: Likewise.
14722 * benchtests/bench-strcasestr.c: Likewise.
14723 * benchtests/bench-strcat.c: Likewise.
14724 * benchtests/bench-strchr.c: Likewise.
14725 * benchtests/bench-strcmp.c: Likewise.
14726 * benchtests/bench-strcpy.c: Likewise.
14727 * benchtests/bench-strcpy_chk.c: Likewise.
14728 * benchtests/bench-strlen.c: Likewise.
14729 * benchtests/bench-strncasecmp.c: Likewise.
14730 * benchtests/bench-strncat.c: Likewise.
14731 * benchtests/bench-strncmp.c: Likewise.
14732 * benchtests/bench-strncpy.c: Likewise.
14733 * benchtests/bench-strnlen.c: Likewise.
14734 * benchtests/bench-strpbrk.c: Likewise.
14735 * benchtests/bench-strrchr.c: Likewise.
14736 * benchtests/bench-strspn.c: Likewise.
14737 * benchtests/bench-strstr.c: Likewise.
14739 2013-09-04 Will Newton <will.newton@linaro.org>
14741 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14743 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14746 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14747 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14748 * math/libm-test.inc (lgamma_test_data): Add more tests.
14749 * sysdeps/i386/fpu/libm-test-ulps: Update.
14750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14752 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14754 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14758 Add strcmp-sse2-unaligned
14759 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14761 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14763 * Versions.def (libc): Add GLIBC_2.19.
14765 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14767 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14768 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14770 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14774 intermediate calculations in recurrence.
14775 (__ieee754_ynf): Likewise.
14776 * math/libm-test.inc (jn_test_data): Do not allow spurious
14777 underflow exception. Add more tests.
14778 (yn_test_data): Add more tests.
14779 * sysdeps/i386/fpu/libm-test-ulps: Update.
14780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14782 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14784 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14786 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14788 * csu/init-first.c: Fix then/than typos.
14789 * locale/programs/ld-collate.c: Likewise.
14790 * locale/programs/linereader.h: Likewise.
14791 * manual/charset.texi: Likewise.
14792 * manual/filesys.texi: Likewise.
14793 * manual/stdio.texi: Likewise.
14794 * manual/string.texi: Likewise.
14795 * stdlib/fmtmsg.c: Likewise.
14796 * sysdeps/i386/stpncpy.S: Likewise.
14797 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14798 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14800 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14802 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14804 * elf/dl-open.c: Fix typos.
14805 * iconvdata/gbbig5.c: Likewise.
14806 * iconvdata/iso-2022-jp.c: Likewise.
14807 * iconv/gconv_int.h: Likewise.
14808 * iconv/loop.c: Likewise.
14809 * nis/rpcsvc/nis.h: Likewise.
14810 * resolv/ns_name.c: Likewise.
14811 * stdio-common/vfscanf.c: Likewise.
14812 * streams/stropts.h: Likewise.
14813 * sunrpc/rpc_thread.c: Likewise.
14814 * sysdeps/i386/strpbrk.S: Likewise.
14815 * sysdeps/ieee754/k_standard.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14818 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14819 * sysdeps/mach/hurd/profil.c: Likewise.
14820 * sysdeps/s390/dl-procinfo.h: Likewise.
14821 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14822 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14823 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14824 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14827 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14829 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14832 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14834 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14835 aix specific files.
14836 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14837 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14838 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14839 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14840 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14841 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14842 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14845 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14846 Roland McGrath <roland@hack.frob.com>
14848 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14849 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14851 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14853 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14854 __executable_start symbol instead of _start.
14856 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14858 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14859 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14861 * sysdeps/gnu/ldsodefs.h: ... this new file.
14863 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14864 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14865 instead of ELFOSABI_LINUX.
14867 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14868 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14869 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14870 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14872 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14873 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14876 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14877 (ibm_extended_long_double): Add ieee_nan member.
14878 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14879 (do_test): New function.
14881 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14883 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14884 functions, renamed from truncdfsf_test, trunctfsf_test,
14886 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14888 (do_test): Run all these.
14890 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14892 * argp/argp-help.c: Fix typos.
14893 * argp/argp-parse.c: Likewise.
14894 * debug/backtracesyms.c: Likewise.
14895 * elf/elf.h: Likewise.
14896 * malloc/malloc.c: Likewise.
14897 * nis/nis_print.c: Likewise.
14898 * resolv/res_comp.c: Likewise.
14899 * stdlib/stdlib.h: Likewise.
14900 * sunrpc/clnt_tcp.c: Likewise.
14901 * sunrpc/clnt_udp.c: Likewise.
14902 * sunrpc/clnt_unix.c: Likewise.
14903 * sysdeps/unix/bsd/ptsname.c: Likewise.
14904 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14914 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14916 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14919 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14922 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14923 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14924 ($(objpfx)bug-dl-leaf): New rule.
14925 ($(objpfx)bug-dl-leaf.so): Likewise.
14926 ($(objpfx)bug-dl-leaf.out): Likewise.
14927 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14928 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14929 * dlfcn/bug-dl-leaf.c: New test.
14930 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14931 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14932 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14933 (dlclose): Likewise.
14934 (dlmopen): Likewise.
14936 2013-08-27 Roland McGrath <roland@hack.frob.com>
14938 * include/netdb.h [!_ISOMAC]:
14939 Don't include <tls.h>.
14940 (h_errno, __libc_h_errno): Move declaration and macros out of
14943 * include/resolv.h [_RESOLV_H_]:
14944 Don't include <tls.h>.
14945 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14946 * resolv/res_libc.c: Don't include <tls.h>.
14947 (_res): Use __attribute__ ((nocommon)) in place of
14948 __attribute__ ((section (".bss"))).
14950 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14951 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14953 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14955 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14956 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14958 * resolv/res_mkquery.c: Include <sys/time.h>.
14960 * inet/ifreq.c: Moved to ...
14961 * sysdeps/unix/ifreq.c: ... here.
14962 * inet/ifreq.c: New file, true stub version.
14964 * socket/sa_len.c: New file.
14965 * socket/Makefile (aux): Add it.
14966 * sysdeps/unix/sysv/linux/Makefile
14967 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14968 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14969 and #include <socket/sa_len.c>.
14970 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14971 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14974 * bits/socket.h: ... here.
14976 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14977 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14978 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14980 2013-08-27 Andreas Schwab <schwab@suse.de>
14983 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14984 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14985 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14986 * string/test-strcasecmp.c (test_main): Run tests in several
14988 * string/test-strncasecmp.c (test_main): Likewise.
14990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14991 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14992 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14994 (__strncasecmp_ssse3) [PIC]: Likewise.
14996 2013-08-26 Roland McGrath <roland@hack.frob.com>
14998 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15000 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15001 instead of explicitly declaring xdecrypt.
15002 * nis/nss_nis/nis-publickey.c: Likewise.
15004 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15007 * nscd/aicache.c: Include res_hconf.h.
15008 (addhstaiX): Initialize res_hconf.
15010 2013-08-26 Andreas Schwab <schwab@suse.de>
15012 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15013 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15015 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15017 * nscd/aicache.c (addhstaiX): Fix indentation.
15019 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15021 * configure.ac: Quote $build_pt_chown test.
15022 * configure: Regenerated.
15024 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15027 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15028 * math/s_cexpf.c (__cexpf): Likewise.
15029 * math/s_cexpl.c (__cexpl): Likewise.
15030 * math/libm-test.inc (cexp_test_data): Correct expected return
15031 value for NaN + i0. Add another test.
15033 2013-08-22 David S. Miller <davem@davemloft.net>
15035 * po/ca.po: Update Catalan translation from translation project.
15036 * po/uk.po: Add Ukrainian translations from translation project.
15038 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15041 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15042 is infinite, not alongside NaN test.
15043 * math/s_fdimf.c (__fdimf): Likewise.
15044 * math/s_fdiml.c (__fdiml): Likewise.
15045 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15046 errno is unchanged.
15048 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15050 * argp/argp-help.c: Fix typos.
15051 * crypt/speeds.c: Likewise.
15052 * csu/check_fds.c: Likewise.
15053 * elf/dl-load.c: Likewise.
15054 * elf/dl-open.c: Likewise.
15055 * elf/reldep3.c: Likewise.
15056 * elf/reldep.c: Likewise.
15057 * elf/sprof.c: Likewise.
15058 * iconv/iconv_charmap.c: Likewise.
15059 * iconv/skeleton.c: Likewise.
15060 * iconv/strtab.c: Likewise.
15061 * io/lockf64.c: Likewise.
15062 * libio/libioP.h: Likewise.
15063 * resolv/gai_notify.c: Likewise.
15064 * resolv/ns_name.c: Likewise.
15065 * resolv/ns_samedomain.c: Likewise.
15066 * resolv/res_send.c: Likewise.
15067 * stdlib/random.c: Likewise.
15068 * sunrpc/rpc/xdr.h: Likewise.
15069 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15071 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15072 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15077 * sysdeps/mach/hurd/check_fds.c: Likewise.
15078 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15079 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15082 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15083 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15084 * sysdeps/pthread/aio_notify.c: Likewise.
15085 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15086 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15087 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15089 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15091 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15093 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15094 version if bit_Slow_SSE4_2 is set.
15095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15098 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15101 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15102 trampoline stack frame information.
15103 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15105 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15106 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15107 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15108 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15109 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15110 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15112 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15113 interrupting a syscall and set with option SA_SIGINFO.
15115 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15118 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15119 argument is infinite.
15120 * math/s_cprojf.c (__cprojf): Likewise.
15121 * math/s_cprojl.c (__cprojl): Likewise.
15122 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15123 * math/libm-test.inc (cproj_test_data): Add more tests.
15125 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15127 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15128 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15129 size. Use __ffs to determine corresponding shift.
15131 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15132 Roland McGrath <roland@hack.frob.com>
15134 * Makefile (INSTALL): Remove trailing blank lines from output of
15137 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15139 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15140 Align 32 bit compat elf_greg to 8 bytes.
15142 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15144 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15146 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15148 * string/strcoll_l.c (coll_seq): New structure.
15149 (get_next_seq_cached): New function.
15150 (get_next_seq): New function.
15151 (do_compare): New function.
15152 (STRCOLL): Use GNU style definition. Simplify implementation
15153 by using get_next_seq, get_next_seq_cached and do_compare.
15155 2013-08-16 Florian Weimer <fweimer@redhat.com>
15159 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15161 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15163 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15164 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15165 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15167 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15168 GETDENTS_64BIT_ALIGNED.
15169 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15170 * manual/filesys.texi (Reading/Closing Directory): Document
15171 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15173 * manual/conf.texi (Limits for Files): Add portability note to
15174 NAME_MAX, PATH_MAX.
15175 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15177 2013-08-13 Andreas Schwab <schwab@suse.de>
15180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15182 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15183 LDBL_MAX_EXP >= 16384]: Add tests for it.
15185 2013-08-12 David S. Miller <davem@davemloft.net>
15187 * version.h (RELEASE): Set to "development".
15188 (VERSION): Set to "2.18.90".
15189 * NEWS: Add 2.19 section.
15191 2013-08-03 David S. Miller <davem@davemloft.net>
15193 * po/ko.po: Update Korean translation from translation project.
15195 2013-08-01 David S. Miller <davem@davemloft.net>
15197 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15198 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15201 2013-07-30 David S. Miller <davem@davemloft.net>
15203 * po/fr.po: Update French translation from translation project.
15205 2013-07-28 David S. Miller <davem@davemloft.net>
15207 * po/cs.po: Update Czech translation from translation project.
15209 * po/sv.po: Update Swedish translation from translation project.
15211 2013-07-27 David S. Miller <davem@davemloft.net>
15213 * po/eo.po: Update Esperanto translation from translation project.
15215 * po/vi.po: Update Vietnamese translation from translation project.
15217 * po/de.po: Update German translation from translation project.
15219 2013-07-26 David S. Miller <davem@davemloft.net>
15221 * po/bg.po: Update Bulgarian translation from translation project.
15223 * po/nl.po: Update Dutch translation from translation project.
15224 * po/pl.po: Update Polish translation from translation project.
15225 * po/ru.po: Update Russian translation from translation project.
15227 2013-07-24 David S. Miller <davem@davemloft.net>
15229 * po/libc.pot: Update.
15231 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15233 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15234 variable page size.
15235 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15236 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15237 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15239 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15241 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15243 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15244 Andreas Schwab <schwab@suse.de>
15245 Roland McGrath <roland@hack.frob.com>
15246 Joseph Myers <joseph@codesourcery.com>
15247 Carlos O'Donell <carlos@redhat.com>
15250 * config.h.in: Define HAVE_PT_CHOWN.
15251 * config.make.in (build-pt-chown): New variable.
15252 * configure.in (--enable-pt_chown): New configure option.
15253 * configure: Regenerate.
15254 * login/Makefile: Include Makeconfig. Build pt_chown only if
15255 build-pt-chown is enabled.
15256 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15257 pt_chown to fix pty ownership.
15258 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15260 * manual/install.texi (Configuring and compiling): Mention
15261 --enable-pt_chown. Add @findex for grantpt.
15262 * INSTALL: Regenerate.
15264 2013-07-20 David S. Miller <davem@davemloft.net>
15266 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15267 difference between 32-bit and 64-bit.
15269 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15272 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15273 Avoid system header dependency with -ffreestanding.
15274 ($(objpfx)bits/syscall%d): Likewise.
15276 2013-07-13 David S. Miller <davem@davemloft.net>
15278 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15279 underflows from atanl/atan2l due to bug 15319.
15280 (casinh_test_data): Likewise.
15282 2013-07-07 David S. Miller <davem@davemloft.net>
15284 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15286 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15288 * sysdeps/i386/fpu/libm-test-ulps: Update.
15289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15291 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15293 * configure.in (--enable-lock-elision): Fix message text.
15294 * INSTALL: Regenerate.
15295 * configure: Regenerate.
15297 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15301 2013-07-03 Andreas Jaeger <aj@suse.de>
15303 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15305 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15306 (ptrace_peeksiginfo_args): Add.
15307 (__ptrace_peeksiginfo_flags): Add.
15308 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15310 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15312 2013-07-03 Allan McRae <allan@archlinux.org>
15314 * sysdeps/i386/fpu/libm-test-ulps: Update.
15316 2013-07-02 David S. Miller <davem@davemloft.net>
15318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15320 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15324 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15326 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15329 2013-07-02 Andi Kleen <ak@linux.intel.com>
15331 * config.h.in (ENABLE_LOCK_ELISION): Add.
15332 * configure.in (--enable-lock-elision): Add option.
15333 * manual/install.texi: Document --enable lock elision.
15334 * configure: Regenerate
15335 * INSTALL: Regenerate.
15337 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15339 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15340 SSE4.2 strcasecmp for libc.a.
15341 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15343 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15346 * soft-fp/op-common.h (_FP_FMA): New macro.
15347 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15348 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15349 (_FP_MUL_MEAT_1_imm): ... here.
15350 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15351 (_FP_MUL_MEAT_1_wide): ... here.
15352 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15353 (_FP_MUL_MEAT_1_hard): ... here.
15354 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15355 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15356 (_FP_MUL_MEAT_2_wide): ... here.
15357 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15358 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15359 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15360 (_FP_MUL_MEAT_2_gmp): ... here.
15361 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15362 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15363 (_FP_MUL_MEAT_4_wide): ... here.
15364 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15365 (_FP_MUL_MEAT_4_gmp): ... here.
15366 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15367 (_FP_WFRACBITS_DW_S): Likewise.
15368 (_FP_WFRACXBITS_DW_S): Likewise.
15369 (_FP_HIGHBIT_DW_S): Likewise.
15370 (FP_FMA_S): Likewise.
15371 (_FP_FRAC_HIGH_DW_S): Likewise.
15372 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15373 (_FP_WFRACBITS_DW_D): Likewise.
15374 (_FP_WFRACXBITS_DW_D): Likewise.
15375 (_FP_HIGHBIT_DW_D): Likewise.
15376 (FP_FMA_D): Likewise.
15377 (_FP_FRAC_HIGH_DW_D): Likewise.
15378 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15379 (_FP_WFRACBITS_DW_E): Likewise.
15380 (_FP_WFRACXBITS_DW_E): Likewise.
15381 (_FP_HIGHBIT_DW_E): Likewise.
15382 (FP_FMA_E): Likewise.
15383 (_FP_FRAC_HIGH_DW_E): Likewise.
15384 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15385 (_FP_WFRACBITS_DW_Q): Likewise.
15386 (_FP_WFRACXBITS_DW_Q): Likewise.
15387 (_FP_HIGHBIT_DW_Q): Likewise.
15388 (FP_FMA_Q): Likewise.
15389 (_FP_FRAC_HIGH_DW_Q): Likewise.
15390 * soft-fp/fmasf4.c: New file.
15391 * soft-fp/fmadf4.c: Likewise.
15392 * soft-fp/fmatf4.c: Likewise.
15394 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15397 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15401 (index_Slow_SSE4_2): Likewise.
15402 (index_Prefer_PMINUB_for_stringop): Likewise.
15403 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15404 bit_Slow_SSE4_2 is set.
15405 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15406 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15408 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15410 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15411 rtld_global._dl_hwcap2.
15412 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15414 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15415 POWER8 feature descriptions defined in _dl_hwcap2.
15416 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15417 string handling for POWER8 feature bits.
15418 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15419 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15420 _dl_powerpc_cap_flags.
15421 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15422 * sysdeps/powerpc/rtld-global-offsets.sym
15423 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15424 _dl_hwcap2 in the rtld_global_ro structure.
15426 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15428 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15429 hardware capabilities in support of AT_HWCAP2.
15430 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15431 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15433 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15434 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15435 explicitly the unknown a_type display mechanism is used.
15436 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15437 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15439 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15440 to macro prototype for AT_HWCAP2 support.
15441 * sysdeps/i386/dl-procinfo.h: Likewise.
15442 * sysdeps/s390/dl-procinfo.h: Likewise.
15443 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15444 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15445 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15446 return -1 for unknown a_type display fallback.
15447 * sysdeps/sparc/dl-procinfo.h: Likewise.
15448 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15449 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15451 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15453 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15454 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15456 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15459 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15460 mprotect making __stack_prot writable.
15462 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15463 Joseph Myers <joseph@codesourcery.com>
15465 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15466 as being properly aligned.
15468 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15470 * dlfcn/modstatic5.c: New file.
15471 * dlfcn/tststatic5.c: New file.
15472 * dlfcn/Makefile (tests): Add tststatic5.
15473 (tests-static): Likewise.
15474 (modules-names): Add modstatic5.
15475 (tststatic5-ENV): New variable.
15476 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15479 * elf/dl-support.c (_dl_main_map): New variable.
15480 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15481 (_dl_nns, _dl_load_adds): Set to 1.
15482 (_dl_initial_searchlist): Refer to _dl_main_map.
15483 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15484 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15485 call to _dl_get_origin.
15486 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15488 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15489 * dlfcn/modstatic3.c: New file.
15490 * dlfcn/tststatic3.c: New file.
15491 * dlfcn/tststatic4.c: New file.
15492 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15493 (tests-static): Likewise.
15494 (modules-names): Add modstatic3.
15495 (tststatic3-ENV, tststatic4-ENV): New variables.
15496 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15497 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15499 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15501 * configure.in (CC): Require GCC version 4.4 or later.
15502 * configure: Regenerated.
15503 * manual/install.texi (Tools for Compilation): Update GCC version
15505 * INSTALL: Regenerated.
15507 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15510 * string/test-memcmp.c (check2): New.
15511 (main): Call check2.
15513 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15515 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15518 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15520 (dl_open_worker) [!SHARED]: ... here.
15522 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15524 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15526 2013-06-25 Richard Henderson <rth@redhat.com>
15528 * locale/programs/locarchive.c: Include <libc-internal.h>
15530 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15532 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15533 trailing whitespace removed.
15535 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15538 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15539 * locale/programs/locarchive.c: Include libc-mmap.h.
15540 (prepare_address_space): Take two new outputs (the mmap base and len).
15541 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15543 (create_archive): Declare new mmap base and len values for
15544 prepare_address_space, and store the result in ah.
15545 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15546 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15547 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15548 Declare new mmap base and len values for
15549 prepare_address_space, and store the result in new_ah.
15550 (open_archive): Declare new mmap base and len values for
15551 prepare_address_space, and store the result in ah.
15552 (close_archive): If ah->mmap_base is not NULL, use that and
15553 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15554 * sysdeps/generic/libc-mmap.h: New file.
15556 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15558 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15559 (ALIGN_UP): Likewise.
15560 (PTR_ALIGN_DOWN): Likewise.
15561 (PTR_ALIGN_UP): Likewise.
15563 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15565 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15566 entry mapped to PPC_PLATFORM_POWER8.
15567 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15569 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15570 (_dl_string_platform): Add case for exporting platform position for
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15573 search path to sysdeps/powerpc/powerpc32/power8 directory.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15575 search path to sysdeps/powerpc/powerpc64/power8 directory.
15576 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15577 power7 directories.
15578 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15579 power7 directories.
15581 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15583 * INSTALL: Regenerate.
15585 * nscd/connections.c (nscd_init): Fix comment.
15587 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15589 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15592 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15593 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15595 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15597 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15599 (DL_DST_REQ_STATIC): Remove macro.
15601 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15604 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15605 with a shift of 0 bits.
15607 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15609 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15612 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15615 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15617 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15619 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15620 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15621 accepts -fno-tree-loop-distribute-patterns.
15622 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15623 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15625 * string/memset.c (memset): Likewise.
15626 * string/test-memmove.c (simple_memmove): Disable loop transformation
15628 * string/test-memset.c (simple_memset): Likewise.
15629 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15630 * benchtests/bench-memset.c (simple_memset): Likewise.
15631 * configure: Regenerated.
15633 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15635 * math/test-misc.c (main): Ignore fesetround failure when failures
15636 of subsequent rounding tests would be ignored.
15639 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15640 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15641 * math/fegetenv.c (__fegetenv): Return 0.
15642 * math/fegetexcept.c (fegetexcept): Return 0.
15643 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15645 * math/feholdexcpt.c (feholdexcept): Return 0.
15646 * math/fesetenv.c (__fesetenv): Return 0.
15647 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15648 argument FE_TONEAREST.
15649 * math/feupdateenv.c (__feupdateenv): Return 0.
15650 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15652 2013-06-18 Roland McGrath <roland@hack.frob.com>
15654 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15655 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15656 ($(objpfx)rtld-%.os rules): Use them.
15658 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15660 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15663 2013-06-17 Roland McGrath <roland@hack.frob.com>
15665 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15666 length of target pattern, then descending length of dependency pattern.
15667 * configure.in (AWK): Require gawk 3.1.2 or newer.
15668 * manual/install.texi (Tools for Compilation): Say that we do.
15669 * configure: Regenerated.
15671 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15672 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15673 * scripts/sysd-rules.awk: ... this new script.
15674 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15675 than a glob-style pattern.
15677 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15679 * math/test-misc.c (main): Do not treat incorrectly rounded
15680 conversions as failure unless ROUNDING_TESTS passes.
15682 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15685 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15686 restore exception state around main square root computation, then
15687 check for inexactness explicitly.
15689 * math/libm-test.inc (fma_test_data): Add another test.
15691 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15693 * manual/threads.texi (Non-POSIX Extensions): New document
15694 node. Document pthread_getattr_default_np and
15695 pthread_setattr_default_np.
15697 * Versions.def (libpthread): Add GLIBC_2.18.
15698 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15707 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15718 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15721 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15723 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15724 H.J. Lu <hjl.tools@gmail.com>
15727 * sysdeps/x86_64/rtld-memset.c: Remove file.
15728 * sysdeps/x86_64/rtld-memset.S: New file.
15730 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15732 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15733 (test_in_one_mode): Take arguments for whether the rounding mode
15734 is supported for each floating-point type.
15735 (do_test): Pass new arguments to test_in_one_mode using
15738 2013-06-13 Roland McGrath <roland@hack.frob.com>
15740 * posix/tst-waitid.c (do_test): Distinguish different instances of
15741 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15742 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15743 before entering the kernel for waitpid.
15745 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15747 * NEWS: Fix note on clock function precision. Text by Roland
15750 2013-06-13 Roland McGrath <roland@hack.frob.com>
15752 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15753 it into place only when and if the sanity check passes.
15755 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15757 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15758 output for whether conversion result is exact. Take argument
15759 indicating whether type is IBM long double.
15760 (round_for_all): Change need_exact field to ibm_ld.
15761 * stdlib/tst-strtod-round.c (struct exactness): New type.
15762 (struct test): Change bool ld_ok field to struct exactness exact.
15763 (TEST): Update all definitions for change to field.
15764 (tests): Regenerate array contents.
15765 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15766 field value. Check for IBM long double here.
15767 (do_test): Update calls to test_in_one_mode.
15769 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15772 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15773 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15775 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15778 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15779 generated by the compiler on loop optimizations.
15780 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15781 general definitions.
15783 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15785 * math/bug-nextafter.c: Include <math-tests.h>.
15786 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15788 * math/bug-nexttoward.c: Include <math-tests.h>.
15789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15791 * math/test-misc.c: Include <math-tests.h>.
15792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15795 2013-06-12 Andreas Jaeger <aj@suse.de>
15797 * po/ia.po: Update Interlingua translation from translation
15800 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15802 * include/fenv.h: Include stdbool.h.
15803 (struct rm_ctx): New structure.
15804 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15806 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15807 (SET_RESTORE_ROUNDF): Likewise.
15808 (SET_RESTORE_ROUNDL): Likewise.
15809 (SET_RESTORE_ROUND_NOEX): Likewise.
15810 (SET_RESTORE_ROUND_NOEXF): Likewise.
15811 (SET_RESTORE_ROUND_NOEXL): Likewise.
15812 (SET_RESTORE_ROUND_53BIT): Likewise.
15813 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15814 (libc_feresetround_noexf_ctx): Likewise.
15815 (libc_feresetround_noexl_ctx): Likewise.
15816 (libc_feholdsetround_53bit_ctx): Likewise.
15817 (libc_feresetround_53bit_ctx): Likewise.
15818 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15819 (libc_feholdexcept_setround_sse_ctx): New function.
15820 (libc_fesetenv_sse_ctx): Likewise.
15821 (libc_feupdateenv_sse_ctx): Likewise.
15822 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15823 (libc_feholdexcept_setround_387_ctx): Likewise.
15824 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15825 (libc_feholdsetround_387_prec_ctx): Likewise.
15826 (libc_feholdsetround_387_ctx): Likewise.
15827 (libc_feholdsetround_387_53bit_ctx): Likewise.
15828 (libc_feholdsetround_sse_ctx): Likewise.
15829 (libc_feresetround_sse_ctx): Likewise.
15830 (libc_feresetround_387_ctx): Likewise.
15831 (libc_feupdateenv_387_ctx): Likewise.
15832 (libc_feholdexcept_setroundf_ctx): Define macro.
15833 (libc_fesetenvf_ctx): Likewise.
15834 (libc_feupdateenvf_ctx): Likewise.
15835 (libc_feholdsetroundf_ctx): Likewise.
15836 (libc_feresetroundf_ctx): Likewise.
15837 (libc_feholdexcept_setround_ctx): Likewise.
15838 (libc_fesetenv_ctx): Likewise.
15839 (libc_feupdateenv_ctx): Likewise.
15840 (libc_feholdsetround_ctx): Likewise.
15841 (libc_feresetround_ctx): Likewise.
15842 (libc_feholdexcept_setroundl_ctx): Likewise.
15843 (libc_feupdateenvl_ctx): Likewise.
15844 (libc_feholdsetroundl_ctx): Likewise.
15845 (libc_feresetroundl_ctx): Likewise.
15846 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15847 (libc_feresetround_53bit_ctx): Likewise.
15849 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15851 * locale/iso-639.def: Convert to UTF-8.
15853 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15855 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15856 (EXCEPTION_TESTS_double): Likewise.
15857 (EXCEPTION_TESTS_long_double): Likewise.
15858 (EXCEPTION_TESTS): Likewise.
15859 * math/libm-test.inc (test_exceptions): Only test exceptions if
15860 EXCEPTION_TESTS (FLOAT).
15862 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15864 * benchtests/Makefile (string-bench): Add strcpy_chk and
15866 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15867 * benchtests/bench-stpcpy_chk.c: New file.
15868 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15869 * benchtests/bench-strcpy_chk.c: New file.
15870 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15872 (do_test): Likewise.
15874 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15876 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15877 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15878 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15879 with tabs where appropriate.
15880 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15882 [PPC_PLATFORM_PPC440]: Likewise.
15883 [PPC_PLATFORM_PPC464]: Likewise.
15884 [PPC_PLATFORM_PPC476]: Likewise.
15885 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15886 ppc464, and ppc476 platform strings merging from ports/
15889 2013-06-11 Andreas Schwab <schwab@suse.de>
15892 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15893 (from_ucs4_idx): Regenerate.
15894 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15895 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15896 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15897 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15898 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15899 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15900 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15901 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15902 from FROM_LOOP and TO_LOOP specific macros.
15903 (BODY): Handle combining characters.
15904 * iconvdata/BIG5HKSCS.irreversible: Update.
15905 * iconvdata/BIG5HKSCS.precomposed: New file.
15906 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15908 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15910 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15912 * include/sys/time.h: Fix indentation and add copyright header.
15914 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15915 (do_test): Likewise.
15916 * string/test-memchr.c (do_one_test): Likewise.
15917 (do_test): Likewise.
15918 * string/test-memcmp.c (do_one_test): Likewise.
15919 (do_test): Likewise.
15920 * string/test-memcpy.c (do_one_test): Likewise.
15921 (do_test): Likewise.
15922 * string/test-memmem.c (do_one_test): Likewise.
15923 (do_test): Likewise.
15924 (do_random_tests): Likewise.
15925 * string/test-memmove.c (do_one_test): Likewise.
15926 (do_test): Likewise.
15927 * string/test-memset.c (do_one_test): Likewise.
15928 (do_test): Likewise.
15929 * string/test-rawmemchr.c (do_one_test): Likewise.
15930 (do_test): Likewise.
15931 * string/test-strcasecmp.c (do_one_test): Likewise.
15932 (do_test): Likewise.
15933 * string/test-strcasestr.c (do_one_test): Likewise.
15934 (do_test): Likewise.
15935 * string/test-strcat.c (do_one_test): Likewise.
15936 (do_test): Likewise.
15937 * string/test-strchr.c (do_one_test): Likewise.
15938 (do_test): Likewise.
15939 * string/test-strcmp.c (do_one_test): Likewise.
15940 (do_test): Likewise.
15941 * string/test-strcpy.c (do_one_test): Likewise.
15942 (do_test): Likewise.
15943 * string/test-string.h: Likewise.
15944 (test_init): Likewise.
15945 * string/test-strlen.c (do_one_test): Likewise.
15946 (do_test): Likewise.
15947 * string/test-strncasecmp.c (do_one_test): Likewise.
15948 (do_test): Likewise.
15949 * string/test-strncat.c (do_one_test): Likewise.
15950 (do_test): Likewise.
15951 * string/test-strncmp.c (do_one_test): Likewise.
15952 (do_test_limit): Likewise.
15953 (do_test): Likewise.
15954 * string/test-strncpy.c (do_one_test): Likewise.
15955 (do_test): Likewise.
15956 * string/test-strnlen.c (do_one_test): Likewise.
15957 (do_test): Likewise.
15958 * string/test-strpbrk.c (do_one_test): Likewise.
15959 (do_test): Likewise.
15960 * string/test-strrchr.c (do_one_test): Likewise.
15961 (do_test): Likewise.
15962 * string/test-strspn.c (do_one_test): Likewise.
15963 (do_test): Likewise.
15964 * string/test-strstr.c (do_one_test): Likewise.
15965 (do_test): Likewise.
15967 * benchtests/Makefile (string-bench): Add string benchmarks.
15968 * benchtests/bench-bcopy-ifunc.c: New file.
15969 * benchtests/bench-bcopy.c: New file.
15970 * benchtests/bench-bzero-ifunc.c: New file.
15971 * benchtests/bench-bzero.c: New file.
15972 * benchtests/bench-memccpy-ifunc.c: New file.
15973 * benchtests/bench-memccpy.c: New file.
15974 * benchtests/bench-memchr-ifunc.c: New file.
15975 * benchtests/bench-memchr.c: New file.
15976 * benchtests/bench-memcmp-ifunc.c: New file.
15977 * benchtests/bench-memcmp.c: New file.
15978 * benchtests/bench-memmem-ifunc.c: New file.
15979 * benchtests/bench-memmem.c: New file.
15980 * benchtests/bench-memmove-ifunc.c: New file.
15981 * benchtests/bench-memmove.c: New file.
15982 * benchtests/bench-mempcpy-ifunc.c: New file.
15983 * benchtests/bench-mempcpy.c: New file.
15984 * benchtests/bench-memset-ifunc.c: New file.
15985 * benchtests/bench-memset.c: New file.
15986 * benchtests/bench-rawmemchr-ifunc.c: New file.
15987 * benchtests/bench-rawmemchr.c: New file.
15988 * benchtests/bench-stpcpy-ifunc.c: New file.
15989 * benchtests/bench-stpcpy.c: New file.
15990 * benchtests/bench-stpncpy-ifunc.c: New file.
15991 * benchtests/bench-stpncpy.c: New file.
15992 * benchtests/bench-strcasecmp-ifunc.c: New file.
15993 * benchtests/bench-strcasecmp.c: New file.
15994 * benchtests/bench-strcasestr-ifunc.c: New file.
15995 * benchtests/bench-strcasestr.c: New file.
15996 * benchtests/bench-strcat-ifunc.c: New file.
15997 * benchtests/bench-strcat.c: New file.
15998 * benchtests/bench-strchr-ifunc.c: New file.
15999 * benchtests/bench-strchr.c: New file.
16000 * benchtests/bench-strchrnul-ifunc.c: New file.
16001 * benchtests/bench-strchrnul.c: New file.
16002 * benchtests/bench-strcmp-ifunc.c: New file.
16003 * benchtests/bench-strcmp.c: New file.
16004 * benchtests/bench-strcpy-ifunc.c: New file.
16005 * benchtests/bench-strcpy.c: New file.
16006 * benchtests/bench-strcspn-ifunc.c: New file.
16007 * benchtests/bench-strcspn.c: New file.
16008 * benchtests/bench-strlen-ifunc.c: New file.
16009 * benchtests/bench-strlen.c: New file.
16010 * benchtests/bench-strncasecmp-ifunc.c: New file.
16011 * benchtests/bench-strncasecmp.c: New file.
16012 * benchtests/bench-strncat-ifunc.c: New file.
16013 * benchtests/bench-strncat.c: New file.
16014 * benchtests/bench-strncmp-ifunc.c: New file.
16015 * benchtests/bench-strncmp.c: New file.
16016 * benchtests/bench-strncpy-ifunc.c: New file.
16017 * benchtests/bench-strncpy.c: New file.
16018 * benchtests/bench-strnlen-ifunc.c: New file.
16019 * benchtests/bench-strnlen.c: New file.
16020 * benchtests/bench-strpbrk-ifunc.c: New file.
16021 * benchtests/bench-strpbrk.c: New file.
16022 * benchtests/bench-strrchr-ifunc.c: New file.
16023 * benchtests/bench-strrchr.c: New file.
16024 * benchtests/bench-strspn-ifunc.c: New file.
16025 * benchtests/bench-strspn.c: New file.
16026 * benchtests/bench-strstr-ifunc.c: New file.
16027 * benchtests/bench-strstr.c: New file.
16029 * benchtests/Makefile: Disable parallel execution of targets.
16030 (string-bench): Add memcpy.
16031 (benchset): New variable to store a list of benchmark sets.
16032 (bench-func): Renamed from bench.
16033 (bench-set): New target.
16034 (bench): Depend on bench-func and bench-set.
16035 * benchtests/README: Add section on benchmark sets.
16036 * benchtests/bench-memcpy-ifunc.c: New file.
16037 * benchtests/bench-memcpy.c: New file.
16038 * benchtests/bench-string.h: New file.
16040 2013-06-11 Andreas Schwab <schwab@suse.de>
16043 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16044 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16045 values in the triple.
16046 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16047 terminator in the group key.
16049 2013-06-11 Andreas Jaeger <aj@suse.de>
16051 * po/zh_TW.po: Update Chinese (traditional) translation from
16052 translation project.
16054 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16056 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16057 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16058 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16059 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16060 (clock_getcpuclockid): Likewise.
16061 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16062 Add weak_alias and libc_hidden_def.
16063 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16064 * rt/clock_gettime.c (clock_gettime): Rename to
16065 __clock_gettime. Add weak_alias and libc_hidden_def.
16066 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16067 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16068 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16069 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16070 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16072 * rt/clock_settime.c (clock_settime): Rename to
16073 __clock_settime. Add weak_alias and libc_hidden_def.
16074 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16076 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16078 * mach/err_boot.sub: Remove trailing whitespace.
16079 * mach/err_ipc.sub: Likewise.
16080 * mach/err_mach.sub: Likewise.
16082 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16083 (ROUNDING_TESTS_double): Likewise.
16084 (ROUNDING_TESTS_long_double): Likewise.
16085 (ROUNDING_TESTS): Likewise.
16086 * math/libm-test.inc: Include <math-tests.h>.
16087 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16088 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16089 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16090 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16092 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16094 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16097 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16099 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16100 otherwise empty TRANS lines.
16101 * sysdeps/gnu/errlist.c: Regenerated.
16103 * catgets/gencat.c (error_print): Use (void) in function
16105 * crypt/crypt_util.c (__init_des): Likewise.
16106 * crypt/speeds.c (Stop): Likewise.
16108 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16109 * inet/ruserpass.c (token): Likewise.
16110 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16111 * intl/localealias.c (extend_alias_table): Likewise.
16112 * intl/plural-exp.c (init_germanic_plural): Likewise.
16113 * libio/fcloseall.c (__fcloseall): Likewise.
16114 * libio/genops.c (_IO_flush_all): Likewise.
16115 (_IO_flush_all_linebuffered): Likewise.
16116 (_IO_cleanup): Likewise.
16117 (_IO_iter_begin): Likewise.
16118 (_IO_iter_end): Likewise.
16119 (_IO_list_lock): Likewise.
16120 (_IO_list_unlock): Likewise.
16121 (_IO_list_resetlock): Likewise.
16122 * libio/getchar.c (getchar): Likewise.
16123 * libio/getchar_u.c (getchar_unlocked): Likewise.
16124 * libio/getwchar.c (getwchar): Likewise.
16125 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16126 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16127 * login/getpt.c (__getpt): Likewise.
16128 * login/tst-utmp.c (main): Likewise.
16129 * malloc/hooks.c (__malloc_check_init): Likewise.
16130 * malloc/malloc.c (__malloc_stats): Likewise.
16131 * malloc/mtrace.c (tr_break): Likewise.
16132 (mtrace): Likewise.
16133 (muntrace): Likewise.
16134 * misc/fstab.c (endfsent): Likewise.
16135 * misc/getclktck.c (__getclktck): Likewise.
16136 * misc/getdtsz.c (__getdtablesize): Likewise.
16137 * misc/gethostid.c (gethostid): Likewise.
16138 * misc/getpagesize.c (__getpagesize): Likewise.
16139 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16140 (__get_nprocs): Likewise.
16141 (__get_phys_pages): Likewise.
16142 (__get_avphys_pages): Likewise.
16143 * misc/getttyent.c (getttyent): Likewise.
16144 (setttyent): Likewise.
16145 (endttyent): Likewise.
16146 * misc/getusershell.c (getusershell): Likewise.
16147 (endusershell): Likewise.
16148 (setusershell): Likewise.
16149 (initshells): Likewise.
16150 * misc/hsearch.c (__hdestroy): Likewise.
16151 * misc/sync.c (sync): Likewise.
16152 * misc/syslog.c (closelog_internal): Likewise.
16153 (closelog): Likewise.
16154 * misc/ttyslot.c (ttyslot): Likewise.
16155 * misc/vhangup.c (vhangup): Likewise.
16156 * posix/fork.c (__fork): Likewise.
16157 * posix/getegid.c (__getegid): Likewise.
16158 * posix/geteuid.c (__geteuid): Likewise.
16159 * posix/getgid.c (__getgid): Likewise.
16160 * posix/getpid.c (__getpid): Likewise.
16161 * posix/getppid.c (__getppid): Likewise.
16162 * posix/getuid.c (__getuid): Likewise.
16163 * posix/pause.c (pause): Likewise.
16164 * posix/setpgrp.c (setpgrp): Likewise.
16165 * posix/setsid.c (__setsid): Likewise.
16166 * posix/test-vfork.c (noop): Likewise.
16167 * resolv/gethnamaddr.c (_endhtent): Likewise.
16168 (_gethtent): Likewise.
16169 (ht_endhostent): Likewise.
16170 (gethostent): Likewise.
16171 (dns_service): Likewise.
16172 * stdlib/drand48.c (drand48): Likewise.
16173 * stdlib/lrand48.c (lrand48): Likewise.
16174 * stdlib/mrand48.c (mrand48): Likewise.
16175 * stdlib/rand.c (rand): Likewise.
16176 * stdlib/random.c (__random): Likewise.
16177 * stdlib/setenv.c (clearenv): Likewise.
16178 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16179 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16180 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16181 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16182 (__get_nprocs): Likewise.
16183 (__get_phys_pages): Likewise.
16184 (__get_avphys_pages): Likewise.
16185 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16186 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16187 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16188 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16189 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16190 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16191 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16192 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16193 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16194 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16195 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16196 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16197 * sysdeps/posix/clock.c (clock): Likewise.
16198 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16199 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16200 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16201 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16202 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16204 (__get_nprocs_conf): Likewise.
16205 (__get_phys_pages): Likewise.
16206 (__get_avphys_pages): Likewise.
16207 * time/clock.c (clock): Likewise.
16208 * time/tzset.c (__tzname_max): Likewise.
16210 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16212 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16213 (__bswap_32): Do not use "register".
16214 * crypt/crypt.c (_ufc_doit_r): Likewise.
16215 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16216 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16217 * gmon/gmon.c (__monstartup): Likewise.
16218 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16219 * hurd/hurdmalloc.c (more_memory): Likewise.
16220 (malloc): Likewise.
16222 (realloc): Likewise.
16223 (malloc_fork_prepare): Likewise.
16224 (malloc_fork_parent): Likewise.
16225 (malloc_fork_child): Likewise.
16226 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16227 (_svcauth_des): Likewise.
16228 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16229 * inet/inet_net.c (inet_network): Likewise.
16230 * inet/inet_netof.c (inet_netof): Likewise.
16231 * inet/rcmd.c (__validuser2_sa): Likewise.
16232 * io/fts.c (fts_open): Likewise.
16233 (fts_load): Likewise.
16234 (fts_close): Likewise.
16235 (fts_read): Likewise.
16236 (fts_children): Likewise.
16237 (fts_build): Likewise.
16238 (fts_stat): Likewise.
16239 (fts_sort): Likewise.
16240 (fts_alloc): Likewise.
16241 (fts_lfree): Likewise.
16242 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16243 (_IO_file_xsgetn): Likewise.
16244 (_IO_file_xsgetn_mmap): Likewise.
16245 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16246 (_IO_cookie_write): Likewise.
16247 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16248 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16249 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16250 * malloc/obstack.c (_obstack_begin): Likewise.
16251 (_obstack_begin_1): Likewise.
16252 (_obstack_newchunk): Likewise.
16253 (_obstack_allocated_p): Likewise.
16254 (obstack_free): Likewise.
16255 (_obstack_memory_used): Likewise.
16256 * misc/getttyent.c (getttynam): Likewise.
16257 (getttyent): Likewise.
16260 * misc/getusershell.c (initshells): Likewise.
16261 * misc/syslog.c (__vsyslog_chk): Likewise.
16262 * misc/ttyslot.c (ttyslot): Likewise.
16263 * nis/nis_hash.c (__nis_hash): Likewise.
16264 * posix/fnmatch_loop.c (FCT): Likewise.
16265 * posix/getconf.c (print_all): Likewise.
16267 * posix/getopt.c (exchange): Likewise.
16268 * posix/glob.c (globfree): Likewise.
16269 (prefix_array): Likewise.
16270 (__glob_pattern_type): Likewise.
16271 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16272 (NS_GET32): Likewise.
16273 (NS_PUT16): Likewise.
16274 (NS_PUT32): Likewise.
16275 * resolv/gethnamaddr.c (getanswer): Likewise.
16276 (gethostbyname2): Likewise.
16277 (gethostbyaddr): Likewise.
16278 (_gethtent): Likewise.
16279 (_gethtbyname2): Likewise.
16280 (_gethtbyaddr): Likewise.
16281 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16282 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16283 * resolv/res_init.c (__res_vinit): Likewise.
16284 (net_mask): Likewise.
16285 * resolv/res_mkquery.c (outchar): Likewise.
16287 * stdio-common/printf_fp.c (outchar): Likewise.
16289 * stdio-common/printf_fphex.c (outchar): Likewise.
16291 * stdio-common/printf_size.c (outchar): Likewise.
16293 * stdio-common/test_rdwr.c (main): Likewise.
16294 * stdio-common/tfformat.c (matches): Likewise.
16295 * stdio-common/vfprintf.c (outchar): Likewise.
16296 (printf_unknown): Likewise.
16297 (buffered_vfprintf): Likewise.
16298 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16299 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16300 (ReadFile): Likewise.
16301 * stdlib/qsort.c (SWAP): Likewise.
16302 (_quicksort): Likewise.
16303 * stdlib/setenv.c (__add_to_environ): Likewise.
16304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16305 * stdlib/strtol_l.c (__strtol_l): Likewise.
16306 * stdlib/tst-strtod.c (main): Likewise.
16307 * stdlib/tst-strtol.c (main): Likewise.
16308 * stdlib/tst-strtoll.c (main): Likewise.
16309 * string/bits/string2.h (__strcmp_cc): Likewise.
16310 (__strcmp_cg): Likewise.
16311 (__strcspn_c1): Likewise.
16312 (__strcspn_c2): Likewise.
16313 (__strcspn_c3): Likewise.
16314 (__strspn_c1): Likewise.
16315 (__strspn_c2): Likewise.
16316 (__strspn_c3): Likewise.
16317 (__strsep_1c): Likewise.
16318 (__strsep_2c): Likewise.
16319 (__strsep_3c): Likewise.
16320 * string/memccpy.c (__memccpy): Likewise.
16321 * string/stpcpy.c (__stpcpy): Likewise.
16322 * string/strcmp.c (strcmp): Likewise.
16323 * string/strrchr.c (strrchr): Likewise.
16324 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16326 * sysdeps/mach/hurd/getcwd.c
16327 (_hurd_canonicalize_directory_name_internal): Likewise.
16328 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16329 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16330 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16331 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16332 Likewise, in both definitions.
16333 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16335 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16336 64] (__bswap_64): Likewise.
16337 * time/test_time.c (main): Likewise.
16338 * time/tzfile.c (__tzfile_read): Likewise.
16339 (__tzfile_compute): Likewise.
16340 * time/tzset.c (__tzset_parse_tz): Likewise.
16341 (tzset_internal): Likewise.
16342 (compute_change): Likewise.
16343 * wcsmbs/wcscat.c (__wcscat): Likewise.
16344 * wcsmbs/wcschr.c (wcschr): Likewise.
16345 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16346 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16347 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16348 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16349 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16350 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16351 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16352 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16353 * wcsmbs/wmemset.c (wmemset): Likewise.
16355 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16357 * scripts/config.guess: Update to version 2013-05-16.
16358 * scripts/config.sub: Update to version 2013-04-24.
16359 * scripts/install-sh: Update to version 2011-11-20.07.
16360 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16361 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16363 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16365 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16366 * elf/sln.c: Likewise.
16367 * hurd/hurd/ioctl.h: Likewise.
16368 * hurd/hurdmalloc.c: Likewise.
16369 * hurd/xattr.c: Likewise.
16370 * include/shlib-compat.h: Likewise.
16371 * inet/ruserpass.c: Likewise.
16372 * libio/iofgets_u.c: Likewise.
16373 * libio/iofgetws_u.c: Likewise.
16374 * locale/programs/ld-identification.c: Likewise.
16375 * locale/programs/ld-time.c: Likewise.
16376 * mach/msg-destroy.c: Likewise.
16377 * nss/nss_files/files-netgrp.c: Likewise.
16378 * resolv/res_data.c: Likewise.
16379 * soft-fp/op-1.h: Likewise.
16380 * soft-fp/op-2.h: Likewise.
16381 * soft-fp/op-4.h: Likewise.
16382 * soft-fp/op-common.h: Likewise.
16383 * stdio-common/printf_fphex.c: Likewise.
16384 * stdlib/strtod_l.c: Likewise.
16385 * sunrpc/rpc/clnt.h: Likewise.
16386 * sysdeps/generic/framestate.c: Likewise.
16387 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16388 * sysdeps/i386/bsd-setjmp.S: Likewise.
16389 * sysdeps/i386/__longjmp.S: Likewise.
16390 * sysdeps/i386/setjmp.S: Likewise.
16391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16392 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16394 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16398 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16401 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16404 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16407 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16409 * sysdeps/ieee754/support.c: Likewise.
16410 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16411 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16412 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16413 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16414 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16415 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16416 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16417 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16418 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16419 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16420 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16421 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16422 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16423 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16424 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16425 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16426 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16429 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16431 * posix/transbug.c: Remove executable mode.
16433 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16435 * crypt/speeds.c: Remove trailing whitespace.
16436 * dlfcn/default.c: Likewise.
16437 * elf/ifuncdep2.c: Likewise.
16438 * elf/ifuncmain1.c: Likewise.
16439 * elf/ifuncmain1vis.c: Likewise.
16440 * elf/testobj.h: Likewise.
16441 * elf/tst-stackguard1.c: Likewise.
16442 * gmon/sys/gmon.h: Likewise.
16443 * hurd/hurdmsg.c: Likewise.
16444 * hurd/new-fd.c: Likewise.
16445 * hurd/ports-get.c: Likewise.
16446 * iconvdata/ibm1008_420.c: Likewise.
16447 * inet/tst-getni1.c: Likewise.
16448 * inet/tst-getni2.c: Likewise.
16449 * libio/ioungetc.c: Likewise.
16450 * libio/wfiledoalloc.c: Likewise.
16451 * manual/libm-err-tab.pl: Likewise.
16452 * math/w_dremf.c: Likewise.
16453 * misc/ftruncate.c: Likewise.
16454 * posix/bug-glob2.c: Likewise.
16455 * posix/tst-pcre.c: Likewise.
16456 * posix/wait4.c: Likewise.
16457 * resolv/README: Likewise.
16458 * resolv/res_debug.h: Likewise.
16459 * resolv/tst-inet_ntop.c: Likewise.
16460 * setjmp/bug269-setjmp.c: Likewise.
16461 * soft-fp/extended.h: Likewise.
16462 * soft-fp/op-1.h: Likewise.
16463 * soft-fp/op-2.h: Likewise.
16464 * soft-fp/op-4.h: Likewise.
16465 * soft-fp/op-8.h: Likewise.
16466 * soft-fp/testit.c: Likewise.
16467 * stdio-common/bug16.c: Likewise.
16468 * stdlib/random.c: Likewise.
16469 * sunrpc/rpcsvc/rquota.x: Likewise.
16470 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16471 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16473 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16474 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16475 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16476 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16477 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16478 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16479 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16480 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16484 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16485 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16486 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16487 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16488 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16489 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16490 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16491 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16492 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16493 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16498 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16499 * sysdeps/ieee754/s_lib_version.c: Likewise.
16500 * sysdeps/mach/hurd/check_fds.c: Likewise.
16501 * sysdeps/mach/hurd/getsockname.c: Likewise.
16502 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16503 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16504 * sysdeps/powerpc/bits/link.h: Likewise.
16505 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16506 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16507 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16508 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16509 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16510 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16511 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16512 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16513 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16514 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16515 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16517 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16518 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16519 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16520 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16521 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16523 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16524 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16525 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16526 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16528 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16529 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16532 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16533 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16536 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16539 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16540 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16541 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16542 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16543 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16544 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16545 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16546 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16548 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16549 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16550 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16551 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16552 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16553 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16554 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16555 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16557 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16558 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16559 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16560 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16561 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16562 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16563 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16564 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16565 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16566 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16567 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16568 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16569 * sysdeps/powerpc/sysdep.h: Likewise.
16570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16571 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16572 * sysdeps/sh/dl-trampoline.S: Likewise.
16573 * sysdeps/sh/memset.S: Likewise.
16574 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16575 * sysdeps/sh/strlen.S: Likewise.
16576 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16577 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16578 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16579 * sysdeps/sparc/sparc32/rem.S: Likewise.
16580 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16581 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16582 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16583 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16584 * sysdeps/sparc/sparc32/urem.S: Likewise.
16585 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16586 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16587 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16588 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16589 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16590 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16591 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16592 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16593 * sysdeps/unix/bsd/times.c: Likewise.
16594 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16595 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16599 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16600 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16601 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16602 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16603 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16604 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16605 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16606 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16607 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16608 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16609 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16610 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16611 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16612 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16613 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16614 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16615 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16616 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16617 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16618 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16619 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16620 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16622 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16623 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16624 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16625 * sysdeps/x86_64/strcspn.S: Likewise.
16627 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16629 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16630 generated file. Regenerate properly from gen-translit.pl.
16631 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16632 locale/C-translit.h.
16634 2013-06-05 Andreas Schwab <schwab@suse.de>
16637 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16638 week as 6 instead of -1.
16639 * time/tst-strptime.c (day_tests): Add test case.
16641 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16643 * sysdeps/generic/math_private.h
16644 (libc_feholdexcept_setround_53bit): Replace with
16645 libc_feholdsetround_53bit.
16646 (libc_feupdateenv_53bit): Replace with
16647 libc_feresetround_53bit.
16648 (SET_RESTORE_ROUND_53BIT): Adjust.
16650 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16652 * string/test-strchrnul.c: Add copyright header.
16654 * posix/tst-getaddrinfo4.c: Increase test timeout.
16656 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16659 * math/libm-test.inc (MAX_EXP): Remove
16661 (ulp): Use MIN_EXP - MANT_DIG.
16662 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16664 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16666 * po/be.po: Revert last change.
16667 * po/zh_CN.po: Likewise.
16668 * po/header.pot: Likewise.
16670 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16672 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16673 link-libc-deps to empty as target-specific variable.
16674 * Makerules (link-libc-args): New variable.
16675 (libc-for-link): Likewise.
16676 (link-libc-deps): Likewise.
16677 (lib%.so): Depend on $(link-libc-deps). Link with
16679 (build-module): Link with $(link-libc-args).
16680 (build-module-asneeded): Likewise.
16681 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16683 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16684 target-specific variable.
16685 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16686 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16687 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16689 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16691 ($(objpfx)libpcprofile.so): Likewise.
16692 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16694 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16695 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16698 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16699 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16700 * login/Makefile ($(objpfx)libutil.so): Likewise.
16701 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16702 * math/Makefile ($(objpfx)libm.so): Likewise.
16703 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16704 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16705 variable instead of depending directly on libc.
16706 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16707 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16709 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16711 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16712 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16713 ($(objpfx)libanl.so): Likewise.
16714 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16716 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16718 * sysdeps/i386/fpu/Makefile: Remove file.
16719 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16720 ($(objpfx)libm.so): Remove dependency on ld.so.
16722 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16725 * nis/yp_xdr.c (XDRMAXNAME): Define.
16726 (XDRMAXRECORD): Define.
16727 (xdr_domainname): Use XDRMAXNAME.
16728 (xdr_mapname): Likewise.
16729 (xdr_peername): Likewise.
16730 (xdr_keydat): Use XDRMAXRECORD.
16731 (xdr_valdat): Likewise.
16733 2013-05-30 Jeff Law <law@redhat.com>
16736 * manual/errno.texi (ESTALE): Update to account for more than
16737 just NFS file systems.
16738 * sysdeps/gnu/errlist.c: Regenerated.
16740 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16743 * elf/Makefile (tests): Add tst-null-argv.
16744 (modules-names): Add tst-null-argv-lib.
16745 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16746 (tst-null-argv-ENV): Set environment for tst-null-argv.
16747 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16748 (RTLD_PROGNAME): New macro.
16749 * elf/tst-null-argv.c: New test case.
16750 * elf/tst-null-argv-lib.c: Library for test case.
16751 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16752 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16753 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16754 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16755 * elf/dl-init.c (call_init): Likewise.
16756 (_dl_init): Likewise.
16757 * elf/dl-load.c (print_search_path): Likewise.
16758 (_dl_map_object): Likewise.
16759 * elf/dl-lookup.c (do_lookup_x): Likewise.
16760 (add_dependency): Likewise.
16761 (_dl_lookup_symbol_x): Likewise.
16762 (_dl_debug_bindings): Likewise.
16763 * elf/dl-open.c (_dl_show_scope): Likewise.
16764 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16765 * elf/dl-version.c (match_symbol): Likewise.
16766 (_dl_check_map_versions): Likewise.
16767 * elf/rtld.c (dl_main): Likewise.
16768 (print_unresolved): Use RTLD_PROGNAME.
16769 (print_missing_version): Likewise.
16770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16771 (elf_machine_rela): Likewise.
16772 * sysdeps/powerpc/powerpc32/dl-machine.c
16773 (__process_machine_rela): Likewise.
16774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16780 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16783 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16787 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16789 * po/be.po: Add descriptive title.
16790 * po/zh_CN.po: Likewise.
16791 * po/header.pot: Likewise.
16793 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16795 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16797 (enlarge_archive): Likewise.
16799 2013-05-28 Ben North <ben@redfrontdoor.org>
16801 * manual/arith.texi (frexp): It is the magnitude of the return
16802 value which lies in [0.5, 1), not the return value itself.
16804 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16808 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16810 * stdio-common/bug26.c (main): Correct fscanf template.
16812 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16813 declare _dl_skip_args.
16815 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16818 * manual/platform.texi: Add missing @end deftypefun.
16820 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16823 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16824 bit of mantissa of 2^16382.
16825 * math/libm-test.inc (hypot_test_data): Add more tests.
16827 * math/libm-test.inc: Add drem and pow10 to list of tested
16829 (pow10_test): New function.
16830 (drem_test): Likewise.
16831 (drem_test_tonearest): Likewise.
16832 (drem_test_towardzero): Likewise.
16833 (drem_test_downward): Likewise.
16834 (drem_test_upward): Likewise.
16835 (main): Call the new functions.
16837 * math/libm-test.inc (finite_test_data): Remove.
16838 (finite_test): Run tests from isfinite_test_data.
16839 (gamma_test_data): Remove.
16840 (gamma_test): Run tests from lgamma_test_data.
16841 * sysdeps/i386/fpu/libm-test-ulps: Update.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16844 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16846 * manual/platform.texi: Add PowerPC PPR function set documentation.
16847 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16850 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16852 * math/libm-test.inc (MAX_EXP): Define.
16854 (ulp): New function.
16855 (check_float_internal): Use ULPDIFF.
16856 (cpow_test): Disable failing test.
16857 (check_ulp): Test ulp() implemetnation.
16858 (main): Call check_ulp before starting tests.
16860 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16862 * math/gen-libm-test.pl (generate_testfile): Do not handle
16863 START_DATA and END_DATA.
16864 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16866 (acos_tonearest_test_data): Likewise.
16867 (acos_towardzero_test_data): Likewise.
16868 (acos_downward_test_data): Likewise.
16869 (acos_upward_test_data): Likewise.
16870 (acosh_test_data): Likewise.
16871 (asin_test_data): Likewise.
16872 (asin_tonearest_test_data): Likewise.
16873 (asin_towardzero_test_data): Likewise.
16874 (asin_downward_test_data): Likewise.
16875 (asin_upward_test_data): Likewise.
16876 (asinh_test_data): Likewise.
16877 (atan_test_data): Likewise.
16878 (atanh_test_data): Likewise.
16879 (atan2_test_data): Likewise.
16880 (cabs_test_data): Likewise.
16881 (cacos_test_data): Likewise.
16882 (cacosh_test_data): Likewise.
16883 (carg_test_data): Likewise.
16884 (casin_test_data): Likewise.
16885 (casinh_test_data): Likewise.
16886 (catan_test_data): Likewise.
16887 (catanh_test_data): Likewise.
16888 (cbrt_test_data): Likewise.
16889 (ccos_test_data): Likewise.
16890 (ccosh_test_data): Likewise.
16891 (ceil_test_data): Likewise.
16892 (cexp_test_data): Likewise.
16893 (cimag_test_data): Likewise.
16894 (clog_test_data): Likewise.
16895 (clog10_test_data): Likewise.
16896 (conj_test_data): Likewise.
16897 (copysign_test_data): Likewise.
16898 (cos_test_data): Likewise.
16899 (cos_tonearest_test_data): Likewise.
16900 (cos_towardzero_test_data): Likewise.
16901 (cos_downward_test_data): Likewise.
16902 (cos_upward_test_data): Likewise.
16903 (cosh_test_data): Likewise.
16904 (cosh_tonearest_test_data): Likewise.
16905 (cosh_towardzero_test_data): Likewise.
16906 (cosh_downward_test_data): Likewise.
16907 (cosh_upward_test_data): Likewise.
16908 (cpow_test_data): Likewise.
16909 (cproj_test_data): Likewise.
16910 (creal_test_data): Likewise.
16911 (csin_test_data): Likewise.
16912 (csinh_test_data): Likewise.
16913 (csqrt_test_data): Likewise.
16914 (ctan_test_data): Likewise.
16915 (ctan_tonearest_test_data): Likewise.
16916 (ctan_towardzero_test_data): Likewise.
16917 (ctan_downward_test_data): Likewise.
16918 (ctan_upward_test_data): Likewise.
16919 (ctanh_test_data): Likewise.
16920 (ctanh_tonearest_test_data): Likewise.
16921 (ctanh_towardzero_test_data): Likewise.
16922 (ctanh_downward_test_data): Likewise.
16923 (ctanh_upward_test_data): Likewise.
16924 (erf_test_data): Likewise.
16925 (erfc_test_data): Likewise.
16926 (exp_test_data): Likewise.
16927 (exp_tonearest_test_data): Likewise.
16928 (exp_towardzero_test_data): Likewise.
16929 (exp_downward_test_data): Likewise.
16930 (exp_upward_test_data): Likewise.
16931 (exp10_test_data): Likewise.
16932 (exp2_test_data): Likewise.
16933 (expm1_test_data): Likewise.
16934 (fabs_test_data): Likewise.
16935 (fdim_test_data): Likewise.
16936 (finite_test_data): Likewise.
16937 (floor_test_data): Likewise.
16938 (fma_test_data): Likewise.
16939 (fma_towardzero_test_data): Likewise.
16940 (fma_downward_test_data): Likewise.
16941 (fma_upward_test_data): Likewise.
16942 (fmax_test_data): Likewise.
16943 (fmin_test_data): Likewise.
16944 (fmod_test_data): Likewise.
16945 (fpclassify_test_data): Likewise.
16946 (frexp_test_data): Likewise.
16947 (gamma_test_data): Likewise.
16948 (hypot_test_data): Likewise.
16949 (ilogb_test_data): Likewise.
16950 (isfinite_test_data): Likewise.
16951 (isgreater_test_data): Likewise.
16952 (isgreaterequal_test_data): Likewise.
16953 (isinf_test_data): Likewise.
16954 (isless_test_data): Likewise.
16955 (islessequal_test_data): Likewise.
16956 (islessgreater_test_data): Likewise.
16957 (isnan_test_data): Likewise.
16958 (isnormal_test_data): Likewise.
16959 (issignaling_test_data): Likewise.
16960 (isunordered_test_data): Likewise.
16961 (j0_test_data): Likewise.
16962 (j1_test_data): Likewise.
16963 (jn_test_data): Likewise.
16964 (ldexp_test_data): Likewise.
16965 (lgamma_test_data): Likewise.
16966 (lrint_test_data): Likewise.
16967 (lrint_tonearest_test_data): Likewise.
16968 (lrint_towardzero_test_data): Likewise.
16969 (lrint_downward_test_data): Likewise.
16970 (lrint_upward_test_data): Likewise.
16971 (llrint_test_data): Likewise.
16972 (llrint_tonearest_test_data): Likewise.
16973 (llrint_towardzero_test_data): Likewise.
16974 (llrint_downward_test_data): Likewise.
16975 (llrint_upward_test_data): Likewise.
16976 (log_test_data): Likewise.
16977 (log10_test_data): Likewise.
16978 (log1p_test_data): Likewise.
16979 (log2_test_data): Likewise.
16980 (logb_test_data): Likewise.
16981 (logb_downward_test_data): Likewise.
16982 (lround_test_data): Likewise.
16983 (llround_test_data): Likewise.
16984 (modf_test_data): Likewise.
16985 (nearbyint_test_data): Likewise.
16986 (nextafter_test_data): Likewise.
16987 (nexttoward_test_data): Likewise.
16988 (pow_test_data): Likewise.
16989 (pow_tonearest_test_data): Likewise.
16990 (pow_towardzero_test_data): Likewise.
16991 (pow_downward_test_data): Likewise.
16992 (pow_upward_test_data): Likewise.
16993 (remainder_test_data): Likewise.
16994 (remainder_tonearest_test_data): Likewise.
16995 (remainder_towardzero_test_data): Likewise.
16996 (remainder_downward_test_data): Likewise.
16997 (remainder_upward_test_data): Likewise.
16998 (remquo_test_data): Likewise.
16999 (rint_test_data): Likewise.
17000 (rint_tonearest_test_data): Likewise.
17001 (rint_towardzero_test_data): Likewise.
17002 (rint_downward_test_data): Likewise.
17003 (rint_upward_test_data): Likewise.
17004 (round_test_data): Likewise.
17005 (scalb_test_data): Likewise.
17006 (scalbn_test_data): Likewise.
17007 (scalbln_test_data): Likewise.
17008 (signbit_test_data): Likewise.
17009 (sin_test_data): Likewise.
17010 (sin_tonearest_test_data): Likewise.
17011 (sin_towardzero_test_data): Likewise.
17012 (sin_downward_test_data): Likewise.
17013 (sin_upward_test_data): Likewise.
17014 (sincos_test_data): Likewise.
17015 (sinh_test_data): Likewise.
17016 (sinh_tonearest_test_data): Likewise.
17017 (sinh_towardzero_test_data): Likewise.
17018 (sinh_downward_test_data): Likewise.
17019 (sinh_upward_test_data): Likewise.
17020 (sqrt_test_data): Likewise.
17021 (tan_test_data): Likewise.
17022 (tan_tonearest_test_data): Likewise.
17023 (tan_towardzero_test_data): Likewise.
17024 (tan_downward_test_data): Likewise.
17025 (tan_upward_test_data): Likewise.
17026 (tanh_test_data): Likewise.
17027 (tgamma_test_data): Likewise.
17028 (trunc_test_data): Likewise.
17029 (y0_test_data): Likewise.
17030 (y1_test_data): Likewise.
17031 (yn_test_data): Likewise.
17032 (significand_test_data): Likewise.
17034 * math/gen-libm-test.pl (@functions): Remove variable.
17035 (generate_testfile): Don't handle START and END lines.
17036 * math/libm-test.inc (START): New macro.
17038 (END_COMPLEX): Likewise.
17039 (acos_test): Use END macro without arguments.
17040 (acos_test_tonearest): Likewise.
17041 (acos_test_towardzero): Likewise.
17042 (acos_test_downward): Likewise.
17043 (acos_test_upward): Likewise.
17044 (acosh_test): Likewise.
17045 (asin_test): Likewise.
17046 (asin_test_tonearest): Likewise.
17047 (asin_test_towardzero): Likewise.
17048 (asin_test_downward): Likewise.
17049 (asin_test_upward): Likewise.
17050 (asinh_test): Likewise.
17051 (atan_test): Likewise.
17052 (atanh_test): Likewise.
17053 (atan2_test): Likewise.
17054 (cabs_test): Likewise.
17055 (cacos_test): Use END_COMPLEX macro without arguments.
17056 (cacosh_test): Likewise.
17057 (carg_test): Use END macro without arguments.
17058 (casin_test): Use END_COMPLEX macro without arguments.
17059 (casinh_test): Likewise.
17060 (catan_test): Likewise.
17061 (catanh_test): Likewise.
17062 (cbrt_test): Use END macro without arguments.
17063 (ccos_test): Use END_COMPLEX macro without arguments.
17064 (ccosh_test): Likewise.
17065 (ceil_test): Use END macro without arguments.
17066 (cexp_test): Use END_COMPLEX macro without arguments.
17067 (cimag_test): Use END macro without arguments.
17068 (clog_test): Use END_COMPLEX macro without arguments.
17069 (clog10_test): Likewise.
17070 (conj_test): Likewise.
17071 (copysign_test): Use END macro without arguments.
17072 (cos_test): Likewise.
17073 (cos_test_tonearest): Likewise.
17074 (cos_test_towardzero): Likewise.
17075 (cos_test_downward): Likewise.
17076 (cos_test_upward): Likewise.
17077 (cosh_test): Likewise.
17078 (cosh_test_tonearest): Likewise.
17079 (cosh_test_towardzero): Likewise.
17080 (cosh_test_downward): Likewise.
17081 (cosh_test_upward): Likewise.
17082 (cpow_test): Use END_COMPLEX macro without arguments.
17083 (cproj_test): Likewise.
17084 (creal_test): Use END macro without arguments.
17085 (csin_test): Use END_COMPLEX macro without arguments.
17086 (csinh_test): Likewise.
17087 (csqrt_test): Likewise.
17088 (ctan_test): Likewise.
17089 (ctan_test_tonearest): Likewise.
17090 (ctan_test_towardzero): Likewise.
17091 (ctan_test_downward): Likewise.
17092 (ctan_test_upward): Likewise.
17093 (ctanh_test): Likewise.
17094 (ctanh_test_tonearest): Likewise.
17095 (ctanh_test_towardzero): Likewise.
17096 (ctanh_test_downward): Likewise.
17097 (ctanh_test_upward): Likewise.
17098 (erf_test): Use END macro without arguments.
17099 (erfc_test): Likewise.
17100 (exp_test): Likewise.
17101 (exp_test_tonearest): Likewise.
17102 (exp_test_towardzero): Likewise.
17103 (exp_test_downward): Likewise.
17104 (exp_test_upward): Likewise.
17105 (exp10_test): Likewise.
17106 (exp2_test): Likewise.
17107 (expm1_test): Likewise.
17108 (fabs_test): Likewise.
17109 (fdim_test): Likewise.
17110 (finite_test): Likewise.
17111 (floor_test): Likewise.
17112 (fma_test): Likewise.
17113 (fma_test_towardzero): Likewise.
17114 (fma_test_downward): Likewise.
17115 (fma_test_upward): Likewise.
17116 (fmax_test): Likewise.
17117 (fmin_test): Likewise.
17118 (fmod_test): Likewise.
17119 (fpclassify_test): Likewise.
17120 (frexp_test): Likewise.
17121 (gamma_test): Likewise.
17122 (hypot_test): Likewise.
17123 (ilogb_test): Likewise.
17124 (isfinite_test): Likewise.
17125 (isgreater_test): Likewise.
17126 (isgreaterequal_test): Likewise.
17127 (isinf_test): Likewise.
17128 (isless_test): Likewise.
17129 (islessequal_test): Likewise.
17130 (islessgreater_test): Likewise.
17131 (isnan_test): Likewise.
17132 (isnormal_test): Likewise.
17133 (issignaling_test): Likewise.
17134 (isunordered_test): Likewise.
17135 (j0_test): Likewise.
17136 (j1_test): Likewise.
17137 (jn_test): Likewise.
17138 (ldexp_test): Likewise.
17139 (lgamma_test): Likewise.
17140 (lrint_test): Likewise.
17141 (lrint_test_tonearest): Likewise.
17142 (lrint_test_towardzero): Likewise.
17143 (lrint_test_downward): Likewise.
17144 (lrint_test_upward): Likewise.
17145 (llrint_test): Likewise.
17146 (llrint_test_tonearest): Likewise.
17147 (llrint_test_towardzero): Likewise.
17148 (llrint_test_downward): Likewise.
17149 (llrint_test_upward): Likewise.
17150 (log_test): Likewise.
17151 (log10_test): Likewise.
17152 (log1p_test): Likewise.
17153 (log2_test): Likewise.
17154 (logb_test): Likewise.
17155 (logb_test_downward): Likewise.
17156 (lround_test): Likewise.
17157 (llround_test): Likewise.
17158 (modf_test): Likewise.
17159 (nearbyint_test): Likewise.
17160 (nextafter_test): Likewise.
17161 (nexttoward_test): Likewise.
17162 (pow_test): Likewise.
17163 (pow_test_tonearest): Likewise.
17164 (pow_test_towardzero): Likewise.
17165 (pow_test_downward): Likewise.
17166 (pow_test_upward): Likewise.
17167 (remainder_test): Likewise.
17168 (remainder_test_tonearest): Likewise.
17169 (remainder_test_towardzero): Likewise.
17170 (remainder_test_downward): Likewise.
17171 (remainder_test_upward): Likewise.
17172 (remquo_test): Likewise.
17173 (rint_test): Likewise.
17174 (rint_test_tonearest): Likewise.
17175 (rint_test_towardzero): Likewise.
17176 (rint_test_downward): Likewise.
17177 (rint_test_upward): Likewise.
17178 (round_test): Likewise.
17179 (scalb_test): Likewise.
17180 (scalbn_test): Likewise.
17181 (scalbln_test): Likewise.
17182 (signbit_test): Likewise.
17183 (sin_test): Likewise.
17184 (sin_test_tonearest): Likewise.
17185 (sin_test_towardzero): Likewise.
17186 (sin_test_downward): Likewise.
17187 (sin_test_upward): Likewise.
17188 (sincos_test): Likewise.
17189 (sinh_test): Likewise.
17190 (sinh_test_tonearest): Likewise.
17191 (sinh_test_towardzero): Likewise.
17192 (sinh_test_downward): Likewise.
17193 (sinh_test_upward): Likewise.
17194 (sqrt_test): Likewise.
17195 (tan_test): Likewise.
17196 (tan_test_tonearest): Likewise.
17197 (tan_test_towardzero): Likewise.
17198 (tan_test_downward): Likewise.
17199 (tan_test_upward): Likewise.
17200 (tanh_test): Likewise.
17201 (tgamma_test): Likewise.
17202 (trunc_test): Likewise.
17203 (y0_test): Likewise.
17204 (y1_test): Likewise.
17205 (yn_test): Likewise.
17206 (significand_test): Likewise.
17208 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17211 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17213 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17216 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17217 __ppc_mdoio and __ppc_mdoom.
17218 * manual/platform.texi: Document new functions __ppc_yield,
17219 __ppc_mdoio and __ppc_mdoom.
17221 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17223 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17224 (main): Mention "tls" pseudo-hwcap is legacy.
17225 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17227 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17229 * math/gen-libm-test.pl (parse_args): Output only string of
17230 arguments as text for test name, not full call or descriptions of
17231 tests for extra outputs.
17232 (generate_testfile): Do not pass function name to parse_args.
17233 Generate this_func variable from START.
17234 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17236 (struct test_ff_f_data): Likewise.
17237 (test_ff_f_data_nexttoward): Likewise.
17238 (struct test_fi_f_data): Likewise.
17239 (struct test_fl_f_data): Likewise.
17240 (struct test_if_f_data): Likewise.
17241 (struct test_fff_f_data): Likewise.
17242 (struct test_c_f_data): Likewise.
17243 (struct test_f_f1_data): Likewise. Remove field extra_name.
17244 (struct test_fF_f1_data): Likewise.
17245 (struct test_ffI_f1_data): Likewise.
17246 (struct test_c_c_data): Rename test_name field to arg_str.
17247 (struct test_cc_c_data): Likewise.
17248 (struct test_f_i_data): Likewise.
17249 (struct test_ff_i_data): Likewise.
17250 (struct test_f_l_data): Likewise.
17251 (struct test_f_L_data): Likewise.
17252 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17254 (COMMON_TEST_SETUP): New macro.
17255 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17256 (COMMON_TEST_CLEANUP): Likewise.
17257 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17258 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17260 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17261 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17263 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17264 (RUN_TEST_fff_f): Take argument string. Call new setup and
17266 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17267 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17269 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17270 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17272 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17273 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17275 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17276 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17278 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17279 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17281 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17282 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17284 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17285 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17287 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17288 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17290 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17291 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17293 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17294 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17296 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17297 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17299 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17300 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17302 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17303 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17305 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17306 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17308 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17309 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17311 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17313 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17315 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17316 to _sifields.sigfault.
17317 (si_addr_lsb): Define new macro.
17318 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17320 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17322 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17325 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17327 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17329 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17330 loading the domain.
17332 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17334 * math/gen-libm-test.pl (parse_args): Do not include expected
17335 result in test name.
17336 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17338 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17339 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17343 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17345 * benchtests/Makefile: Sort function entries.
17347 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17348 tanh, asinh, acosh, atanh.
17349 * benchtests/acos-inputs: New file.
17350 * benchtests/acosh-inputs: New file.
17351 * benchtests/asin-inputs: New file.
17352 * benchtests/asinh-inputs: New file.
17353 * benchtests/atanh-inputs: New file.
17354 * benchtests/cosh-inputs: New file.
17355 * benchtests/log-inputs: New file.
17356 * benchtests/sinh-inputs: New file.
17357 * benchtests/tanh-inputs: New file.
17359 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17362 * posix/tst-getaddrinfo4.c: New test.
17363 * posix/Makefile (tests): Add it.
17365 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17368 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17369 when no services were used.
17370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17371 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17373 2013-05-21 Andreas Schwab <schwab@suse.de>
17376 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17377 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17379 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17380 redundant variable declarations and reallocation of buffer when
17381 parsing as IPv6 address. Always set NSS status when called from
17382 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17383 buffer too small. Correct computation of needed size.
17384 * nss/Makefile (tests): Add test-digits-dots.
17385 * nss/test-digits-dots.c: New test.
17387 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17389 * benchtests/Makefile: Remove instructions for adding
17391 * benchtests/README: New file to explain how to execute and
17392 enhance the benchmark tests.
17394 2013-05-21 Andreas Schwab <schwab@suse.de>
17397 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17398 * setjmp/tst-sigsetjmp.c: New test.
17400 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17402 * sysdeps/x86_64/memset.S (memset): New implementation.
17403 (__bzero): Likewise.
17404 (__memset_tail): New function.
17406 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17408 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17409 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17410 __memcpy_sse2_unaligned ifunc selection.
17411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17412 Add memcpy-sse2-unaligned.S.
17413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17414 Add: __memcpy_sse2_unaligned.
17416 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17420 math_force_eval before restoring floating-point envrionment.
17421 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17424 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17426 (__nearbyintl): Use math_force_eval before restoring
17427 floating-point environment.
17428 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17430 * math/gen-libm-test.pl (special_functions): Remove.
17431 (parse_args): Don't handle TEST_extra. Handle functions with no
17433 * math/libm-test.inc (struct test_sincos_data): Replace with
17434 struct test_fFF_11_data.
17435 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17436 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17437 (sincos_test_data): Change element type to struct
17438 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17439 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17440 RUN_TEST_LOOP_sincos.
17441 * math/README.libm-test: Don't mention special handling of
17442 individual functions.
17443 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17445 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17446 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17450 * math/gen-libm-test.pl (get_variable): Remove function.
17451 (parse_args): Don't show pointer parameters to call in test
17452 names. Use "extra output N" in test names for extra outputs
17453 rather than naming variables.
17455 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17458 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17459 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17460 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17462 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17464 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17467 * math/gen-libm-test.pl (@tests): Remove variable.
17468 ($count): Likewise.
17469 (new_test): Remove function.
17470 (show_exceptions): New function.
17471 (special_functions): Use show_exceptions instead of new_test.
17472 (parse_args): Likewise.
17473 (generate_testfile): Pass only function name in generated call to
17474 print_max_error or print_complex_max_error.
17475 (get_ulps): Do not handle complex tests specially.
17476 (output_test): Rename to ...
17477 (get_all_ulps_for_test): ... this. Return a string rather than
17478 printing to a file. Require ulps to be present.
17479 (output_ulps): Generate arrays rather than #defines.
17480 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17481 (struct ulp_data): New type.
17482 (BUILD_COMPLEX_ULP): Remove macro.
17483 (compare_ulp_data): New function.
17484 (find_ulps): Likewise.
17485 (find_test_ulps): Likewise.
17486 (find_function_ulps): Likewise.
17487 (find_complex_function_ulps): Likewise.
17488 (print_max_error): Determine allowed ulps using
17489 find_function_ulps.
17490 (print_complex_max_error): Determine allowed ulps using
17491 find_complex_function_ulps.
17492 (check_float_internal): Determine max ulps using find_test_ulps.
17493 (check_float): Do not take max_ulp parameter. Update call to
17494 check_float_internal.
17495 (check_complex): Likewise.
17496 (check_int): Do not take max_ulp parameter.
17497 (check_long): Likewise.
17498 (check_bool): Likewise.
17499 (check_longlong): Likewise.
17500 (struct test_f_f_data): Remove max_ulp field.
17501 (struct test_ff_f_data): Likewise.
17502 (struct test_ff_f_data_nexttoward): Likewise.
17503 (struct test_fi_f_data): Likewise.
17504 (struct test_fl_f_data): Likewise.
17505 (struct test_if_f_data): Likewise.
17506 (struct test_fff_f_data): Likewise.
17507 (struct test_c_f_data): Likewise.
17508 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17509 (struct test_fF_f1_data): Likewise.
17510 (struct test_ffI_f1_data): Likewise.
17511 (struct test_c_c_data): Remove max_ulp field.
17512 (struct test_cc_c_data): Likewise.
17513 (struct test_f_i_data): Likewise.
17514 (struct test_ff_i_data): Likewise.
17515 (struct test_f_l_data): Likewise.
17516 (struct test_f_L_data): Likewise.
17517 (struct test_sincos_data): Likewise.
17518 (RUN_TEST_f_f): Do not handle ulps.
17519 (RUN_TEST_LOOP_f_f): Likewise.
17520 (RUN_TEST_2_f): Likewise.
17521 (RUN_TEST_LOOP_2_f): Likewise.
17522 (RUN_TEST_fff_f): Likewise.
17523 (RUN_TEST_LOOP_fff_f): Likewise.
17524 (RUN_TEST_c_f): Likewise.
17525 (RUN_TEST_LOOP_c_f): Likewise.
17526 (RUN_TEST_f_f1): Likewise.
17527 (RUN_TEST_LOOP_f_f1): Likewise.
17528 (RUN_TEST_fF_f1): Likewise.
17529 (RUN_TEST_LOOP_fF_f1): Likewise.
17530 (RUN_TEST_fI_f1): Likewise.
17531 (RUN_TEST_LOOP_fI_f1): Likewise.
17532 (RUN_TEST_ffI_f1): Likewise.
17533 (RUN_TEST_LOOP_ffI_f1): Likewise.
17534 (RUN_TEST_c_c): Likewise.
17535 (RUN_TEST_LOOP_c_c): Likewise.
17536 (RUN_TEST_cc_c): Likewise.
17537 (RUN_TEST_LOOP_cc_c): Likewise.
17538 (RUN_TEST_f_i): Likewise.
17539 (RUN_TEST_LOOP_f_i): Likewise.
17540 (RUN_TEST_f_i_tg): Likewise.
17541 (RUN_TEST_LOOP_f_i_tg): Likewise.
17542 (RUN_TEST_ff_i_tg): Likewise.
17543 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17544 (RUN_TEST_f_b): Likewise.
17545 (RUN_TEST_LOOP_f_b): Likewise.
17546 (RUN_TEST_f_b_tg): Likewise.
17547 (RUN_TEST_LOOP_f_b_tg): Likewise.
17548 (RUN_TEST_f_l): Likewise.
17549 (RUN_TEST_LOOP_f_l): Likewise.
17550 (RUN_TEST_f_L): Likewise.
17551 (RUN_TEST_LOOP_f_L): Likewise.
17552 (RUN_TEST_sincos): Likewise.
17553 (RUN_TEST_LOOP_sincos): Likewise.
17555 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17559 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17560 main case of finite arguments, set rounding mode to FE_TONEAREST
17561 and discard exceptions.
17562 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17564 (remainder_tonearest_test_data): New variable.
17565 (remainder_test_tonearest): New function.
17566 (remainder_towardzero_test_data): New variable.
17567 (remainder_test_towardzero): New function.
17568 (remainder_downward_test_data): New variable.
17569 (remainder_test_downward): New function.
17570 (remainder_upward_test_data): New variable.
17571 (remainder_test_upward): New function.
17572 (main): Call the new test functions.
17574 * math/libm-test.inc (struct test_f_f1_data): Remove field
17576 (struct test_fF_f1_data): Likewise.
17577 (struct test_ffI_f1_data): Likewise.
17578 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17579 based on value of EXTRA_EXPECTED.
17580 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17581 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17582 EXTRA_VAR based on value of EXTRA_EXPECTED.
17583 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17584 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17585 EXTRA_VAR based on value of EXTRA_EXPECTED.
17586 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17587 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17588 EXTRA_VAR based on value of EXTRA_EXPECTED.
17589 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17590 * math/gen-libm-test.pl (parse_args): Don't output initializers
17591 for extra output values.
17593 * math/libm-test.inc (check_int): Expect result to be exactly
17594 equal to expected value and do not handle ulps.
17595 (check_long): Likewise.
17596 (check_longlong): Likewise.
17598 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17600 (cimag_test_data): Likewise.
17601 (conj_test_data): Likewise.
17602 (copysign_test_data): Likewise.
17603 (cproj_test_data): Likewise.
17604 (creal_test_data): Likewise.
17605 (fabs_test_data): Likewise.
17606 (fdim_test_data): Likewise.
17607 (finite_test_data): Likewise.
17608 (floor_test_data): Likewise.
17609 (fmax_test_data): Likewise.
17610 (fmin_test_data): Likewise.
17611 (fmod_test_data): Likewise.
17612 (fpclassify_test_data): Likewise.
17613 (frexp_test_data): Likewise.
17614 (ilogb_test_data): Likewise.
17615 (isfinite_test_data): Likewise.
17616 (isgreater_test_data): Likewise.
17617 (isgreaterequal_test_data): Likewise.
17618 (isinf_test_data): Likewise.
17619 (isless_test_data): Likewise.
17620 (islessequal_test_data): Likewise.
17621 (islessgreater_test_data): Likewise.
17622 (isnan_test_data): Likewise.
17623 (isnormal_test_data): Likewise.
17624 (issignaling_test_data): Likewise.
17625 (isunordered_test_data): Likewise.
17626 (ldexp_test_data): Likewise.
17627 (lrint_test_data): Likewise.
17628 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17629 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17630 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17631 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17632 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17633 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17635 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17636 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17637 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17638 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17640 (lrint_downward_test_data): Test for "inexact" exceptions.
17641 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17642 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17643 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17645 (lrint_upward_test_data): Test for "inexact" exceptions.
17646 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17648 (llrint_test_data): Test for "inexact" exceptions.
17649 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17650 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17651 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17652 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17653 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17654 (llrint_downward_test_data): Test for "inexact" exceptions.
17655 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17656 (llrint_upward_test_data): Test for "inexact" exceptions.
17657 (logb_test_data): Likewise.
17658 (logb_downward_test_data): Likewise.
17659 (nextafter_test_data): Likewise.
17660 (nexttoward_test_data): Likewise.
17661 (remainder_test_data): Likewise.
17662 (remquo_test_data): Likewise.
17663 (scalbn_test_data): Likewise.
17664 (scalbln_test_data): Likewise.
17665 (signbit_test_data): Likewise.
17666 (sqrt_test_data): Likewise.
17667 (significand_test_data): Likewise.
17669 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17672 * benchtests/bench-modf.c (struct args): Mark arg0 as
17674 * scripts/bench.pl: Mark members of struct args as volatile.
17676 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17679 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17680 negative infinity on POWER6 or lower.
17681 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17683 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17686 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17687 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17688 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17689 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17690 (_FP_SETQNAN): New macro.
17691 (_FP_SETQNAN_SEMIRAW): Likewise.
17692 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17693 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17694 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17695 (FP_EXTEND): Use _FP_FRAC_SNANP.
17696 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17697 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17699 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17704 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17706 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17707 with DIVIDE_BY_ZERO_EXCEPTION.
17708 (gamma_test_data): Likewise.
17709 (lgamma_test_data): Likewise.
17710 (log_test_data): Likewise.
17711 (log10_test_data): Likewise.
17712 (log2_test_data): Likewise.
17713 (tgamma_test_data): Likewise.
17715 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17716 (acos_test_tonearest): Likewise.
17717 (acos_test_towardzero): Likewise.
17718 (acos_test_downward): Likewise.
17719 (acos_test_upward): Likewise.
17720 (acosh_test): Likewise.
17721 (asin_test): Likewise.
17722 (asin_test_tonearest): Likewise.
17723 (asin_test_towardzero): Likewise.
17724 (asin_test_downward): Likewise.
17725 (asin_test_upward): Likewise.
17726 (asinh_test): Likewise.
17727 (atan_test): Likewise.
17728 (atanh_test): Likewise.
17729 (atan2_test): Likewise.
17730 (cabs_test): Likewise.
17731 (cacos_test): Likewise.
17732 (cacosh_test): Likewise.
17733 (casin_test): Likewise.
17734 (casinh_test): Likewise.
17735 (catan_test): Likewise.
17736 (catanh_test): Likewise.
17737 (cbrt_test): Likewise.
17738 (ccos_test): Likewise.
17739 (ccosh_test): Likewise.
17740 (cexp_test): Likewise.
17741 (clog_test): Likewise.
17742 (clog10_test): Likewise.
17743 (cos_test): Likewise.
17744 (cos_test_tonearest): Likewise.
17745 (cos_test_towardzero): Likewise.
17746 (cos_test_downward): Likewise.
17747 (cos_test_upward): Likewise.
17748 (cosh_test): Likewise.
17749 (cosh_test_tonearest): Likewise.
17750 (cosh_test_towardzero): Likewise.
17751 (cosh_test_downward): Likewise.
17752 (cosh_test_upward): Likewise.
17753 (cpow_test): Likewise.
17754 (csin_test): Likewise.
17755 (csinh_test): Likewise.
17756 (csqrt_test): Likewise.
17757 (ctan_test): Likewise.
17758 (ctan_test_tonearest): Likewise.
17759 (ctan_test_towardzero): Likewise.
17760 (ctan_test_downward): Likewise.
17761 (ctan_test_upward): Likewise.
17762 (ctanh_test): Likewise.
17763 (ctanh_test_tonearest): Likewise.
17764 (ctanh_test_towardzero): Likewise.
17765 (ctanh_test_downward): Likewise.
17766 (ctanh_test_upward): Likewise.
17767 (erf_test): Likewise.
17768 (erfc_test): Likewise.
17769 (exp_test): Likewise.
17770 (exp_test_tonearest): Likewise.
17771 (exp_test_towardzero): Likewise.
17772 (exp_test_downward): Likewise.
17773 (exp_test_upward): Likewise.
17774 (exp10_test): Likewise.
17775 (exp2_test): Likewise.
17776 (expm1_test): Likewise.
17777 (fmod_test): Likewise.
17778 (gamma_test): Likewise.
17779 (hypot_test): Likewise.
17780 (j0_test): Likewise.
17781 (j1_test): Likewise.
17782 (jn_test): Likewise.
17783 (lgamma_test): Likewise.
17784 (log_test): Likewise.
17785 (log10_test): Likewise.
17786 (log1p_test): Likewise.
17787 (log2_test): Likewise.
17788 (logb_test_downward): Likewise.
17789 (pow_test): Likewise.
17790 (pow_test_tonearest): Likewise.
17791 (pow_test_towardzero): Likewise.
17792 (pow_test_downward): Likewise.
17793 (pow_test_upward): Likewise.
17794 (remainder_test): Likewise.
17795 (remquo_test): Likewise.
17796 (sin_test): Likewise.
17797 (sin_test_tonearest): Likewise.
17798 (sin_test_towardzero): Likewise.
17799 (sin_test_downward): Likewise.
17800 (sin_test_upward): Likewise.
17801 (sincos_test): Likewise.
17802 (sinh_test): Likewise.
17803 (sinh_test_tonearest): Likewise.
17804 (sinh_test_towardzero): Likewise.
17805 (sinh_test_downward): Likewise.
17806 (sinh_test_upward): Likewise.
17807 (sqrt_test): Likewise.
17808 (tan_test): Likewise.
17809 (tan_test_tonearest): Likewise.
17810 (tan_test_towardzero): Likewise.
17811 (tan_test_downward): Likewise.
17812 (tan_test_upward): Likewise.
17813 (tanh_test): Likewise.
17814 (tgamma_test): Likewise.
17815 (y0_test): Likewise.
17816 (y1_test): Likewise.
17817 (yn_test): Likewise.
17819 * math/gen-libm-test.pl (adjust_arg): Remove function.
17820 (special_function): Remove argument $in_func. Only handle
17821 generating output for tables of tests, not inside functions.
17822 (parse_args): Likewise.
17823 (generate_testfile): Remove variable $in_func. Update call to
17825 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17826 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17827 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17828 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17829 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17830 (MAX_VALUE_INIT): Rename macro to max_value.
17831 (MIN_VALUE_INIT): Rename macro to min_value.
17832 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17833 (plus_zero): Remove variable.
17834 (minus_zero): Likewise.
17835 (plus_infty): Likewise.
17836 (minus_infty): Likewise.
17837 (qnan_value): Likewise.
17838 (max_value): Likewise.
17839 (min_value): Likewise.
17840 (min_subnorm_value): Likewise.
17842 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17844 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17845 uint64_t or uint32_t usage.
17846 * crypt/sha256-block.c: Likewise.
17847 * crypt/sha256-crypt.c: Likewise.
17848 * crypt/sha256.c: Likewise.
17849 * crypt/sha512-block.c: Likewise.
17850 * crypt/sha512-crypt.c: Likewise.
17851 * crypt/sha512.c: Likewise.
17852 * debug/backtrace-tst.c: Likewise.
17853 * debug/pcprofiledump.c: Likewise.
17854 * elf/cache.c: Likewise.
17855 * elf/dl-cache.c: Likewise.
17856 * elf/dl-misc.c: Likewise.
17857 * elf/dl-profile.c: Likewise.
17858 * elf/dl-support.c: Likewise.
17859 * elf/ldconfig.c: Likewise.
17860 * elf/sprof.c: Likewise.
17861 * iconv/dummy-repertoire.c: Likewise.
17862 * iconv/iconv_charmap.c: Likewise.
17863 * iconv/skeleton.c: Likewise.
17864 * iconvdata/8bit-generic.c: Likewise.
17865 * iconvdata/cp737.h: Likewise.
17866 * iconvdata/cp775.h: Likewise.
17867 * iconvdata/ibm1008.h: Likewise.
17868 * iconvdata/ibm1025.h: Likewise.
17869 * iconvdata/ibm1046.h: Likewise.
17870 * iconvdata/ibm1097.h: Likewise.
17871 * iconvdata/ibm1112.h: Likewise.
17872 * iconvdata/ibm1122.h: Likewise.
17873 * iconvdata/ibm1123.h: Likewise.
17874 * iconvdata/ibm1124.h: Likewise.
17875 * iconvdata/ibm1129.h: Likewise.
17876 * iconvdata/ibm1130.h: Likewise.
17877 * iconvdata/ibm1132.h: Likewise.
17878 * iconvdata/ibm1133.h: Likewise.
17879 * iconvdata/ibm1137.h: Likewise.
17880 * iconvdata/ibm1140.h: Likewise.
17881 * iconvdata/ibm1141.h: Likewise.
17882 * iconvdata/ibm1142.h: Likewise.
17883 * iconvdata/ibm1143.h: Likewise.
17884 * iconvdata/ibm1144.h: Likewise.
17885 * iconvdata/ibm1145.h: Likewise.
17886 * iconvdata/ibm1146.h: Likewise.
17887 * iconvdata/ibm1147.h: Likewise.
17888 * iconvdata/ibm1148.h: Likewise.
17889 * iconvdata/ibm1149.h: Likewise.
17890 * iconvdata/ibm1153.h: Likewise.
17891 * iconvdata/ibm1154.h: Likewise.
17892 * iconvdata/ibm1155.h: Likewise.
17893 * iconvdata/ibm1156.h: Likewise.
17894 * iconvdata/ibm1157.h: Likewise.
17895 * iconvdata/ibm1158.h: Likewise.
17896 * iconvdata/ibm1160.h: Likewise.
17897 * iconvdata/ibm1161.h: Likewise.
17898 * iconvdata/ibm1162.h: Likewise.
17899 * iconvdata/ibm1163.h: Likewise.
17900 * iconvdata/ibm1164.h: Likewise.
17901 * iconvdata/ibm1166.h: Likewise.
17902 * iconvdata/ibm1167.h: Likewise.
17903 * iconvdata/ibm12712.h: Likewise.
17904 * iconvdata/ibm1390.h: Likewise.
17905 * iconvdata/ibm1399.h: Likewise.
17906 * iconvdata/ibm16804.h: Likewise.
17907 * iconvdata/ibm4517.h: Likewise.
17908 * iconvdata/ibm4899.h: Likewise.
17909 * iconvdata/ibm4909.h: Likewise.
17910 * iconvdata/ibm4971.h: Likewise.
17911 * iconvdata/ibm5347.h: Likewise.
17912 * iconvdata/ibm803.h: Likewise.
17913 * iconvdata/ibm856.h: Likewise.
17914 * iconvdata/ibm901.h: Likewise.
17915 * iconvdata/ibm902.h: Likewise.
17916 * iconvdata/ibm9030.h: Likewise.
17917 * iconvdata/ibm9066.h: Likewise.
17918 * iconvdata/ibm921.h: Likewise.
17919 * iconvdata/ibm922.h: Likewise.
17920 * iconvdata/ibm9448.h: Likewise.
17921 * iconvdata/isiri-3342.h: Likewise.
17922 * iconvdata/jis0201.h: Likewise.
17923 * include/link.h: Likewise.
17924 * include/netdb.h: Likewise.
17925 * inet/check_native.c: Likewise.
17926 * inet/check_pf.c: Likewise.
17927 * inet/getipv4sourcefilter.c: Likewise.
17928 * inet/getnameinfo.c: Likewise.
17929 * inet/getsourcefilter.c: Likewise.
17930 * inet/htonl.c: Likewise.
17931 * inet/setipv4sourcefilter.c: Likewise.
17932 * inet/setsourcefilter.c: Likewise.
17933 * inet/test-inet6_opt.c: Likewise.
17934 * inet/tst-network.c: Likewise.
17935 * locale/C-collate.c: Likewise.
17936 * locale/C-ctype.c: Likewise.
17937 * locale/C-time.c: Likewise.
17938 * locale/C-translit.h: Likewise.
17939 * locale/loadarchive.c: Likewise.
17940 * locale/programs/3level.h: Likewise.
17941 * locale/programs/charmap.c: Likewise.
17942 * locale/programs/charmap.h: Likewise.
17943 * locale/programs/ld-address.c: Likewise.
17944 * locale/programs/ld-collate.c: Likewise.
17945 * locale/programs/ld-ctype.c: Likewise.
17946 * locale/programs/ld-identification.c: Likewise.
17947 * locale/programs/ld-measurement.c: Likewise.
17948 * locale/programs/ld-messages.c: Likewise.
17949 * locale/programs/ld-monetary.c: Likewise.
17950 * locale/programs/ld-name.c: Likewise.
17951 * locale/programs/ld-numeric.c: Likewise.
17952 * locale/programs/ld-paper.c: Likewise.
17953 * locale/programs/ld-telephone.c: Likewise.
17954 * locale/programs/ld-time.c: Likewise.
17955 * locale/programs/linereader.c: Likewise.
17956 * locale/programs/locale.c: Likewise.
17957 * locale/programs/locarchive.c: Likewise.
17958 * locale/programs/locfile.h: Likewise.
17959 * locale/programs/repertoire.c: Likewise.
17960 * locale/programs/simple-hash.c: Likewise.
17961 * locale/programs/simple-hash.h: Likewise.
17962 * malloc/memusage.c: Likewise.
17963 * malloc/memusagestat.c: Likewise.
17964 * nis/nis_defaults.c: Likewise.
17965 * nis/nis_hash.c: Likewise.
17966 * nis/nis_print.c: Likewise.
17967 * nis/nis_xdr.c: Likewise.
17968 * nscd/connections.c: Likewise.
17969 * nscd/hstcache.c: Likewise.
17970 * nscd/nscd_gethst_r.c: Likewise.
17971 * nscd/nscd_getserv_r.c: Likewise.
17972 * nscd/nscd_helper.c: Likewise.
17973 * nscd/servicescache.c: Likewise.
17974 * nss/makedb.c: Likewise.
17975 * nss/nss_db/db-XXX.c: Likewise.
17976 * nss/nss_db/db-initgroups.c: Likewise.
17977 * nss/nss_db/db-netgrp.c: Likewise.
17978 * nss/nss_files/files-network.c: Likewise.
17979 * nss/nss_files/files-parse.c: Likewise.
17980 * posix/bug-regex5.c: Likewise.
17981 * posix/fnmatch_loop.c: Likewise.
17982 * posix/regcomp.c: Likewise.
17983 * posix/regexec.c: Likewise.
17984 * posix/tst-rfc3484-2.c: Likewise.
17985 * posix/tst-rfc3484-3.c: Likewise.
17986 * posix/tst-rfc3484.c: Likewise.
17987 * resolv/nss_dns/dns-canon.c: Likewise.
17988 * resolv/nss_dns/dns-network.c: Likewise.
17989 * resolv/res_init.c: Likewise.
17990 * resolv/res_mkquery.c: Likewise.
17991 * resolv/tst-aton.c: Likewise.
17992 * stdlib/cxa_atexit.c: Likewise.
17993 * stdlib/cxa_finalize.c: Likewise.
17994 * stdlib/gen-fpioconst.c: Likewise.
17995 * stdlib/strtol_l.c: Likewise.
17996 * string/tst-endian.c: Likewise.
17997 * sunrpc/auth_des.c: Likewise.
17998 * sunrpc/clnt_udp.c: Likewise.
17999 * sunrpc/rtime.c: Likewise.
18000 * sunrpc/svcauth_des.c: Likewise.
18001 * sunrpc/xdr.c: Likewise.
18002 * sunrpc/xdr_intXX_t.c: Likewise.
18003 * sunrpc/xdr_rec.c: Likewise.
18004 * sysdeps/generic/ldconfig.h: Likewise.
18005 * sysdeps/generic/ldsodefs.h: Likewise.
18006 * sysdeps/generic/memusage.h: Likewise.
18007 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18010 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18017 * sysdeps/posix/getaddrinfo.c: Likewise.
18018 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18020 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18022 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18023 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18024 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18025 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18026 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18027 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18028 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18029 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18030 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18031 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18033 * sysdeps/x86_64/dl-tls.h: Likewise.
18034 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18035 * time/alt_digit.c: Likewise.
18036 * time/era.c: Likewise.
18037 * wcsmbs/tst-c16c32-1.c: Likewise.
18039 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18041 * math/libm-test.inc (struct test_sincos_data): New type.
18042 (RUN_TEST_LOOP_sincos): New macro.
18043 (sincos_test_data): New variable.
18044 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18046 2013-05-16 Richard Henderson <rth@redhat.com>
18048 * math/atest-exp2.c (LIMB64): New macro.
18049 (CONSTSZ): New macro.
18050 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18052 (print_mpn_fp): ... to function scope.
18053 (read_mpn_hex): Remove.
18054 (get_log2): Remove.
18055 (exp2_mpn): Use mp_log2.
18056 (main): Use mp_exp1.
18058 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18060 * math/libm-test.inc: Remove comment about not testing "inexact"
18062 (INEXACT_EXCEPTION): New macro.
18063 (NO_INEXACT_EXCEPTION): Likewise.
18064 (INVALID_EXCEPTION_OK): Update value.
18065 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18066 (OVERFLOW_EXCEPTION_OK): Likewise.
18067 (UNDERFLOW_EXCEPTION_OK): Likewise.
18068 (IGNORE_ZERO_INF_SIGN): Likewise.
18069 (ERRNO_UNCHANGED): Likewise.
18070 (ERRNO_EDOM): Likewise.
18071 (ERRNO_ERANGE): Likewise.
18072 (test_exceptions): Handle testing "inexact" exceptions.
18073 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18074 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18075 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18076 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18078 (rint_towardzero_test_data): Likewise.
18079 (rint_downward_test_data): Likewise.
18080 (rint_upward_test_data): Likewise.
18082 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18083 with OVERFLOW_EXCEPTION.
18084 (exp10_test_data): Likewise.
18085 (exp2_test_data): Likewise.
18086 (expm1_test_data): Likewise.
18087 (lgamma_test_data): Likewise.
18088 (pow_test_data): Likewise.
18089 (tgamma_test_data): Likewise.
18090 (yn_test_data): Remove duplicate test of overflow.
18092 * math/libm-test.inc (struct test_cc_c_data): New type.
18093 (RUN_TEST_LOOP_cc_c): New macro.
18094 (cpow_test_data): New variable.
18095 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18097 * math/libm-test.inc (struct test_f_L_data): New type.
18098 (RUN_TEST_LOOP_f_L): New macro.
18099 (llrint_test_data): New variable.
18100 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18101 (llrint_tonearest_test_data): New variable.
18102 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18103 (llrint_towardzero_test_data): New variable.
18104 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18105 (llrint_downward_test_data): New variable.
18106 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18107 (llrint_upward_test_data): New variable.
18108 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18109 (llround_test_data): New variable.
18110 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18112 2013-05-13 Peter Collingbourne <pcc@google.com>
18114 * math/atest-exp2.c (get_log2): Remove const attribute.
18116 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18118 * math/libm-test.inc (struct test_f_l_data): New type.
18119 (RUN_TEST_LOOP_f_l): New macro.
18120 (lrint_test_data): New variable.
18121 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18122 (lrint_tonearest_test_data): New variable.
18123 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18124 (lrint_towardzero_test_data): New variable.
18125 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18126 (lrint_downward_test_data): New variable.
18127 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18128 (lrint_upward_test_data): New variable.
18129 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18130 (lround_test_data): New variable.
18131 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18133 2013-05-15 Peter Collingbourne <pcc@google.com>
18135 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18136 (EXTRACT_WORDS64) Use where appropriate.
18137 (INSERT_WORDS64) Likewise.
18139 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18140 constraints with x constraints.
18141 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18143 * malloc/obstack.c (_obstack_compat): Add initializer.
18145 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18148 si_trapno and add si_addr_lsb to _sifields.sigfault.
18149 (si_trapno): Remove macro.
18150 (si_addr_lsb): Define new macro.
18151 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18153 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18155 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18156 instead of TEST_f_l.
18157 (llrint_test_tonearest): Likewise.
18158 (llrint_test_towardzero): Likewise.
18159 (llrint_test_downward): Likewise.
18160 (llrint_test_upward): Likewise.
18161 (llround_test): Likewise.
18163 * math/libm-test.inc (struct test_f_i_data): Add comment.
18164 (RUN_TEST_LOOP_f_b): New macro.
18165 (RUN_TEST_LOOP_f_b_tg): Likewise.
18166 (finite_test_data): New variable.
18167 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18168 (isfinite_test_data): New variable.
18169 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18170 (isinf_test_data): New variable.
18171 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18172 (isnan_test_data): New variable.
18173 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18174 (isnormal_test_data): New variable.
18175 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18176 (issignaling_test_data): New variable.
18177 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18178 (signbit_test_data): New variable.
18179 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18181 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18182 with INVALID_EXCEPTION.
18183 (acosh_test_data): Likewise.
18184 (asin_test_data): Likewise.
18185 (atanh_test_data): Likewise.
18186 (fmod_test_data): Likewise.
18187 (log_test_data): Likewise.
18188 (log10_test_data): Likewise.
18189 (log2_test_data): Likewise.
18190 (pow_test_data): Likewise.
18191 (sqrt_test_data): Likewise.
18192 (y0_test_data): Likewise.
18193 (y1_test_data): Likewise.
18194 (yn_test_data): Likewise.
18196 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18199 * math/libm-test.inc (struct test_ff_i_data): New type.
18200 (RUN_TEST_LOOP_ff_i_tg): New macro.
18201 (isgreater_test_data): New variable.
18202 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18203 (isgreaterequal_test_data): New variable.
18204 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18205 (isless_test_data): New variable.
18206 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18207 (islessequal_test_data): New variable.
18208 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18209 (islessgreater_test_data): New variable.
18210 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18211 (isunordered_test_data): New variable.
18212 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18214 2013-05-14 David S. Miller <davem@davemloft.net>
18216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18218 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18220 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18222 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18224 (struct test_f_i_data): Change type of max_ulp to int.
18226 * math/libm-test.inc (test_ffI_f1_data): New type.
18227 (RUN_TEST_LOOP_ffI_f1): New macro.
18228 (remquo_test_data): New variable.
18229 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18231 * setjmp/tst-setjmp-fp.c: New file.
18232 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18233 (link-libm): New variable.
18234 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18236 * math/libm-test.inc (struct test_f_i_data): New type.
18237 (RUN_TEST_LOOP_f_i): New macro.
18238 (RUN_TEST_LOOP_f_i_tg): Likewise.
18239 (fpclassify_test_data): New variable.
18240 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18241 (ilogb_test_data): New variable.
18242 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18244 * math/libm-test.inc (scalbln_test): Correct function name in END
18247 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18248 (RUN_TEST_LOOP_fI_f1): New macro.
18249 (frexp_test_data): New variable.
18250 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18252 * math/libm-test.inc (struct test_fF_f1_data): New type.
18253 (RUN_TEST_LOOP_fF_f1): New macro.
18254 (modf_test_data): New variable.
18255 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18257 * math/libm-test.inc (struct test_f_f1_data): New type.
18258 (RUN_TEST_LOOP_f_f1): New macro.
18259 (gamma_test_data): New variable.
18260 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18261 (lgamma_test_data): New variable.
18262 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18264 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18266 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18267 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18268 (main): Comment "tls" pseudo-hwcap.
18270 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18272 * math/libm-test.inc (struct test_fl_f_data): New type.
18273 (RUN_TEST_LOOP_fl_f): New variable.
18274 (scalbln_test_data): New variable.
18275 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18277 * math/libm-test.inc (struct test_fi_f_data): New type.
18278 (RUN_TEST_LOOP_fi_f): New macro.
18279 (ldexp_test_data): New variable.
18280 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18281 (scalbn_test_data): New variable.
18282 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18284 * math/libm-test.inc (struct test_c_f_data): New type.
18285 (RUN_TEST_LOOP_c_f): New macro.
18286 (cabs_test_data): New variable.
18287 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18288 (carg_test_data): New variable.
18289 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18290 (cimag_test_data): New variable.
18291 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18292 (creal_test_data): New variable.
18293 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18295 * math/libm-test.inc (struct test_if_f_data): New type.
18296 (RUN_TEST_LOOP_if_f): New macro.
18297 (jn_test_data): New variable.
18298 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18299 (yn_test_data): New variable.
18300 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18302 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18304 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18306 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18307 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18309 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18311 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18312 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18313 (bench-deps): Add bench-timing.h.
18314 * benchtests-bench-skeleton.c: Include bench-timing.h.
18315 (main): Use TIMING_* macros instead of clock_gettime.
18316 * benchtests/bench-timing.h: New file.
18319 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18320 Renamed from _LIB_VERSION.
18321 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18323 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18325 * math/libm-test.inc (struct test_fff_f_data): New type.
18326 (RUN_TEST_LOOP_fff_f): New macro.
18327 (fma_test_data): New variable.
18328 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18329 (fma_towardzero_test_data): New variable.
18330 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18331 (fma_downward_test_data): New variable.
18332 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18333 (fma_upward_test_data): New variable.
18334 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18336 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18337 (struct test_c_c_data): New type.
18338 (RUN_TEST_LOOP_c_c): New macro.
18339 (cacos_test_data): New variable.
18340 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18341 (cacosh_test_data): New variable.
18342 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18343 (casin_test_data): New variable.
18344 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18345 (casinh_test_data): New variable.
18346 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18347 (catan_test_data): New variable.
18348 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18349 (catanh_test_data): New variable.
18350 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18351 (ccos_test_data): New variable.
18352 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18353 (ccosh_test_data): New variable.
18354 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18355 (cexp_test_data): New variable.
18356 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18357 (clog_test_data): New variable.
18358 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18359 (clog10_test_data): New variable.
18360 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18361 (conj_test_data): New variable.
18362 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18363 (cproj_test_data): New variable.
18364 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18365 (csin_test_data): New variable.
18366 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18367 (csinh_test_data): New variable.
18368 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18369 (csqrt_test_data): New variable.
18370 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18371 (ctan_test_data): New variable.
18372 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18373 (ctan_tonearest_test_data): New variable.
18374 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18375 (ctan_towardzero_test_data): New variable.
18376 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18377 (ctan_downward_test_data): New variable.
18378 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18379 (ctan_upward_test_data): New variable.
18380 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18381 (ctanh_test_data): New variable.
18382 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18383 (ctanh_tonearest_test_data): New variable.
18384 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18385 (ctanh_towardzero_test_data): New variable.
18386 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18387 (ctanh_downward_test_data): New variable.
18388 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18389 (ctanh_upward_test_data): New variable.
18390 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18391 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18394 * math/libm-test.inc (struct test_ff_f_data): New type.
18395 (struct test_ff_f_data_nexttoward): Likewise.
18396 (RUN_TEST_LOOP_2_f): New macro.
18397 (RUN_TEST_LOOP_ff_f): Likewise.
18398 (atan2_test_data): New variable.
18399 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18400 (copysign_test_data): New variable.
18401 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18402 (fdim_test_data): New variable.
18403 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18404 (fmax_test_data): New variable.
18405 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18406 (fmin_test_data): New variable.
18407 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18408 (fmod_test_data): New variable.
18409 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18410 (hypot_test_data): New variable.
18411 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18412 (nextafter_test_data): New variable.
18413 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18414 (nexttoward_test_data): New variable.
18415 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18416 (pow_test_data): New variable.
18417 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18418 (pow_tonearest_test_data): New variable.
18419 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18420 (pow_towardzero_test_data): New variable.
18421 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18422 (pow_downward_test_data): New variable.
18423 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18424 (pow_upward_test_data): New variable.
18425 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18426 (remainder_test_data): New variable.
18427 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18428 (scalb_test_data): New variable.
18429 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18430 * sysdeps/i386/fpu/libm-test-ulps: Update.
18432 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18434 * math/libm-test.inc (fma_test): Use max_value instead of local
18436 (nextafter_test): Likewise.
18438 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18439 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18440 (acos_downward_test_data): New variable.
18441 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18442 (acos_upward_test_data): New variable.
18443 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18444 (acosh_test_data): New variable.
18445 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18446 (asin_test_data): New variable.
18447 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18448 (asin_tonearest_test_data): New variable.
18449 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18450 (asin_towardzero_test_data): New variable.
18451 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18452 (asin_downward_test_data): New variable.
18453 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18454 (asin_upward_test_data): New variable.
18455 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18456 (asinh_test_data): New variable.
18457 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18458 (atan_test_data): New variable.
18459 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18460 (atanh_test_data): New variable.
18461 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18462 (cbrt_test_data): New variable.
18463 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18464 (ceil_test_data): New variable.
18465 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18466 (cos_test_data): New variable.
18467 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18468 (cos_tonearest_test_data): New variable.
18469 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18470 (cos_towardzero_test_data): New variable.
18471 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18472 (cos_downward_test_data): New variable.
18473 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18474 (cos_upward_test_data): New variable.
18475 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18476 (cosh_test_data): New variable.
18477 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18478 (cosh_tonearest_test_data): New variable.
18479 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18480 (cosh_towardzero_test_data): New variable.
18481 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18482 (cosh_downward_test_data): New variable.
18483 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18484 (cosh_upward_test_data): New variable.
18485 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18486 (erf_test_data): New variable.
18487 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18488 (erfc_test_data): New variable.
18489 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18490 (exp_test_data): New variable.
18491 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18492 (exp_tonearest_test_data): New variable.
18493 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18494 (exp_towardzero_test_data): New variable.
18495 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18496 (exp_downward_test_data): New variable.
18497 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18498 (exp_upward_test_data): New variable.
18499 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18500 (exp10_test_data): New variable.
18501 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18502 (exp2_test_data): New variable.
18503 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18504 (expm1_test_data): New variable.
18505 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18506 (fabs_test_data): New variable.
18507 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18508 (floor_test_data): New variable.
18509 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18510 (j0_test_data): New variable.
18511 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18512 (j1_test_data): New variable.
18513 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18514 (log_test_data): New variable.
18515 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18516 (log10_test_data): New variable.
18517 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18518 (log1p_test_data): New variable.
18519 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18520 (log2_test_data): New variable.
18521 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18522 (logb_test_data): New variable.
18523 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18524 (logb_downward_test_data): New variable.
18525 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18526 (nearbyint_test_data): New variable.
18527 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18528 (rint_test_data): New variable.
18529 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18530 (rint_tonearest_test_data): New variable.
18531 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18532 (rint_towardzero_test_data): New variable.
18533 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18534 (rint_downward_test_data): New variable.
18535 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18536 (rint_upward_test_data): New variable.
18537 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18538 (round_test_data): New variable.
18539 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18540 (sin_test_data): New variable.
18541 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18542 (sin_tonearest_test_data): New variable.
18543 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18544 (sin_towardzero_test_data): New variable.
18545 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18546 (sin_downward_test_data): New variable.
18547 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18548 (sin_upward_test_data): New variable.
18549 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18550 (sinh_test_data): New variable.
18551 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18552 (sinh_tonearest_test_data): New variable.
18553 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18554 (sinh_towardzero_test_data): New variable.
18555 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18556 (sinh_downward_test_data): New variable.
18557 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18558 (sinh_upward_test_data): New variable.
18559 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18560 (sqrt_test_data): New variable.
18561 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18562 (tan_test_data): New variable.
18563 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18564 (tan_tonearest_test_data): New variable.
18565 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18566 (tan_towardzero_test_data): New variable.
18567 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18568 (tan_downward_test_data): New variable.
18569 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18570 (tan_upward_test_data): New variable.
18571 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18572 (tanh_test_data): New variable.
18573 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18574 (tgamma_test_data): New variable.
18575 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18576 (trunc_test_data): New variable.
18577 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18578 (y0_test_data): New variable.
18579 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18580 (y1_test_data): New variable.
18581 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18582 (significand_test_data): New variable.
18583 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18585 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18588 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18590 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18592 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18594 2013-05-10 Andreas Jaeger <aj@suse.de>
18597 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18598 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18600 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18602 * math/gen-libm-test.pl (adjust_arg): New function.
18603 (special_functions): Handle generating output in both functions
18605 (parse_args): Likewise.
18606 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18607 $in_func argument to parse_args.
18608 * math/libm-test.inc (struct test_f_f_data): New type.
18609 (IF_ROUND_INIT_): New macro.
18610 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18611 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18612 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18613 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18614 (ROUND_RESTORE_): Likewise.
18615 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18616 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18617 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18618 (ROUND_RESTORE_FE_UPWARD): Likewise.
18619 (RUN_TEST_LOOP_f_f): New macro.
18620 (acos_test_data): New variable.
18621 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18622 (acos_tonearest_test_data): New variable.
18623 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18625 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18627 * benchtests/bench-skeleton.c (startup): Fix coding style.
18629 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18632 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18633 negative infinity argument.
18634 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18635 negative infinity argument.
18636 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18637 negative infinity argument.
18638 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18641 2013-05-10 Florian Weimer <fweimer@redhat.com>
18643 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18644 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18645 * iconv/iconv_prog.c (main): Likewise.
18646 * locale/programs/charmap-dir.c (charmap_readdir)
18647 (fopen_uncompressed): Likewise.
18648 * locale/programs/locfile.c (siblings_uncached)
18649 (write_locale_data): Use lstat64 instead of lstat.
18650 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18653 2013-05-10 Andreas Jaeger <aj@suse.de>
18656 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18658 Include <locale.h>.
18660 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18662 * elf/dl-close.c (_dl_close_worker): Add comments.
18664 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18667 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18669 (__ieee754_rem_pio2l): Update comments.
18672 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18674 (__ieee754_rem_pio2l): Update comments.
18676 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18677 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18679 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18682 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18683 (M_PI_34_LOG10El): Likewise.
18684 (M_PI2_LOG10El): Likewise.
18685 (M_PI4_LOG10El): Likewise.
18686 (M_PI_LOG10El): Likewise.
18688 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18692 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18694 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18695 (MINUS_ZERO_INIT): Likewise.
18696 (PLUS_INFTY_INIT): Likewise.
18697 (MINUS_INFTY_INIT): Likewise.
18698 (QNAN_VALUE_INIT): Likewise.
18699 (MAX_VALUE_INIT): Likewise.
18700 (MIN_VALUE_INIT): Likewise.
18701 (MIN_SUBNORM_VALUE_INIT): Likewise.
18702 (plus_zero): Initialize with PLUS_ZERO_INIT.
18703 (minus_zero): Initialize with MINUS_ZERO_INIT.
18704 (plus_infty): Initialize with PLUS_INFTY_INIT.
18705 (minus_infty): Initialize with MINUS_INFTY_INIT.
18706 (qnan_value): Initialize with QNAN_VALUE_INIT.
18707 (max_value): Initialize with MAX_VALUE_INIT.
18708 (min_value): Initialize with MIN_VALUE_INIT.
18709 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18711 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18712 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18713 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18714 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18716 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18717 (RUN_TEST_2_f): Likewise.
18718 (RUN_TEST_ff_f): Likewise.
18719 (RUN_TEST_fi_f): Likewise.
18720 (RUN_TEST_fl_f): Likewise.
18721 (RUN_TEST_fff_f): Likewise.
18722 (RUN_TEST_c_f): Likewise.
18723 (RUN_TEST_f_f1): Likewise.
18724 (RUN_TEST_fF_f1): Likewise.
18725 (RUN_TEST_fI_f1): Likewise.
18726 (RUN_TEST_ffI_f1): Likewise.
18727 (RUN_TEST_c_c): Likewise.
18728 (RUN_TEST_cc_c): Likewise.
18729 (RUN_TEST_f_i): Likewise.
18730 (RUN_TEST_f_i_tg): Likewise.
18731 (RUN_TEST_ff_i_tg): Likewise.
18732 (RUN_TEST_f_b): Likewise.
18733 (RUN_TEST_f_b_tg): Likewise.
18734 (RUN_TEST_f_l): Likewise.
18735 (RUN_TEST_f_L): Likewise.
18736 (RUN_TEST_sincos): Likewise.
18737 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18738 whether to show exceptions. Do not include ");\n" in return
18740 (special_functions): Output call to RUN_TEST_sincos instead of
18741 check_float calls. Update calls to new_test.
18742 (parse_args): Output call to single RUN_TEST_* macro instead of
18743 check_* calls and other assignments. Update calls to new_test.
18749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18750 input to result for tgamma overflow.
18751 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18752 (gamma_coeff): New variable.
18753 (NCOEFF): New macro.
18754 (gamma_positive): New function.
18755 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18756 underflow here. Use gamma_positive instead of exp (lgamma) for
18758 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18759 (gamma_coeff): New variable.
18760 (NCOEFF): New macro.
18761 (gammaf_positive): New function.
18762 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18763 underflow here. Use gamma_positive instead of exp (lgamma) for
18765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18766 (gamma_coeff): New variable.
18767 (NCOEFF): New macro.
18768 (gammal_positive): New function.
18769 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18770 underflow here. Use gamma_positive instead of exp (lgamma) for
18772 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18773 (gamma_coeff): New variable.
18774 (NCOEFF): New macro.
18775 (gammal_positive): New function.
18776 (__ieee754_gammal_r): Handle positive infinity, overflow and
18777 underflow here. Handle NaN the same as positive infinity. Remove
18778 check x < 0xffffffff for negative integers. Use gamma_positive
18779 instead of exp (lgamma) for other arguments.
18780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18781 (gamma_coeff): New variable.
18782 (NCOEFF): New macro.
18783 (gammal_positive): New function.
18784 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18785 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18789 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18790 * sysdeps/generic/math_private.h (__gamma_productf): New
18792 (__gamma_product): Likewise.
18793 (__gamma_productl): Likewise.
18794 * math/Makefile (libm-calls): Add gamma_product.
18795 * math/libm-test.inc (tgamma_test): Add more tests.
18796 * sysdeps/i386/fpu/libm-test-ulps: Update.
18797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18799 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18801 * benchtests/bench-skeleton.c (main): Preheat CPU.
18803 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18805 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18807 2013-05-07 Roland McGrath <roland@hack.frob.com>
18809 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18810 and _dl_skip_args_internal.
18812 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18814 * manual/message.texi (Message Translation): Talk about users.
18815 Message to key mapping impacts design.
18817 2013-05-06 Roland McGrath <roland@hack.frob.com>
18819 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18821 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18823 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18824 * sysdeps/wordsize-64/glob64.c: ... here.
18826 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18827 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18830 * debug/getlogin_r_chk.c: Moved to ...
18831 * login/getlogin_r_chk.c: ... here.
18832 * debug/Makefile (routines): Move getlogin_r_chk to ...
18833 * login/Makefile (routines): ... here.
18834 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18835 * login/Versions (libc: GLIBC_2.4): ... here.
18837 * io/poll.c (__poll): Renamed from poll.
18838 Add libc_hidden_def.
18839 (poll): Define as weak alias.
18841 * debug/ptsname_r_chk.c: Moved to ...
18842 * login/ptsname_r_chk.c: ... here.
18843 * debug/Makefile (routines): Move ptsname_r_chk to ...
18844 * login/Makefile (routines): ... here.
18845 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18846 * login/Versions (libc: GLIBC_2.4): ... here.
18848 * posix/getlogin.c: Moved to ...
18849 * login/getlogin.c: ... here.
18850 * posix/getlogin_r.c: Moved to ...
18851 * login/getlogin_r.c: ... here.
18852 * posix/getlogin_r.c: Moved to ...
18853 * login/getlogin_r.c: ... here.
18854 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18855 * login/Makefile (routines): ... here.
18856 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18857 * login/Versions (libc: GLIBC_2.0): ... here.
18859 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18860 (setrlimit): Define as weak alias.
18862 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18863 Call __ names for open, ftruncate, and close.
18864 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18865 (truncate): Define as weak alias.
18867 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18869 * math/gen-libm-test.pl (parse_args): Initialize x before each
18870 test of frexp, modf and remquo.
18872 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18873 test signgam value.
18875 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18879 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18881 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18883 2013-05-06 Roland McGrath <roland@hack.frob.com>
18885 * elf/dl-writev.h: New file.
18886 * elf/dl-misc.c: Include it.
18887 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18888 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18890 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18892 * math/libm-test.inc (noXFails): Remove variable.
18893 (noXPasses): Likewise.
18894 (BUILD_COMPLEX_INT): Remove macro.
18895 (print_screen): Remove xfail argument.
18896 (print_screen_max_error): Likewise.
18897 (update_stats): Likewise.
18898 (print_max_error): Likewise. Update calls to other affected
18900 (print_complex_max_error): Likewise.
18901 (test_single_exception): Update calls to print_screen.
18902 (test_single_errno): Likewise.
18903 (check_float_internal): Remove xfail argument. Update calls to
18904 other affected functions.
18905 (check_float): Likewise.
18906 (check_complex): Likewise.
18907 (check_int): Likewise.
18908 (check_long): Likewise.
18909 (check_bool): Likewise.
18910 (check_longlong): Likewise.
18911 (main): Don't print noXFails and noXPasses.
18912 * math/gen-libm-test.pl (top level): Don't mention expected
18913 failure handling in comment.
18914 (new_test): Don't handle expected failures.
18915 (parse_args): Don't mention expected failure handling in comment.
18916 (generate_testfile): Don't handle expected failures.
18917 (parse_ulps): Likewise.
18918 (print_ulps_file): Likewise.
18919 (get_failure): Remove function.
18920 (output_test): Don't handle expected failures.
18921 * make/README.libm-test: Don't mention expected failure handling.
18923 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18924 (minus_zero): Likewise.
18925 (plus_infty): Likewise.
18926 (minus_infty): Likewise.
18927 (qnan_value): Likewise.
18928 (max_value): Likewise.
18929 (min_value): Likewise.
18930 (min_subnorm_value): Likewise.
18931 (initialize): Do not initialize those variables dynamically.
18933 2013-05-03 Roland McGrath <roland@hack.frob.com>
18935 * io/open.c (__open_2): Moved to ...
18936 * io/open_2.c: ... this new file.
18937 * io/open64.c (__open64_2): Moved to ...
18938 * io/open64_2.c: ... this new file.
18939 * io/openat.c (__openat_2): Moved to ...
18940 * io/openat_2.c: ... this new file.
18941 * io/openat64.c (__openat64_2): Moved to ...
18942 * io/openat64_2.c: ... this new file.
18943 * io/Makefile (routines): Add them.
18944 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18945 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18946 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18947 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18948 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18949 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18950 (__openat64): Add hidden_ver.
18951 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18952 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18954 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18955 Separately conditionalize setting of GLRO(dl_sysinfo) so
18956 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18957 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18959 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18962 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18964 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18965 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18966 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18967 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18968 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18970 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18972 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18973 test signgam value.
18975 * math/libm-test.inc (hypot_test): Do not use
18976 IGNORE_ZERO_INF_SIGN.
18978 2013-05-03 Andreas Jaeger <aj@suse.de>
18980 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18982 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18983 (PF_MAX): Adjust for VSOCK change.
18985 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18989 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18992 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18993 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18994 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18996 2013-05-02 David S. Miller <davem@davemloft.net>
18998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19000 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19002 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19004 2013-05-01 Roland McGrath <roland@hack.frob.com>
19006 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19008 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19011 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19012 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19013 Use __attribute__ ((__gnu_inline__)).
19014 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19015 Don't use __attribute__ ((__gnu_inline__)).
19017 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19020 * math/s_catan.c (__catan): Handle small real or imaginary part of
19021 input specially to avoid spurious underflow.
19022 * math/s_catanf.c (__catanf): Likewise.
19023 * math/s_catanh.c (__catanh): Likewise.
19024 * math/s_catanhf.c (__catanhf): Likewise.
19025 * math/s_catanhl.c (__catanhl): Likewise.
19026 * math/s_catanl.c (__catanl): Likewise.
19027 * math/libm-test.inc (catan_test): Add more tests.
19028 (catanh_test): Likewise.
19029 * sysdeps/i386/fpu/libm-test-ulps: Update.
19030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19032 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19036 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19039 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19040 accurately for denominator in atan2.
19041 * math/s_catanf.c (__catanf): Likewise.
19042 * math/s_catanh.c (__catanh): Likewise.
19043 * math/s_catanhf.c (__catanhf): Likewise.
19044 * math/s_catanhl.c (__catanhl): Likewise.
19045 * math/s_catanl.c (__catanl): Likewise.
19046 * math/libm-test.inc (catan_test): Add more tests.
19047 (catanh_test): Likewise.
19048 * sysdeps/i386/fpu/libm-test-ulps: Update.
19049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19051 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19053 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19055 * benchtests/Makefile (bench): Remove slow benchmarks.
19056 * benchtests/atan-inputs: Add slow benchmark inputs.
19057 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19058 (BENCH_FUNC): Accept variant offset.
19060 * benchtests/bench-skeleton.c (main): Run benchmark for each
19062 * benchtests/cos-inputs: Add slow benchmark inputs.
19063 * benchtests/exp-inputs: Likewise.
19064 * benchtests/pow-inputs: Likewise.
19065 * benchtests/sin-inputs: Likewise.
19066 * benchtests/slowatan-inputs: Remove.
19067 * benchtests/slowatan.c: Remove.
19068 * benchtests/slowcos-inputs: Remove.
19069 * benchtests/slowcos.c: Remove.
19070 * benchtests/slowexp-inputs: Remove.
19071 * benchtests/slowexp.c: Remove.
19072 * benchtests/slowpow-inputs: Remove.
19073 * benchtests/slowpow.c: Remove.
19074 * benchtests/slowsin-inputs: Remove.
19075 * benchtests/slowsin.c: Remove.
19076 * benchtests/slowtan-inputs: Remove.
19077 * benchtests/slowtan.c: Remove.
19078 * benchtests/tan-inputs: Add slow benchmark inputs.
19079 * scripts/bench.pl: Parse comments and directives.
19081 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19083 ($(objpfx)bench-%.c): Remove *-ITER.
19084 * benchtests/bench-modf.c: Remove definition of ITER.
19085 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19086 (main): Loop for DURATION seconds instead of fixed number of
19088 * scripts/bench.pl: Don't expect iterations in parameters.
19090 2013-04-29 Roland McGrath <roland@hack.frob.com>
19092 * io/fchdir.c (__fchdir): Renamed from fchdir.
19093 (fchdir): Define as weak alias.
19095 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19097 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19098 (ERRNO_EDOM): Likewise.
19099 (ERRNO_ERANGE): Likewise.
19100 (noErrnoTests): New variable.
19101 (init_max_error): Set errno to 0.
19102 (test_single_errno): New function.
19103 (test_errno): Likewise.
19104 (check_float_internal): Call test_errno. Set errno to 0.
19105 (check_complex): Refer to errno tests in comment.
19106 (check_int): Call test_errno. Set errno to 0.
19107 (check_long): Likewise.
19108 (check_bool): Likewise.
19109 (check_longlong): Likewise.
19110 (cos_test): Use ERRNO_* flags for errno tests instead of
19112 (expm1_test): Likewise.
19113 (fmod_test): Likewise.
19114 (ilogb_test): Likewise.
19115 (lgamma_test): Likewise.
19116 (pow_test): Likewise.
19117 (remainder_test): Likewise.
19118 (sin_test): Likewise.
19119 (tan_test): Likewise.
19120 (yn_test): Likewise.
19121 (initialize): Set errno to 0.
19122 (main): Print number of errno tests.
19123 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19125 2013-04-29 Andreas Jaeger <aj@suse.de>
19128 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19132 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19133 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19137 * stdlib/random.c (__initstate): Return NULL if
19141 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19142 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19145 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19149 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19151 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19152 of individual tests.
19153 (casin_test): Likewise.
19154 (casinh_test): Likewise.
19156 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19159 * math/s_catan.c (__catan): Handle arguments with large real or
19160 imaginary part separately without squaring.
19161 * math/s_catanf.c (__catanf): Likewise.
19162 * math/s_catanh.c (__catanh): Likewise.
19163 * math/s_catanhf.c (__catanhf): Likewise.
19164 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19166 (__catanhl): Handle arguments with large real or imaginary part
19167 separately without squaring.
19168 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19170 (__catanl): Handle arguments with large real or imaginary part
19171 separately without squaring.
19172 * math/libm-test.inc (catan_test): Add more tests.
19173 (catanh_test): Likewise.
19174 * sysdeps/i386/fpu/libm-test-ulps: Update.
19175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19177 2013-04-27 Andreas Jaeger <aj@suse.de>
19180 * stdlib/stdlib.h: Update guards for qecvt.
19181 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19184 2013-04-27 Allan McRae <allan@archlinux.org>
19186 * sysdeps/i386/fpu/libm-test-ulps: Update.
19188 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19191 * math/s_catan.c: Include <float.h>.
19192 (__catan): Ensure underflow exception occurs for underflowed
19194 * math/s_catanf.c: Include <float.h>.
19195 (__catanf): Ensure underflow exception occurs for underflowed
19197 * math/s_catanh.c: Include <float.h>.
19198 (__catanh): Ensure underflow exception occurs for underflowed
19200 * math/s_catanhf.c: Include <float.h>.
19201 (__catanhf): Ensure underflow exception occurs for underflowed
19203 * math/s_catanhl.c: Include <float.h>.
19204 (__catanhl): Ensure underflow exception occurs for underflowed
19206 * math/s_catanl.c: Include <float.h>.
19207 (__catanl): Ensure underflow exception occurs for underflowed
19209 * math/libm-test.inc (catan_test): Add more tests.
19210 (catanh_test): Likewise.
19213 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19214 underflowed result.
19215 * math/s_ccoshf.c (__ccoshf): Likewise.
19216 * math/s_ccoshl.c (__ccoshl): Likewise.
19217 * math/s_csin.c (__csin): Likewise.
19218 * math/s_csinf.c (__csinf): Likewise.
19219 * math/s_csinh.c (__csinh): Likewise.
19220 * math/s_csinhf.c (__csinhf): Likewise.
19221 * math/s_csinhl.c (__csinhl): Likewise.
19222 * math/s_csinl.c (__csinl): Likewise.
19223 * math/libm-test.inc (ccos_test): Add more tests.
19224 (ccosh_test): Likewise.
19225 (csin_test): Likewise.
19226 (csinh_test): Likewise.
19228 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19230 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19231 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19232 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19233 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19234 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19235 powerpc/power5+/fpu folders.
19236 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19239 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19243 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19245 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19246 additions to variable.
19247 [$(config-machine) = x86_64] (modules-names): Likewise.
19248 ($(objpfx)tst-audit3): Remove dependency.
19249 ($(objpfx)tst-audit3.out): Likewise.
19250 ($(objpfx)tst-audit4): Likewise.
19251 ($(objpfx)tst-audit4.out): Likewise.
19252 ($(objpfx)tst-audit5): Likewise.
19253 ($(objpfx)tst-audit5.out): Likewise.
19254 ($(objpfx)tst-audit6): Likewise.
19255 ($(objpfx)tst-audit6.out): Likewise.
19256 ($(objpfx)tst-audit7): Likewise.
19257 ($(objpfx)tst-audit7.out): Likewise.
19258 (tst-audit3-ENV): Remove variable.
19259 (tst-audit4-ENV): Likewise.
19260 (tst-audit5-ENV): Likewise.
19261 (tst-audit6-ENV): Likewise.
19262 (tst-audit7-ENV): Likewise.
19263 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19264 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19265 addition to variable.
19266 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19267 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19268 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19269 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19270 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19271 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19272 tst-audit3, tst-audit4 and tst-audit5.
19273 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19274 tst-audit6 and tst-audit7.
19275 [$(subdir) = elf] (modules-names): Add audit modules for those
19277 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19278 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19279 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19280 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19281 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19282 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19283 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19284 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19285 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19286 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19287 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19288 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19289 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19290 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19291 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19292 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19294 [$(subdir) = elf && $(config-cflags-avx) = yes]
19295 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19296 [$(subdir) = elf && $(config-cflags-avx) = yes]
19297 (CFLAGS-tst-auditmod4a.c): Likewise.
19298 [$(subdir) = elf && $(config-cflags-avx) = yes]
19299 (CFLAGS-tst-auditmod4b.c): Likewise.
19300 [$(subdir) = elf && $(config-cflags-avx) = yes]
19301 (CFLAGS-tst-auditmod6b.c): Likewise.
19302 [$(subdir) = elf && $(config-cflags-avx) = yes]
19303 (CFLAGS-tst-auditmod6c.c): Likewise.
19304 [$(subdir) = elf && $(config-cflags-avx) = yes]
19305 (CFLAGS-tst-auditmod7b.c): Likewise.
19306 * elf/tst-audit3.c: Move to ...
19307 * sysdeps/x86_64/tst-audit3.c: ... here.
19308 * elf/tst-audit4.c: Move to ...
19309 * sysdeps/x86_64/tst-audit4.c: ... here.
19310 * elf/tst-audit5.c: Move to ...
19311 * sysdeps/x86_64/tst-audit5.c: ... here.
19312 * elf/tst-audit6.c: Move to ...
19313 * sysdeps/x86_64/tst-audit6.c: ... here.
19314 * elf/tst-audit7.c: Move to ...
19315 * sysdeps/x86_64/tst-audit7.c: ... here.
19316 * elf/tst-auditmod3a.c: Move to ...
19317 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19318 * elf/tst-auditmod3b.c: Move to ...
19319 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19320 * elf/tst-auditmod4a.c: Move to ...
19321 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19322 * elf/tst-auditmod4b.c: Move to ...
19323 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19324 * elf/tst-auditmod5a.c: Move to ...
19325 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19326 * elf/tst-auditmod5b.c: Move to ...
19327 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19328 * elf/tst-auditmod6a.c: Move to ...
19329 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19330 * elf/tst-auditmod6b.c: Move to ...
19331 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19332 * elf/tst-auditmod6c.c: Move to ...
19333 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19334 * elf/tst-auditmod7a.c: Move to ...
19335 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19336 * elf/tst-auditmod7b.c: Move to ...
19337 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19339 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19342 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19343 define unconditionally.
19344 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19345 define unconditionally.
19346 (INT8_C, INT16_C, etc.): Likewise.
19348 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19350 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19351 __ehdr_start with hidden visibility.
19353 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19355 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19357 * math/libm-test.inc (cos_test): Use accurate hex constants.
19358 (sincost_test): Likewise.
19360 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19362 * math/libm-test.inc (catan_test): Add more tests.
19363 (catanh_test): Likewise.
19365 * math/s_catanf.c (__catanf): Use suffixed floating-point
19367 * math/s_catanhf.c (__catanhf): Likewise.
19368 * math/s_catanhl.c (__catanhl): Likewise.
19369 * math/s_catanl.c (__catanl): Likewise.
19372 * math/s_catan.c (__catan): Calculate imaginary part of result
19373 with log1p not log unless computing log of number close to 0.
19374 * math/s_catanf.c (__catanf): Likewise.
19375 * math/s_catanl.c (__catanl): Likewise.
19376 * math/s_catanh.c (__catanh): Calculate real part of result with
19377 log1p not log unless computing log of number close to 0.
19378 * math/s_catanhf.c (__catanhf): Likewise.
19379 * math/s_catanhl.c (__catanhl): Likewise.
19380 * math/libm-test.inc (catan_test): Add more tests.
19381 (catanh_test): Likewise.
19382 * sysdeps/i386/fpu/libm-test-ulps: Update.
19383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19385 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19387 * benchtests/Makefile: Mention files in which fast and slow
19388 paths of math functions are implemented.
19390 2013-04-23 Roland McGrath <roland@hack.frob.com>
19392 * sysdeps/posix/timespec_get.c: New file.
19394 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19396 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19398 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19400 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19401 powerpc/power5/fpu folders.
19402 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19403 * benchtests/Makefile: Add modf testcase.
19404 * benchtests/bench-modf.c: New file: Benchmark test for mo
19406 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19409 * time/Makefile (tests): Add tst-strptime-whitespace.
19410 * time/strptime_l.c (get_number): Use ISSPACE.
19411 (__strptime_internal): Likewise.
19412 * time/tst-strptime-whitespace.c: New test case.
19414 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19416 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19418 (_nss_files_init): Set it here.
19420 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19422 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19423 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19426 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19428 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19430 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19435 2013-04-21 David S. Miller <davem@davemloft.net>
19437 * po/ru.po: Update Russion translation from translation project.
19439 2013-04-17 Adam Conrad <adconrad@0c3.net>
19441 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19444 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19446 * configure.in: Remove i386 configure warning. Remove i386 case.
19447 * configure: Regenerate.
19448 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19449 Add example to error message.
19450 * sysdeps/i386/configure: Regenerate.
19452 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19454 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19456 * benchtests/cos-inputs: New file.
19457 * benchtests/slowcos-inputs: New file.
19458 * benchtests/slowcos.c: New file.
19459 * benchtests/slowtan-inputs: New file.
19460 * benchtests/slowtan.c: New file.
19461 * benchtests/tan-inputs: New file.
19463 2013-04-16 Roland McGrath <roland@hack.frob.com>
19465 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19468 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19470 * benchtests/Makefile: Include cppflags-iterator.mk to add
19471 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19473 * Makefile.in (bench-clean): New target.
19474 * benchtests/Makefile (bench-clean): Likewise.
19476 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19478 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19480 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19482 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19484 2013-04-15 Andreas Schwab <schwab@suse.de>
19486 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19488 * nscd/pwdcache.c (cache_addpw): Likewise.
19489 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19492 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19494 * benchtests/Makefile (bench): Write all output to
19495 bench-out.tmp together.
19497 2013-04-15 Andreas Schwab <schwab@suse.de>
19499 * nscd/nscd.c (main): Don't fork again after closing files.
19501 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19503 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19505 * benchtests/Rules (bench-deps): Collect dependencies into a
19506 single variable. Add Makefile to dependencies.
19507 ($(objpfx)bench-%.c): Depend on bench-deps.
19509 2013-04-12 Roland McGrath <roland@hack.frob.com>
19510 Xavier Roche <roche+kml2@exalead.com>
19513 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19514 just that it's a file descriptor.
19515 * manual/llio.texi (Synchronizing AIO Operations): Update description
19516 for EBADF error from aio_fsync.
19518 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19520 * Rules (bench): Move target definition...
19521 * benchtests/Makefile: ... here.
19523 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19525 * math/libm-test.inc (cos_test): Fix PI/2 test.
19526 (sincos_test): Likewise.
19527 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19528 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19530 2013-04-11 Andreas Schwab <schwab@suse.de>
19533 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19534 accept exponent character only when digits were seen.
19535 * stdio-common/Makefile (tests): Add bug26.
19536 * stdio-common/bug26.c: New file.
19539 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19542 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19544 * Makeconfig (rtld-prefix): Define built linker prefix.
19545 * Rules (run-bench): Use it.
19546 * math/Makefile (run-regen-ulps): Likewise.
19548 * Rules (bench): Remove eval.
19550 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19551 Roland McGrath <roland@hack.frob.com>
19552 Ondrej Bilka <neleai@seznam.cz>
19555 * time/getdate.c: Include ctype.h and alloca.h.
19556 (__getdate_r): Trim leading and trailing spaces of input.
19557 * time/tst-getdate.c (tests): Add tests with leading and
19560 2013-04-08 Roland McGrath <roland@hack.frob.com>
19563 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19564 when computing value.
19566 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19568 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19569 Use testrun.sh to run libm tests.
19572 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19574 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19577 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19579 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19581 * Makefile.in (regen-ulps): New target.
19582 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19583 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19584 [ifneq (no,$(PERL)] (regen-ulps): New target.
19585 [ifeq (no,$(PERL)] (regen-ulps): New target.
19586 * math/libm-test.inc (ulps_file_name): Define.
19587 (output_dir): New variable.
19588 (options): Add "output-dir" option.
19589 (parse_opt): Handle 'o' case.
19590 (main): If output_dir is non-NULL use it as a prefix
19592 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19594 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19596 [BZ #10060, #10062]
19597 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19598 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19599 fail configure if __sync_val_compare_and_swap is not inlined.
19600 * sysdeps/i386/configure: Regenerate.
19601 * configure.in: Build for i686 when configured for i386.
19602 * configure: Regenerate.
19603 * README: Remove i386 reference.
19605 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19607 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19610 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19612 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19613 (lmsnanval): New variables.
19614 (F): Add conversion tests.
19615 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19616 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19618 * stdio-common/tstdiomisc.c (F): Properly collect individual
19621 [BZ #14686, #15336]
19622 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19623 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19624 Instead, use input NaN values or generate a qNaN by arithmetic
19625 operation. Also fix bugs to comply with the standard.
19626 * math/libm-test.inc (remainder_test): Add more tests.
19628 [BZ #15335, #15342]
19629 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19631 input NaN values or generate a qNaN by arithmetic operation.
19633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19636 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19639 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19642 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19643 underflowed result.
19644 * math/s_cexpf.c (__cexpf): Likewise.
19645 * math/s_cexpl.c (__cexpl): Likewise.
19646 * math/libm-test.inc (cexp_test): Add more tests.
19648 2013-04-03 Andreas Schwab <schwab@suse.de>
19651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19652 order arrays from heap if bigger than alloca cutoff.
19654 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19656 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19657 (SNAN_TESTS_double): Refer to GCC PR56831.
19658 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19661 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19663 * Rules (bench): Move bench.out after the run is complete.
19665 * Rules (bench): Echo currently running benchmark.
19667 * benchtests/Makefile (bench): Add atan and slowatan.
19668 * benchtests/atan-inputs: New file.
19669 * benchtests/slowatan-inputs: New file.
19670 * benchtests/slowatan.c: New file.
19672 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19677 * sysdeps/unix/sysv/linux/kernel-features.h
19678 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19679 __ASSUME_XFS_RESTRICTED_CHOWN.
19680 * sysdeps/unix/sysv/linux/pathconf.c
19681 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19682 Save and restore errno.
19684 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19687 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19688 arguments using __kernel_casinh.
19689 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19690 arguments using __kernel_casinhf.
19691 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19692 arguments using __kernel_casinhl.
19693 * math/libm-test.inc (cacosh_test): Add more tests.
19694 * sysdeps/i386/fpu/libm-test-ulps: Update.
19695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19697 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19699 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19702 * bench/Makefile (bench): Add sin and slowsin.
19703 * benchtests/sin-inputs: New file.
19704 * benchtests/slowsin-inputs: New file.
19705 * benchtests/slowsin.c: New file.
19707 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19708 (bench): Add slowexp and slowpow.
19709 (exp-ITER): Increase iterations.
19710 (pow-ITER): Likewise.
19711 * benchtests/exp-inputs: Change input.
19712 * benchtests/pow-inputs: Likewise.
19713 * benchtests/slowexp-inputs: New file.
19714 * benchtests/slowexp.c: New file.
19715 * benchtests/slowpow-inputs: New file.
19716 * benchtests/slowpow.c: New file.
19718 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19720 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19722 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19723 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19724 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19725 * benchtests/Makefile: Add rint benchtest.
19726 * benchtests/rint-inputs: Input for rint benchtest.
19728 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19730 * Versions.def (libm): Add GLIBC_2.18.
19731 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19732 hidden libm prototypes.
19733 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19734 * math/Makefile (libm-calls): Add s_issignaling.
19735 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19736 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19737 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19739 * math/math.h [__USE_GNU] (issignaling): New macro.
19740 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19741 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19742 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19743 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19744 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19745 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19746 * manual/arith.texi (issignaling): New section.
19747 * manual/libm-err-tab.pl (@all_functions): Update comment.
19748 * math/gen-libm-test.pl (parse_args): Apply special handling for
19750 * math/libm-test.inc (print_float, issignaling_test): New
19752 (check_float_internal): Add issignaling checks.
19753 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19754 default definition.
19755 * sysdeps/powerpc/math-tests.h: New file.
19756 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19758 * math/test-snan.c (TEST_FUNC): Likewise.
19760 2013-03-30 David S. Miller <davem@davemloft.net>
19762 * po/de.po: Update from translation team.
19764 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19768 imaginary part less than 1.0 and real part less than 0.5
19770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19772 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19773 (cacos_test): Add more tests.
19774 (casin_test): Likewise.
19775 (casinh_test): Likewise.
19776 * sysdeps/i386/fpu/libm-test-ulps: Update.
19777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19779 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19781 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19782 ONE with its value.
19784 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19785 (__pow_mp): Replace ONE and MONE with their values.
19786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19788 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19789 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19790 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19791 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19793 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19795 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19796 (__pow_mp): Replace ZERO and MZERO with their values.
19797 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19799 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19801 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19802 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19805 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19807 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19809 2013-03-28 Roland McGrath <roland@hack.frob.com>
19811 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19812 Declare with __attribute__ ((weak)).
19813 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19814 Call __call_tls_dtors only if it's not NULL.
19816 2013-03-28 Roland McGrath <roland@hack.frob.com>
19818 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19819 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19820 magic __ehdr_start linker symbol if it's defined.
19821 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19822 them up here if it was already done.
19824 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19825 (_dl_aux_init): Use const in cast when setting it.
19826 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19827 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19828 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19830 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19832 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19833 * csu/libc-tls.c: Nor here.
19834 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19836 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19837 (__libc_message): Never call vsyslog.
19839 2013-03-28 Alan Modra <amodra@gmail.com>
19841 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19843 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19846 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19849 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19853 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19856 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19857 Don't add gid passed as argument.
19859 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19861 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19864 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19865 imaginary part between 1.0 and 1.5 and real part less than 0.5
19867 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19868 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19869 * math/libm-test.inc (cacos_test): Add more tests.
19870 (casin_test): Likewise.
19871 (casinh_test): Likewise.
19872 * sysdeps/i386/fpu/libm-test-ulps: Update.
19873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19875 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19877 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19880 (denorm): Likewise.
19881 (__dbl_mp): Likewise.
19882 (add_magnitudes): Likewise.
19883 (sub_magnitudes): Likewise.
19891 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19893 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19894 (__dubcos): Likewise.
19895 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19896 (__ieee754_acos): Likewise.
19897 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19898 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19899 (__exp1): Likewise.
19900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19903 (my_log2): Likewise.
19904 (checkint): Likewise.
19905 * sysdeps/ieee754/dbl-64/e_remainder.c
19906 (__ieee754_remainder): Likewise.
19907 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19909 (bsloww): Likewise.
19910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19912 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19914 MANTISSA_STORE_T to store computations on mantissa. Use
19915 macros for rounding and division.
19916 (denorm): Likewise.
19917 (__dbl_mp): Likewise.
19918 (add_magnitudes): Likewise.
19919 (sub_magnitudes): Likewise.
19922 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19923 powers of two in terms of TWOPOW macro.
19924 (mp_no): Make type of mantissa as MANTISSA_T.
19925 [!RADIXI]: Define RADIXI.
19926 [!TWO52]: Define TWO52.
19927 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19929 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19931 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19932 llroundl symbol when building for PPC32.
19934 2013-03-24 Mark H Weaver <mhw@netris.org>
19936 * manual/arith.texi (Normalization Functions): Fix prototypes for
19937 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19939 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19943 high value to check if expl overflow.
19944 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19945 to check for underflow and overflow.
19946 * math/libm-test.inc: Add exp test.
19948 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19951 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19954 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19956 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19959 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19961 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19962 wrap blocks consisting of several statements.
19964 * sysdeps/generic/math-tests.h: New file.
19965 * sysdeps/i386/fpu/math-tests.h: Likewise.
19966 * math/test-snan.c: Include it.
19967 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19969 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19972 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19973 (__ieee754_j0l): Do not improve calculations using cos of twice
19974 input for inputs above LDBL_MAX / 2.0L.
19975 (__ieee754_y0l): Likewise.
19976 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19977 (__ieee754_j1l): Do not improve calculations using cos of twice
19978 input for inputs above LDBL_MAX / 2.0L.
19979 (__ieee754_y1l): Likewise.
19980 * math/libm-test.inc (j0_test): Add another test.
19981 (j1_test): Likewise.
19982 (y0_test): Likewise.
19983 (y1_test): Likewise.
19984 * sysdeps/i386/fpu/libm-test-ulps: Update.
19986 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19988 * Rules ($(objpfx)bench-%.c): Include code from a C source
19991 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19994 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19995 imaginary part 1.0 and real part less than 0.5 specially.
19996 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19997 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19998 * math/libm-test.inc (cacos_test): Add more tests.
19999 (casin_test): Likewise.
20000 (casinh_test): Likewise.
20001 * sysdeps/i386/fpu/libm-test-ulps: Update.
20002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20004 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20006 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20007 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20009 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20011 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20012 * config.make.in (config-cflags-sse4): Remove variable.
20013 (config-cflags-avx): Likewise.
20014 (config-cflags-sse2avx): Likewise.
20015 (config-cflags-novzeroupper): Likewise.
20016 (config-asflags-i686): Likewise.
20017 (have-mfma4): Likewise.
20018 (have-as-vis3): Likewise.
20020 * configure.in (MIG): Do not AC_SUBST.
20021 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20022 (libc_cv_cc_sse4): Do not AC_SUBST.
20023 (libc_cv_cc_avx): Likewise.
20024 (libc_cv_cc_sse2avx): Likewise.
20025 (libc_cv_cc_novzeroupper): Likewise.
20026 (libc_cv_cc_fma4): Likewise.
20027 (libc_cv_as_i686): Likewise.
20028 (libc_cv_sparc_as_vis3): Likewise.
20029 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20031 (config-asflags-i686): Likewise.
20032 (config-cflags-avx): Likewise.
20033 (config-cflags-sse2avx): Likewise.
20034 (have-mfma4): Likewise.
20035 (config-cflags-novzeroupper): Likewise.
20036 * sysdeps/mach/configure.in (MIG): Likewise.
20037 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20038 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20040 (config-cflags-avx): Likewise.
20041 (config-cflags-sse2avx): Likewise.
20042 (have-mfma4): Likewise.
20043 (config-cflags-novzeroupper): Likewise.
20044 * configure: Regenerated.
20045 * sysdeps/i386/configure: Likewise.
20046 * sysdeps/mach/configure: Likewise.
20047 * sysdeps/sparc/configure: Likewise.
20048 * sysdeps/x86_64/configure: Likewise.
20050 2013-03-20 Roland McGrath <roland@hack.frob.com>
20053 * locale/programs/localedef.c (options): Put N_ translation marker
20054 on argument names, not just descriptions.
20056 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20058 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20060 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20063 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20065 2013-03-19 Roland McGrath <roland@hack.frob.com>
20067 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20068 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20069 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20070 [!BEFORE_ABORT] (before_abort): New function.
20071 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20072 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20073 (writev_for_fatal): New function.
20074 (WRITEV_FOR_FATAL): New macro; call that.
20075 (backtrace_and_maps): New function.
20076 (BEFORE_ABORT): New macro; call that.
20077 (struct str_list): Type removed.
20078 (__libc_message, __libc_fatal): Functions removed.
20079 Include <sysdeps/posix/libc_fatal.c> instead.
20081 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20083 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20085 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20088 2013-03-19 Andreas Schwab <schwab@suse.de>
20090 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20091 * sysdeps/gnu/configure: Regenerate.
20093 * configure.in: Substitute libc_cv_rtlddir.
20094 * configure: Regenerate.
20095 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20096 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20097 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20098 * elf/Makefile (install-others, CFLAGS-interp.c)
20099 (ldso_install, common-ldd-rewrite): Likewise.
20100 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20101 $(inst_slibdir)/$(rtld-installed-name).
20102 * scripts/rellns-sh: Add -p option.
20103 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20106 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20108 * manual/nptl.texi: Renamed to ...
20109 * manual/threads.texi: ... this.
20110 * manual/Makefile (chapters): Update.
20112 2013-03-18 Roland McGrath <roland@hack.frob.com>
20115 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20116 on argument names, not just descriptions.
20117 * malloc/memusagestat.c (options): Likewise.
20118 * nss/getent.c (options): Likewise.
20120 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20123 * iconv/iconv_prog.c (options): Put N_ translation marker
20124 on argument names, not just descriptions.
20125 * iconv/iconvconfig.c (options): Likewise.
20127 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20129 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20130 implementation which is faster on all x86_64 architectures.
20131 Tested on AMD, Intel Nehalem, SNB, IVB.
20132 * sysdeps/x86_64/strnlen.S: Likewise.
20134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20135 Remove all multiarch strlen and strnlen versions.
20136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20137 Remove strlen and strnlen related parts.
20139 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20140 Inline strlen part.
20141 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20143 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20144 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20145 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20146 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20147 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20148 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20150 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20152 * manual/memory.texi (Malloc Tunable Parameters):
20153 Sort parameters alphabetically. Add comments for missing entries.
20155 2013-03-17 David S. Miller <davem@davemloft.net>
20157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20159 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20162 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20163 for arguments at most half maximum finite value.
20164 * math/libm-test.inc (j0_test): Add more tests.
20165 (j1_test): Likewise.
20166 (y0_test): Likewise.
20167 (y1_test): Likewise.
20168 * sysdeps/i386/fpu/libm-test-ulps: Update.
20169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20172 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20173 1 / x and functions P and Q for arguments above 0x1p256L.
20174 (__ieee754_y0l): Likewise.
20175 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20176 (__ieee754_y1l): Likewise.
20177 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20178 (j1_test): Likewise.
20179 (y0_test): Likewise.
20180 (y1_test): Likewise.
20182 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20184 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20187 2013-03-15 Roland McGrath <roland@hack.frob.com>
20189 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20190 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20191 zero since it's initialized to EXEC_PAGESIZE.
20193 * sysdeps/unix/sysv/linux/ldsodefs.h
20194 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20195 * sysdeps/generic/ldsodefs.h: ... here.
20197 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20199 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20201 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20203 * math/test-snan.c: Renamed from
20204 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20205 * math/Makefile (tests): Add test-snan.
20206 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20209 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20210 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20212 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20213 __builtin_nan family of functions.
20214 * math/libm-test.inc (initialize): Initialize qnan_value with
20215 __builtin_nan family of functions.
20216 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20218 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20220 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20221 storage class. Initialize qNaN_var and sNaN_var with
20222 __builtin_nan and __builtin_nans families of functions,
20225 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20226 (sqrt_test): Remove duplicate test with qNaN input.
20227 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20228 (round_test, signbit_test, significand_test): Note missing +/-Inf
20229 as well as qNaN tests.
20231 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20232 qNaN_var. Fix a few strings, too.
20233 * math/libm-test.inc (nan_value): Rename to qnan_value.
20234 * math/gen-libm-test.pl (%beautify): Adjust to that.
20235 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20236 * math/test-misc.c (main): Likewise.
20237 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20238 to __qnan_bytes, and __qnan_union, respectively.
20239 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20241 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20242 and lqnanval, respectively.
20243 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20244 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20245 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20246 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20248 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20249 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20252 * math/test-misc.c (main): Fix copy'n'pastos.
20253 * misc/tst-efgcvt.c (special): Likewise.
20255 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20256 Remove declarations.
20258 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20260 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20261 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20262 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20263 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20265 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20267 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20268 macro to return vdso values correctly in IFUNC implementations.
20269 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20270 Optimization by using IFUNC.
20272 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20273 Richard Henderson <rth@redhat.com>
20274 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20276 * Makefile.in (bench): New target.
20277 * NEWS: Mention the benchmark framework.
20278 * Rules (bench): Likewise.
20279 (binaries-bench): Generate binaries for functions to
20281 * benchtests/Makefile: New makefile for benchmark tests.
20282 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20284 * benchtests/exp-inputs: New input file for EXP function.
20285 * benchtests/pow-inputs: New input file for POW function.
20286 * scripts/bench.pl: New script to generate source files for
20287 benchmark programs.
20289 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20291 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20293 computations on mantissa. Use macros for rounding and
20295 (denorm): Likewise.
20296 (__dbl_mp): Likewise.
20297 (add_magnitudes): Likewise.
20298 (sub_magnitudes): Likewise.
20301 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20302 powers of two in terms of TWOPOW macro.
20303 (mp_no): Make type of mantissa as MANTISSA_T.
20304 [!RADIXI]: Define RADIXI.
20305 [!TWO52]: Define TWO52.
20306 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20308 * manual/nptl.texi (cindex): Modify threads to pthreads.
20310 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20312 * sysdeps/x86_64/preconfigure: Regenerated.
20314 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20317 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20319 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20320 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20322 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20323 * math/libm-test.inc (j0_test): Do not allow one spurious
20324 underflow exception.
20325 (y1_test): Likewise.
20327 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20329 * manual/Makefile (chapters): Add nptl.
20330 * manual/debug.texi (Debugging Support): Add link to Threads
20332 * manual/nptl.texi: New file.
20334 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20336 2013-03-14 Petr Baudis <pasky@ucw.cz>
20338 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20339 for non-NULL pointer before the memory validity test. Pointed
20340 out by Holger Brunck <holger.brunck@keymile.com>.
20342 2013-03-13 Andreas Schwab <schwab@suse.de>
20344 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20347 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20349 * timezone/zic.c: Update from tzcode 2013b.
20351 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20353 * manual/install.texi (Configuring and compiling):
20354 Mention i686 and i586.
20355 * INSTALL: Regenerate.
20357 2013-03-12 Roland McGrath <roland@hack.frob.com>
20359 * sysdeps/init_array/elf-init.c: New file.
20361 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20362 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20364 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20365 __gmon_start__ as global, but as static with a .preinit_array pointer.
20366 * sysdeps/init_array/gmon-start.c: New file. Use that.
20367 * sysdeps/init_array/crti.S: New file, empty except for comments.
20368 * sysdeps/init_array/crtn.S: Likewise.
20370 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20372 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20375 Remove Prefer_SSE_for_memop.
20376 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20377 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20378 HAS_PREFER_SSE_FOR_MEMOP.
20379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20382 Remove bzero, memset ifunc support.
20383 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20384 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20385 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20386 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20388 2013-03-11 Andreas Schwab <schwab@suse.de>
20391 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20394 (GLIBC_2.16): Remove pthread_atfork.
20396 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20398 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20399 (ptestcases.h): Likewise.
20401 2013-03-08 Roland McGrath <roland@hack.frob.com>
20403 * Makeconfig ($(common-objpfx)config.status): Depend on
20404 sysdeps/*/preconfigure{,.in} too.
20406 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20408 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20409 (__free_hook): Use void * instead of __malloc_ptr_t.
20410 (__malloc_hook): Likewise.
20411 (__realloc_hook): Likewise.
20412 (__memalign_hook): Likewise.
20413 (__after_morecore_hook): Likewise.
20414 * malloc/arena.c (save_malloc_hook): Likewise.
20415 (save_free_hook): Likewise.
20416 * malloc/hooks.c (malloc_hook_ini): Likewise.
20417 (realloc_hook_ini): Likewise.
20418 (memalign_hook_ini): Likewise.
20419 * malloc/malloc.c (malloc_hook_ini): Likewise.
20420 (realloc_hook_ini): Likewise.
20421 (memalign_hook_ini): Likewise.
20422 (__free_hook): Likewise.
20423 (__malloc_hook): Likewise.
20424 (__realloc_hook): Likewise.
20425 (__memalign_hook): Likewise.
20426 (__libc_malloc): Likewise.
20427 (__libc_free): Likewise.
20428 (__libc_realloc): Likewise.
20429 (__libc_memalign): Likewise.
20430 (__libc_valloc): Likewise.
20431 (__libc_pvalloc): Likewise.
20432 (__libc_calloc): Likewise.
20433 (__posix_memalign): Likewise.
20434 * malloc/morecore.c (__sbrk): Likewise.
20435 (__default_morecore): Likewise.
20437 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20439 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20440 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20441 __malloc_ptrdiff_t.
20443 * malloc/malloc.h (__malloc_size_t): Remove macro.
20444 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20446 (old_memalign_hook): Likewise.
20447 (old_realloc_hook): Likewise.
20448 (struct hdr): Likewise.
20450 (mallochook): Likewise.
20451 (memalignhook): Likewise.
20452 (reallochook): Likewise.
20453 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20454 (tr_old_realloc_hook): Likewise.
20455 (tr_old_memalign_hook): Likewise.
20456 (tr_mallochook): Likewise.
20457 (tr_reallochook): Likewise.
20458 (tr_memalignhook): Likewise.
20460 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20463 default_ldbl_pack and using as default implementation.
20464 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20466 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20467 redundant definition.
20468 (ldbl_insert_mantissa): Likewise.
20469 (ldbl_canonicalize): Likewise.
20470 (ldbl_nearbyint): Likewise.
20471 (ldbl_pack): Rename to ldbl_pack_ppc.
20472 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20473 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20474 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20476 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20479 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20480 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20481 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20483 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20484 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20485 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20487 2013-03-07 Andreas Jaeger <aj@suse.de>
20489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20492 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20494 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20495 Include mpa.h and declare __MPEXP.
20496 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20497 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20498 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20499 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20501 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20502 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20504 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20505 (__slowpow): Use long double EXPL and LOGL functions to
20507 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20508 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20510 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20511 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20515 intermediate variable to calculate exponent.
20517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20521 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20522 [!NO__SQR]: Define __sqr.
20523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20524 and NO__SQR. Remove all code except __mul and __sqr. Include
20525 sysdeps/ieee754/dbl-64/mpa.c.
20526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20529 * posix/Makefile (tests): Add tst-pathconf.
20530 * posix/tst-pathconf.c: New test case.
20531 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20533 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20535 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20537 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20539 2013-03-06 Andreas Jaeger <aj@suse.de>
20541 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20542 definition via __MAP_ANONYMOUS.
20544 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20545 it's not part of Linux headers.
20547 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20548 (MAP_HUGE_MASK): Define.
20550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20556 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20563 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20564 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20565 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20566 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20567 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20568 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20570 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20574 Handle f2fs and efivarfs.
20576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20579 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20580 (EFIVARFS_MAGIC): Add.
20581 (F2FS_LINK_MAX): Add.
20583 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20585 * stdio-common/vfprintf.c: Replace __builtin_expect with
20588 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20591 * sysdeps/generic/bp-sym.h: Remove file.
20592 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20593 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20594 <bp-sym.h> and <bp-asm.h>.
20595 (__longjmp): Don't use BP_SYM.
20596 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20598 (memcpy): Don't use BP_SYM.
20599 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20600 <bp-sym.h> and <bp-asm.h>.
20601 (memcpy): Don't use BP_SYM.
20602 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20604 (memcpy): Don't use BP_SYM.
20605 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20607 (memset): Don't use BP_SYM.
20608 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20609 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20610 (__bzero): Don't use BP_SYM.
20611 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20612 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20613 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20614 <bp-sym.h> and <bp-asm.h>.
20615 (memcmp): Don't use BP_SYM. Remove comment about bounded
20617 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20618 <bp-sym.h> and <bp-asm.h>.
20619 (memcpy): Don't use BP_SYM.
20620 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20621 <bp-sym.h> and <bp-asm.h>.
20622 (memset): Don't use BP_SYM.
20623 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20624 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20625 (__bzero): Don't use BP_SYM.
20626 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20627 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20628 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20629 <bp-sym.h> and <bp-asm.h>.
20630 (strncmp): Don't use BP_SYM. Remove comment about bounded
20632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20633 <bp-sym.h> and <bp-asm.h>.
20634 (memcpy): Don't use BP_SYM.
20635 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20636 <bp-sym.h> and <bp-asm.h>.
20637 (memset): Don't use BP_SYM.
20638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20640 (__bzero): Don't use BP_SYM.
20641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20643 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20644 <bp-sym.h> and <bp-asm.h>.
20645 (__memchr): Don't use BP_SYM.
20646 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20647 <bp-sym.h> and <bp-asm.h>.
20648 (memcmp): Don't use BP_SYM. Remove comment about bounded
20650 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20651 <bp-sym.h> and <bp-asm.h>.
20652 (memcpy): Don't use BP_SYM.
20653 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20654 <bp-sym.h> and <bp-asm.h>.
20655 (__mempcpy): Don't use BP_SYM.
20656 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20657 <bp-sym.h> and <bp-asm.h>.
20658 (__memrchr): Don't use BP_SYM.
20659 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20660 <bp-sym.h> and <bp-asm.h>.
20661 (memset): Don't use BP_SYM.
20662 (__bzero): Likewise.
20663 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20664 <bp-sym.h> and <bp-asm.h>.
20665 (__rawmemchr): Don't use BP_SYM.
20666 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20667 <bp-sym.h> and <bp-asm.h>.
20668 (__STRCMP): Don't use BP_SYM.
20669 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20670 <bp-sym.h> and <bp-asm.h>.
20671 (strchr): Don't use BP_SYM.
20672 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20673 <bp-sym.h> and <bp-asm.h>.
20674 (__strchrnul): Don't use BP_SYM.
20675 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20676 <bp-sym.h> and <bp-asm.h>.
20677 (strlen): Don't use BP_SYM.
20678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20679 <bp-sym.h> and <bp-asm.h>.
20680 (strncmp): Don't use BP_SYM. Remove comment about bounded
20682 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20683 <bp-sym.h> and <bp-asm.h>.
20684 (__strnlen): Don't use BP_SYM.
20685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20686 <bp-sym.h> and <bp-asm.h>.
20687 (__GI__setjmp): Don't use BP_SYM.
20688 (_setjmp): Likewise.
20689 (__sigsetjmp): Likewise.
20690 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20691 (L(start_addresses)): Don't use BP_SYM.
20692 (_start): Likewise.
20693 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20695 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20696 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20697 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20698 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20699 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20701 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20702 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20703 about bounded pointers.
20704 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20705 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20706 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20708 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20709 about bounded pointers. Remove GKM FIXME comments.
20710 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20711 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20713 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20714 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20715 Remove GKM FIXME comments.
20716 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20717 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20718 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20720 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20721 about bounded pointers. Remove GKM FIXME comment.
20722 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20724 (strncmp): Don't use BP_SYM. Remove comment about bounded
20726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20727 <bp-sym.h> and <bp-asm.h>.
20728 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20730 <bp-sym.h> and <bp-asm.h>.
20731 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20734 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20736 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20739 2013-03-05 David S. Miller <davem@davemloft.net>
20741 * po/es.po: Update from translation team.
20743 2013-03-05 Andreas Jaeger <aj@suse.de>
20745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20746 <bits/mman-linux.h>.
20747 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20749 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20750 <bits/mman-linux.h> to end of file.
20751 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20753 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20754 <bits/mman-linux.h> to end of file.
20755 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20757 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20758 <bits/mman-linux.h> to end of file.
20760 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20761 (MCL_CURRENT, MCL_FUTURE): Define here.
20763 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20766 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20768 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20770 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20772 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20773 fourth parameter needed for rt_sigprocmask syscall.
20774 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20775 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20776 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20777 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20778 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20779 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20781 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20784 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20785 comment about bounded pointers.
20786 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20787 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20789 2013-03-04 Andreas Jaeger <aj@suse.de>
20791 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20792 common definitions.
20794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20795 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20796 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20798 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20801 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20805 __ieee754_sqrl instead of __sqrl.
20807 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20809 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20810 * sysdeps/powerpc/fpu_control.h: ... here.
20811 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20812 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20813 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20814 * sysdeps/powerpc/bits/mathinline.h: ... here.
20816 2013-03-01 Roland McGrath <roland@hack.frob.com>
20818 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20819 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20820 to just [NEED_DL_SYSINFO_DSO].
20821 * elf/dl-support.c: Likewise.
20822 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20823 * elf/rtld.c (dl_main): Likewise.
20824 * elf/setup-vdso.h (setup_vdso): Likewise.
20825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20826 * sysdeps/unix/sysv/linux/dl-sysdep.c
20827 (_dl_discover_osversion): Likewise.
20829 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20831 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20832 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20834 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20836 * NEWS: Mention libm performance improvements and non-x86 PI
20839 * csu/libc-start.c (__pthread_initialize_minimal): Change
20840 function arguments.
20841 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20843 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20846 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20847 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20848 <bp-sym.h> and <bp-asm.h>.
20849 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20852 (memcpy): Don't use BP_SYM.
20853 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20855 (__mpn_add_n): Don't use BP_SYM.
20856 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20857 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20859 (__mpn_addmul_1): Don't use BP_SYM.
20860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20861 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20863 (_setjmp): Don't use BP_SYM.
20864 (__novmx_setjmp): Likewise.
20865 (__GI__setjmp): Likewise.
20866 (__vmx_setjmp): Likewise.
20867 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20869 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20870 (__bzero): Don't use BP_SYM.
20871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20873 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20874 <bp-sym.h> and <bp-asm.h>.
20875 (memcpy): Don't use BP_SYM.
20876 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20877 <bp-sym.h> and <bp-asm.h>.
20878 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20880 <bp-sym.h> and <bp-asm.h>.
20881 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20882 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20884 (__mpn_lshift): Don't use BP_SYM.
20885 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20886 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20888 (memset): Don't use BP_SYM.
20889 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20890 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20891 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20893 (__mpn_mul_1): Don't use BP_SYM.
20894 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20895 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20896 <bp-sym.h> and <bp-asm.h>.
20897 (memcmp): Don't use BP_SYM.
20898 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20899 <bp-sym.h> and <bp-asm.h>.
20900 (memcpy): Don't use BP_SYM.
20901 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20902 <bp-sym.h> and <bp-asm.h>.
20903 (memset): Don't use BP_SYM.
20904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20905 <bp-sym.h> and <bp-asm.h>.
20906 (strncmp): Don't use BP_SYM.
20907 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20908 <bp-sym.h> and <bp-asm.h>.
20909 (memcpy): Don't use BP_SYM.
20910 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20911 <bp-sym.h> and <bp-asm.h>.
20912 (memset): Don't use BP_SYM.
20913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20914 <bp-sym.h> and <bp-asm.h>.
20915 (__memchr): Don't use BP_SYM.
20916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20917 <bp-sym.h> and <bp-asm.h>.
20918 (memcmp): Don't use BP_SYM.
20919 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20920 <bp-sym.h> and <bp-asm.h>.
20921 (memcpy): Don't use BP_SYM.
20922 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20923 <bp-sym.h> and <bp-asm.h>.
20924 (__mempcpy): Don't use BP_SYM.
20925 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20926 <bp-sym.h> and <bp-asm.h>.
20927 (__memrchr): Don't use BP_SYM.
20928 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20929 <bp-sym.h> and <bp-asm.h>.
20930 (memset): Don't use BP_SYM.
20931 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20932 <bp-sym.h> and <bp-asm.h>.
20933 (__rawmemchr): Don't use BP_SYM.
20934 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20935 <bp-sym.h> and <bp-asm.h>.
20936 (__STRCMP): Don't use BP_SYM.
20937 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20938 <bp-sym.h> and <bp-asm.h>.
20939 (strchr): Don't use BP_SYM.
20940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20941 <bp-sym.h> and <bp-asm.h>.
20942 (__strchrnul): Don't use BP_SYM.
20943 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20944 <bp-sym.h> and <bp-asm.h>.
20945 (strlen): Don't use BP_SYM.
20946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20947 <bp-sym.h> and <bp-asm.h>.
20948 (strncmp): Don't use BP_SYM.
20949 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20950 <bp-sym.h> and <bp-asm.h>.
20951 (__strnlen): Don't use BP_SYM.
20952 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20954 (__mpn_rshift): Don't use BP_SYM.
20955 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20956 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20957 <bp-sym.h> and <bp-asm.h>.
20958 (__sigsetjmp): Don't use BP_SYM.
20959 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20960 (L(start_addresses)): Don't use BP_SYM.
20961 (_start): Likewise.
20962 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20964 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20965 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20966 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20967 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20969 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20970 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20971 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20972 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20974 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20976 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20977 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20979 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20981 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20982 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20983 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20985 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20987 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20989 (strncmp): Don't use BP_SYM,
20990 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20992 (__mpn_sub_n): Don't use BP_SYM.
20993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20994 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20996 (__mpn_submul_1): Don't use BP_SYM.
20997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20999 <bp-sym.h> and <bp-asm.h>.
21000 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21002 <bp-sym.h> and <bp-asm.h>.
21003 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21006 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21009 Use ZK to minimize writes to Z.
21010 (sub_magnitudes): Simplify code a bit.
21011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21012 Use ZK to minimize writes to Z.
21013 (sub_magnitudes): Simplify code a bit.
21015 2013-02-27 Roland McGrath <roland@hack.frob.com>
21017 * csu/gmon-start.c: Add special exception to license text.
21019 2013-02-27 Richard Henderson <rth@redhat.com>
21021 * scripts/config.guess: Update from config.git.
21022 * scripts/config.sub: Likewise.
21024 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21028 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21030 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21032 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21034 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21036 2013-02-26 Roland McGrath <roland@hack.frob.com>
21038 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21039 [$(build-shared = yes].
21041 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21043 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21044 (__mul): Reduce iterations for calculating mantissa.
21046 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21048 (__mpranred): Likewise.
21051 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21052 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21054 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21056 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21057 Define __attribute__.
21059 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21061 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21063 * posix/regex_internal.h (__attribute): Remove.
21064 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21065 (re_string_context_at): Likewise.
21066 (bitset_not): Use __attribute__ and mark function as possibly
21068 (bitset_merge): Likewise.
21069 (bitset_mask): Likewise.
21070 (re_string_char_size_at): Likewise.
21071 (re_string_wchar_at): Likewise.
21072 (re_string_elem_size_at): Likewise.
21074 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21076 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21080 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21084 (denorm): Likewise.
21085 (__dbl_mp): Likewise.
21086 (add_magnitudes): Likewise.
21087 (sub_magnitudes): Likewise.
21091 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21094 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21097 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21101 up changes with default code.
21102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21105 2013-02-24 Allan McRae <allan@archlinux.org>
21107 * manual/socket.texi (The Internet Namespace): Order menu items
21108 to match that in the file.
21110 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21111 node listing of the info page menu.
21113 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21116 * sysdeps/i386/bp-asm.h: Remove file.
21117 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21118 (PARMS): Do not use macros from bp-asm.h.
21122 (__mpn_add_n): Do not use BP_SYM
21123 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21125 (PARMS): Do not use macros from bp-asm.h.
21128 (__mpn_addmul_1): Do not use BP_SYM
21129 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21131 (PARMS): Do not use macros from bp-asm.h.
21132 (SIGMSK): Likewise.
21133 (_setjmp): Likewise. Do not use BP_SYM.
21134 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21136 (PARMS): Do not use macros from bp-asm.h.
21137 (SIGMSK): Likewise.
21138 (setjmp): Likewise. Do not use BP_SYM.
21139 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21141 (PARMS): Do not use macros from bp-asm.h.
21142 (__frexp): Do not use BP_SYM.
21144 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21146 (PARMS): Do not use macros from bp-asm.h.
21147 (__frexpf): Do not use BP_SYM.
21148 (frexpf): Likewise.
21149 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21151 (PARMS): Do not use macros from bp-asm.h.
21152 (__frexpl): Do not use BP_SYM.
21153 (frexpl): Likewise.
21154 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21156 (PARMS): Do not use macros from bp-asm.h.
21157 (__remquo): Do not use BP_SYM.
21158 (remquo): Likewise.
21159 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21161 (PARMS): Do not use macros from bp-asm.h.
21162 (__remquof): Do not use BP_SYM.
21163 (remquof): Likewise.
21164 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21166 (PARMS): Do not use macros from bp-asm.h.
21167 (__remquol): Do not use BP_SYM.
21168 (remquol): Likewise.
21169 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21171 (PARMS): Do not use macros from bp-asm.h.
21174 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21175 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21177 (PARMS): Do not use macros from bp-asm.h.
21178 (strlen): Do not use BP_SYM.
21179 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21181 (PARMS): Do not use macros from bp-asm.h.
21185 (__mpn_add_n): Do not use BP_SYM.
21186 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21188 (PARMS): Do not use macros from bp-asm.h.
21191 (__mpn_addmul_1): Do not use BP_SYM.
21192 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21195 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21197 (PARMS): Do not use macros from bp-asm.h.
21200 (__mpn_lshift): Do not use BP_SYM.
21201 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21203 (PARMS): Do not use macros from bp-asm.h.
21207 (memcpy): Likewise. Do not use BP_SYM.
21208 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21209 libc_hidden_def and weak_alias.
21210 (mempcpy): Do not use BP_SYM in weak_alias.
21211 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21213 (PARMS): Do not use macros from bp-asm.h.
21216 [!BZERO_P] (CHR): Likewise.
21217 (memset): Likewise. Do not use BP_SYM.
21218 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21220 (PARMS): Do not use macros from bp-asm.h.
21223 (__mpn_mul_1): Do not use BP_SYM.
21224 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21226 (PARMS): Do not use macros from bp-asm.h.
21229 (__mpn_rshift): Do not use BP_SYM.
21230 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21232 (PARMS): Do not use macros from bp-asm.h.
21235 (strchr): Likewise. Do not use BP_SYM.
21236 (index): Do not use BP_SYM in weak_alias.
21237 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21239 (PARMS): Do not use macros from bp-asm.h.
21242 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21243 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21245 (PARMS): Do not use macros from bp-asm.h.
21246 (strlen): Do not use BP_SYM.
21247 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21249 (PARMS): Do not use macros from bp-asm.h.
21253 (__mpn_sub_n): Do not use BP_SYM.
21254 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21256 (PARMS): Do not use macros from bp-asm.h.
21259 (__mpn_submul_1): Do not use BP_SYM.
21260 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21262 (PARMS): Do not use macros from bp-asm.h.
21266 (__mpn_add_n): Do not use BP_SYM.
21267 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21270 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21272 (PARMS): Do not use macros from bp-asm.h.
21275 (memcmp): Do not use BP_SYM.
21276 (bcmp): Do not use BP_SYM in weak_alias.
21277 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21279 (PARMS): Do not use macros from bp-asm.h.
21283 (memcpy): Likewise. Do not use BP_SYM.
21284 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21286 (PARMS): Do not use macros from bp-asm.h.
21290 (memmove): Likewise. Do not use BP_SYM.
21291 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21293 (PARMS): Do not use macros from bp-asm.h.
21297 (__mempcpy): Likewise. Do not use BP_SYM.
21298 (mempcpy): Do not use BP_SYM in weak_alias.
21299 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21301 (PARMS): Do not use macros from bp-asm.h.
21304 [!BZERO_P] (CHR): Likewise.
21305 (memset): Likewise. Do not use BP_SYM.
21306 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21308 (PARMS): Do not use macros from bp-asm.h.
21310 (strcmp): Do not use BP_SYM.
21311 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21313 (PARMS): Do not use macros from bp-asm.h.
21316 [USE_AS_STRTOK_R] (SAVE): Likewise.
21317 (FUNCTION): Likewise. Do not use BP_SYM.
21318 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21320 (strtok_r): Likewise.
21321 (__GI___strtok_r): Likewise.
21322 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21323 (PARMS): Do not use macros from bp-asm.h.
21326 (__mpn_lshift): Do not use BP_SYM.
21327 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21328 (PARMS): Do not use macros from bp-asm.h.
21331 (__memchr): Do not use BP_SYM.
21332 (memchr): Do not use BP_SYM in weak_alias.
21333 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21334 (PARMS): Do not use macros from bp-asm.h.
21337 (memcmp): Do not use BP_SYM.
21338 (bcmp): Do not use BP_SYM in weak_alias.
21339 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21340 (PARMS): Do not use macros from bp-asm.h.
21343 (__mpn_mul_1): Do not use BP_SYM.
21344 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21346 (PARMS): Do not use macros from bp-asm.h.
21349 (__rawmemchr): Do not use BP_SYM.
21350 (rawmemchr): Do not use BP_SYM in weak_alias.
21351 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21352 (PARMS): Do not use macros from bp-asm.h.
21355 (__mpn_rshift): Do not use BP_SYM.
21356 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21357 (PARMS): Do not use macros from bp-asm.h.
21358 (SIGMSK): Likewise.
21359 (__sigsetjmp): Likewise. Do not use BP_SYM.
21360 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21361 (_start): Do not use BP_SYM.
21362 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21363 (PARMS): Do not use macros from bp-asm.h.
21366 (__stpcpy): Likewise. Do not use BP_SYM.
21367 (stpcpy): Do not use BP_SYM in weak_alias.
21368 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21370 (PARMS): Do not use macros from bp-asm.h.
21374 (__stpncpy): Likewise. Do not use BP_SYM.
21375 (stpncpy): Do not use BP_SYM in weak_alias.
21376 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21377 (PARMS): Do not use macros from bp-asm.h.
21380 (strchr): Likewise. Do not use BP_SYM.
21381 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21383 (PARMS): Do not use macros from bp-asm.h.
21386 (__strchrnul): Likewise. Do not use BP_SYM.
21387 (strchrnul): Do not use BP_SYM in weak_alias.
21388 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21390 (PARMS): Do not use macros from bp-asm.h.
21392 (strcspn): Do not use BP_SYM.
21393 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21395 (PARMS): Do not use macros from bp-asm.h.
21398 (strpbrk): Likewise. Do not use BP_SYM.
21399 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21401 (PARMS): Do not use macros from bp-asm.h.
21404 (strrchr): Likewise. Do not use BP_SYM.
21405 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21406 (PARMS): Do not use macros from bp-asm.h.
21408 (strspn): Do not use BP_SYM.
21409 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21410 (PARMS): Do not use macros from bp-asm.h.
21414 (FUNCTION): Likewise. Do not use BP_SYM.
21415 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21417 (strtok_r): Likewise.
21418 (__GI___strtok_r): Likewise.
21419 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21420 (PARMS): Do not use macros from bp-asm.h.
21424 (__mpn_sub_n): Do not use BP_SYM.
21425 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21427 (PARMS): Do not use macros from bp-asm.h.
21430 (__mpn_submul_1): Do not use BP_SYM.
21431 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21433 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21435 (PARMS): Do not use macros from bp-asm.h.
21440 (__clone): Do not use BP_SYM.
21441 (clone): Do not use BP_SYM in weak_alias.
21442 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21444 (PARMS): Do not use macros from bp-asm.h.
21446 (__mmap64): Do not use BP_SYM.
21447 (mmap64): Do not use BP_SYM in weak_alias.
21448 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21449 <bp-sym.h> and <bp-asm.h>.
21450 (PARMS): Do not use macros from bp-asm.h.
21451 (__posix_fadvise64_l64): Do not use BP_SYM.
21452 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21453 (PARMS): Do not use macros from bp-asm.h.
21455 (semtimedop): Do not use BP_SYM.
21456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21459 2013-02-21 Allan McRae <allan@archlinux.org>
21461 * manual/message.texi (Charset conversion in gettext):
21462 Move @end statement to beginning of line.
21464 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21471 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21472 (denorm): Likewise.
21473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21476 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21478 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21479 tail-call to the resolved function if pltexit isn't needed.
21481 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21484 or Y being zero as being unlikely.
21485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21488 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21490 * manual/nss.texi (System Databases and Name Service Switch):
21491 Remove frobnicate @pxref.
21493 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21495 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21496 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21498 2013-02-20 Petr Machata <pmachata@redhat.com>
21500 * elf/elf.h (R_ARM_TARGET1): New macro.
21501 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21502 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21503 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21504 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21505 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21506 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21507 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21508 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21509 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21510 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21511 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21512 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21513 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21514 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21515 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21516 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21517 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21518 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21519 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21520 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21521 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21522 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21523 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21524 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21525 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21526 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21527 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21528 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21529 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21530 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21531 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21532 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21533 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21534 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21535 (R_ARM_THM_GOT_BREL12): Likewise.
21536 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21537 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21538 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21539 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21540 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21541 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21542 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21543 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21544 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21546 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21548 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21549 __attribute_used__ to __attribute__ ((unused)).
21551 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21553 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21556 comment formatting.
21557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21559 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21562 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21564 (ENTER): Remove both macro definitions.
21566 (CHECK_BOUNDS_LOW): Likewise.
21567 (CHECK_BOUNDS_HIGH): Likewise.
21568 (CHECK_BOUNDS_BOTH): Likewise.
21569 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21570 (RETURN_BOUNDED_POINTER): Likewise.
21571 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21572 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21573 (POP_ERRNO_LOCATION_RETURN): Likewise.
21574 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21575 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21576 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21578 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21579 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21580 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21581 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21582 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21583 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21584 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21585 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21586 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21587 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21588 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21589 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21590 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21591 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21593 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21594 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21596 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21597 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21598 * sysdeps/i386/i586/memset.S (memset): Likewise.
21599 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21600 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21601 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21603 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21604 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21605 Change uses of L(2) to L(out).
21606 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21607 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21608 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21609 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21610 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21612 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21613 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21615 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21616 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21617 (RETURN): Do not use macro LEAVE.
21618 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21619 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21620 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21621 * sysdeps/i386/i686/memset.S (memset): Likewise.
21622 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21623 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21624 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21625 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21627 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21628 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21629 L(1_2) and L(1_3) into L(1).
21630 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21631 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21632 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21633 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21634 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21635 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21636 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21637 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21638 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21640 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21641 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21642 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21643 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21644 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21645 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21646 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21647 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21648 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21649 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21650 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21651 * sysdeps/i386/strspn.S (strspn): Likewise.
21652 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21654 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21655 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21656 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21657 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21658 L(1_3) into L(1_1).
21659 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21660 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21661 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21663 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21665 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21667 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21670 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21672 * math/atest-exp.c (exp_mpn): Remove ROUND.
21673 * math/atest-exp2.c (exp_mpn): Likewise.
21674 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21676 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21677 * stdlib/tst-tls-atexit-lib.c: Likewise.
21678 * stdlib/tst-tls-atexit.c: Likewise.
21680 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21682 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21683 and __attribute_alloc_size__.
21685 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21687 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21688 __attribute_alloc_size__.
21689 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21690 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21692 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21694 * include/programs/xmalloc.h: New file.
21695 * catgets/gencat.c: Include it.
21696 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21697 * elf/pldd.c: Likewise.
21698 * iconv/iconv_charmap.c: Likewise.
21699 * iconv/iconvconfig.c: Likewise.
21700 * iconv/strtab.c: Likewise.
21701 * locale/programs/locale.c: Likewise.
21702 * locale/programs/localedef.h: Likewise.
21703 * locale/programs/simple-hash.c: Likewise.
21704 * nscd/nscd.h: Likewise.
21705 * nss/makedb.c: Likewise.
21706 * sysdeps/generic/ldconfig.h: Likewise.
21708 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21710 * Versions.def: Add GLIBC_2.18.
21711 * include/link.h (struct link_map): New member l_tls_dtor_count.
21712 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21713 (__call_tls_dtors): Likewise.
21714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21715 __cxa_thread_atexit_impl.
21716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21732 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21733 (tests): Add test case tst-tls-atexit.
21734 (modules-names): Add shared library for tst-tls-atexit.
21735 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21736 (GLIBC_PRIVATE): Add __call_tls_dtors.
21737 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21739 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21740 * stdlib/tst-tls-atexit.c: New test case.
21741 * stdlib/tst-tls-atexit-lib.c: New test case.
21743 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21745 * elf/Versions (ld): Add _dl_find_dso_for_object.
21746 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21747 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21748 (dl_open_worker): Use _dl_find_dso_for_object.
21749 * elf/dl-sym.c (do_sym): Likewise.
21750 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21752 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21754 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21755 Syntactic changes only.
21756 (_dl_runtime_profile): Do a tail-call to the resolved function.
21758 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21761 * sysdeps/x86_64/bp-asm.h: Remove file.
21762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21763 <bp-sym.h> and <bp-asm.h>.
21764 (__clone): Do not use BP_SYM.
21765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21766 <bp-sym.h> and <bp-asm.h>.
21767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21768 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21770 (_setjmp): Do not use BP_SYM.
21771 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21773 (setjmp): Do not use BP_SYM.
21774 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21776 (mempcpy): Do not use BP_SYM in weak_alias.
21777 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21779 (strchr): Do not use BP_SYM.
21780 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21782 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21783 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21784 (_start): Do not use BP_SYM.
21785 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21787 (strcat): Do not use BP_SYM.
21788 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21790 (STRCMP): Do not use BP_SYM.
21791 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21793 (STRCPY): Do not use BP_SYM.
21794 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21796 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21798 (FUNCTION): Do not use BP_SYM.
21799 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21801 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21803 2013-02-17 Andreas Jaeger <aj@suse.de>
21805 * time/Versions: Sort entries.
21806 * string/Versions: Likewise.
21807 * resolv/Versions: Likewise.
21808 * posix/Versions: Likewise.
21809 * iconv/Versions: Likewise.
21810 * elf/Versions: Likewise.
21811 * wcsmbs/Versions: Likewise.
21813 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21815 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21816 loop termination condition.
21818 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21819 variable to calculate EZ.
21822 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21823 the lower precision input.
21825 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21828 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21829 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21830 (run-via-rtld-prefix): Do not handle %-bp tests.
21831 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21832 (all-object-suffixes): Remove .ob.
21833 (bppfx): Remove variable.
21834 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21835 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21836 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21837 [$(build-bounded) = yes] (libtype.ob): Likewise.
21838 * Makerules (elide-routines.ob): Remove variable.
21839 (do-tests-clean): Do not handle *-bp.out.
21840 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21841 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21842 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21843 (tests): Do not include $(tests-bp.out).
21844 (xtests): Do not include $(xtests-bp.out).
21845 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21846 [$(build-bounded) = yes] ($(addprefix
21847 $(objpfx),$(binaries-bounded))): Remove rule.
21848 ($(objpfx)%-bp.out): Remove rule.
21849 * config.make.in (build-bounded): Remove variable.
21850 * crypt/Makefile [$(build-bounded) = yes]
21851 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21852 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21853 append to variable.
21854 [$(build-bounded) = yes] (install-lib): Likewise.
21855 [$(build-bounded) = yes] (generated): Likewise.
21856 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21858 * intl/Makefile [$(build-bounded) = yes]
21859 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21860 * math/Makefile [$(build-bounded) = yes]
21861 ($(tests:%=$(objpfx)%-bp): Likewise.
21862 * misc/Makefile [$(build-bounded) = yes]
21863 ($(objpfx)tst-tsearch-bp): Likewise.
21864 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21865 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21867 * string/Makefile (o-objects.ob): Remove variable.
21868 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21869 (CFLAGS-.ob): Remove variable.
21870 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21872 both definitions of variable.
21873 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21874 (ASFLAGS-.ob): Remove variable.
21876 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21879 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21880 Remove __BOUNDED_POINTERS__ from condition.
21881 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21882 * string/bits/string2.h [!__NO_STRING_INLINES &&
21883 !__BOUNDED_POINTERS__]: Likewise.
21884 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21886 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21887 Remove conditional code.
21888 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21889 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21890 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21894 * csu/libc-start.c: Do not include <bp-sym.h>.
21895 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21896 * elf/dl-open.c: Do not include <bp-sym.h>.
21897 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21898 * math/fegetenv.c: Do not include <bp-sym.h>.
21899 (fegetenv): Do not use BP_SYM in versioned symbols.
21900 * nptl/sysdeps/pthread/bits/libc-lockP.h
21901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21904 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21906 (__pthread_mutex_destroy): Likewise.
21907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21908 (__pthread_mutex_lock): Likewise.
21909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21910 (__pthread_mutex_trylock): Likewise.
21911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21912 (__pthread_mutex_unlock): Likewise.
21913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21914 (__pthread_mutexattr_init): Likewise.
21915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21916 (__pthread_mutexattr_destroy): Likewise.
21917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21918 (__pthread_mutexattr_settype): Likewise.
21919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21920 (__pthread_rwlock_init): Likewise.
21921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21922 (__pthread_rwlock_destroy): Likewise.
21923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21924 (__pthread_rwlock_rdlock): Likewise.
21925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21926 (__pthread_rwlock_tryrdlock): Likewise.
21927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21928 (__pthread_rwlock_wrlock): Likewise.
21929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21930 (__pthread_rwlock_trywrlock): Likewise.
21931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21932 (__pthread_rwlock_unlock): Likewise.
21933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21934 (__pthread_key_create): Likewise.
21935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21936 (__pthread_setspecific): Likewise.
21937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21938 (__pthread_getspecific): Likewise.
21939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21942 (_pthread_cleanup_push_defer): Likewise.
21943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21944 (_pthread_cleanup_pop_restore): Likewise.
21945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21946 (pthread_setcancelstate): Likewise.
21947 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21949 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21950 (memchr): Do not use BP_SYM in weak_alias.
21951 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21952 (fegetenv): Do not use BP_SYM in versioned symbols.
21953 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21954 (fesetenv): Do not use BP_SYM in versioned symbols.
21955 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21956 (feupdateenv): Do not use BP_SYM in versioned symbols.
21957 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21958 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21959 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21960 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21961 (open64): Do not use BP_SYM in weak_alias.
21962 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21963 (fegetenv): Do not use BP_SYM in versioned symbols.
21964 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21965 (fesetenv): Do not use BP_SYM in versioned symbols.
21966 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21967 (feupdateenv): Do not use BP_SYM in versioned symbols.
21968 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21969 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21970 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21971 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21972 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21973 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21976 (__libc_start_main): Do not use BP_SYM.
21978 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21981 redundant return line.
21983 (denorm): Likewise.
21984 (dbl_mp): Likewise.
21985 (sub_magnitudes): Likewise.
21991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21993 (denorm): Likewise.
21994 (dbl_mp): Likewise.
21995 (sub_magnitudes): Likewise.
22002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22005 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22008 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22009 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22011 of __mul for squares.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22016 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22019 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22022 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22024 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22025 prototype or function definition. Rename ubp_* variables and
22026 parameters. Remove argv definitions conditional on
22027 [__BOUNDED_POINTERS__].
22028 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22029 * elf/dl-runtime.c (_dl_fixup): Likewise.
22030 * include/set-hooks.h (RUN_HOOK): Likewise.
22031 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22033 * string/strcpy.c (strcpy): Do not use __unbounded.
22034 * sysdeps/generic/frame.h (struct layout): Likewise.
22035 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22036 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22037 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22038 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22039 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22040 (__backtrace): Likewise.
22041 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22043 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22045 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22047 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22048 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22049 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22050 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22051 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22052 Do not use __unbounded.
22053 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22054 Rename __unboundedrlimits parameter to rlimits in prototype.
22055 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22056 Do not use __unbounded.
22057 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22058 not use __ptrvalue.
22059 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22060 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22061 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22062 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22063 __ptrvalue or __unbounded.
22064 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22065 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22067 (__new_msgctl): Do not use __ptrvalue.
22068 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22070 (__libc_msgrcv): Do not use __ptrvalue.
22071 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22072 startup_info): Do not use __unbounded.
22073 (__libc_start_main): Likewise. Rename ubp_* variables and
22074 parameters. Remove argv definitions conditional on
22075 [__BOUNDED_POINTERS__].
22076 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22078 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22080 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22082 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22084 (__new_shmctl): Do not use __ptrvalue.
22085 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22086 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22088 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22089 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22090 (__libc_sigaction): Likewise.
22091 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22094 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22096 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22098 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22100 * string/mempcpy.c: Implement by calling memcpy.
22102 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22109 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22110 values in the mantissa.
22112 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22113 minimize writes to Z.
22114 (sub_magnitudes): Simplify code a bit.
22116 2013-02-12 Roland McGrath <roland@hack.frob.com>
22118 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22119 from the message. The linker prefixes all warnings with that already.
22121 2013-02-12 Andreas Schwab <schwab@suse.de>
22124 * posix/regexec.c (extend_buffers): Add parameter min_len.
22125 (check_matching): Pass minimum needed length.
22126 (clean_state_log_if_needed): Likewise.
22127 (get_subexp): Likewise.
22128 * posix/Makefile (tests): Add bug-regex34.
22129 (bug-regex34-ENV): Define.
22130 * posix/bug-regex34.c: New file.
22133 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22134 elements compare against the byte sequence of it, not its name.
22135 * posix/Makefile (tests): Add bug-regex35.
22136 (bug-regex35-ENV): Define.
22137 * posix/bug-regex35.c: New file.
22139 2013-02-11 Tom de Vries <tom@codesourcery.com>
22141 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22143 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22144 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22145 (CHECK_EOL): Add undef.
22147 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22149 * bits/stdlib-bsearch.h: New file.
22150 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22151 * stdlib/stdlib.h: Likewise.
22153 2013-02-11 Roland McGrath <roland@hack.frob.com>
22155 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22156 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22158 * manual/search.texi (Array Search Function): Add missing const in
22160 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22161 declaration to use rlim_t.
22162 (Basic Scheduling Functions): Remove erroneous const from
22163 sched_getparam prototype. Remove erroneous * from
22164 sched_get_priority_max and sched_get_priority_min prototypes.
22165 (Resource Usage): Fix summary @comment on vtimes to refer to
22166 sys/vtimes.h rather than vtimes.h.
22167 Add missing *s in vtimes prototype.
22168 (Limits on Resources): Fix ulimit prototype to return long int.
22169 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22170 prototypes to use long int rather than double.
22171 (BSD Random): Fix initstate and setstate to use char *, not void *.
22172 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22173 prototype to make second argument 'struct aiocb64 *const[]'.
22174 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22175 (Status of AIO Operations): Remove erroneous const in aio_return and
22176 aio_return64 prototypes.
22177 (Synchronizing I/O): Fix sync prototype to return void.
22178 * manual/startup.texi (Suboptions): Remove an erroneous const in
22179 getsubopt prototype.
22180 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22181 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22182 use size_t rather than int.
22183 (Scanning All Users): Likewise for getpwent_r.
22184 (Setting Groups): Add missing const to setgroups prototype.
22185 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22186 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22187 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22188 'const void *' rather than 'const char *'.
22189 (Host Address Functions): Likewise for inet_ntop.
22190 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22191 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22192 ssize_t for return value.
22193 (Sending Data): Likewise for send, sendto, sendmsg.
22194 (Socket Option Functions): Add a missing const in setsockopt prototype.
22195 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22196 use wchar_t for the argument.
22197 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22198 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22200 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22201 double/float/long double for second argument.
22202 Fix return types of significand, significandf, significandl.
22203 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22204 argument in fchmod prototype.
22205 (File Owner): Use uid_t and gid_t in fchown prototype.
22206 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22207 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22208 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22209 use 'const struct dirent **' as argument types to CMP function pointer
22211 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22212 (File Times): Fix summary magic @comment for struct utimbuf and utime
22213 to refer to utime.h, not time.h.
22214 * manual/string.texi (Argz Functions): Add missing const in
22215 argz_extract and argz_next prototypes.
22216 (Finding Tokens in a String): Likewise for basename.
22217 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22218 (Copying and Concatenation): Fix typo in wmemmove prototype.
22219 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22220 (Signal Stack): Remove erroneous const in sigstack prototype.
22221 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22223 (Simple Calendar Time): Likewise for stime.
22224 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22226 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22227 say sys/sysctl.h instead.
22228 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22229 and vsyslog prototypes.
22231 2013-02-11 Tom de Vries <tom@codesourcery.com>
22233 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22236 2013-02-11 Roland McGrath <roland@hack.frob.com>
22238 * misc/sys/mman.h: Fix typo in mremap comment.
22240 2013-02-08 Roland McGrath <roland@hack.frob.com>
22242 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22243 the '\0' terminator.
22245 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22248 * debug/segfault.c: Don't include <bp-checks.h>.
22249 * sysdeps/generic/bp-checks.h: Remove file.
22250 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22251 (__GETDENTS): Don't use CHECK_N.
22252 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22253 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22254 (__getgroups): Don't use CHECK_N.
22255 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22256 (setgroups): Don't use CHECK_N.
22257 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22258 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22259 (__libc_msgrcv): Don't use CHECK_N.
22260 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22261 (__libc_msgsnd): Don't use CHECK_N.
22262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22264 (__libc_pread): Don't use CHECK_N.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22266 include <bp-checks.h>.
22267 (__libc_pread64): Don't use CHECK_N.
22268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22269 include <bp-checks.h>.
22270 (__libc_pwrite): Don't use CHECK_N.
22271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22272 include <bp-checks.h>.
22273 (__libc_pwrite64): Don't use CHECK_N.
22274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22276 (__libc_pread): Don't use CHECK_N.
22277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22278 include <bp-checks.h>.
22279 (__libc_pread64): Don't use CHECK_N.
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22281 include <bp-checks.h>.
22282 (__libc_pwrite): Don't use CHECK_N.
22283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22284 include <bp-checks.h>.
22285 (__libc_pwrite64): Don't use CHECK_N.
22286 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22287 (do_pread): Don't use CHECK_N.
22288 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22289 (do_pread64): Don't use CHECK_N.
22290 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22291 (do_pwrite): Don't use CHECK_N.
22292 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22293 (do_pwrite64): Don't use CHECK_N.
22294 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22295 (__libc_readv): Don't use CHECK_N.
22296 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22297 (semop): Don't use CHECK_N.
22298 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22300 (semtimedop): Don't use CHECK_N.
22301 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22302 (__libc_pread): Don't use CHECK_N.
22303 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22305 (__libc_pread64): Don't use CHECK_N.
22306 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22308 (__libc_pwrite): Don't use CHECK_N.
22309 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22311 (__libc_pwrite64): Don't use CHECK_N.
22312 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22314 (__libc_msgrcv): Don't use CHECK_N.
22315 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22316 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22317 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22318 (__libc_writev): Don't use CHECK_N.
22320 2013-02-08 Roland McGrath <roland@hack.frob.com>
22322 * string/strcpy.c: Removed unused variable.
22324 * Makeconfig (+sysdep-includes): Define with := rather than =.
22325 Use an existing include/ subdir of each sysdeps dir before it.
22327 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22329 * nscd/connection.c (register_traced_file): Comment function.
22330 [HAVE_INOTIFY] (union __inev): Define.
22331 [HAVE_INOTIFY] (inotify_check_files): New function.
22332 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22333 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22335 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22337 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22339 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22340 loaded if not already and that a failure is permanent.
22342 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22345 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22346 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22348 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22351 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22352 (CHECK_1_NULL_OK): Likewise.
22353 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22354 (__fxstat): Do not use CHECK_1.
22355 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22357 (___fxstat64): Do not use CHECK_1.
22358 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22360 (__fxstatat): Do not use CHECK_1.
22361 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22363 (__fxstatat64): Do not use CHECK_1.
22364 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22366 (__fxstat): Do not use CHECK_1.
22367 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22369 (__fxstatat): Do not use CHECK_1.
22370 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22372 (__getresgid): Do not use CHECK_1.
22373 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22375 (__getresuid): Do not use CHECK_1.
22376 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22378 (__lxstat): Do not use CHECK_1.
22379 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22381 (__old_msgctl): Do not use CHECK_1.
22382 (__new_msgctl): Likewise.
22383 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22385 (__new_setrlimit): Do not use CHECK_1.
22386 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22388 (__old_shmctl): Do not use CHECK_1.
22389 (__new_shmctl): Likewise.
22390 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22392 (__xstat): Do not use CHECK_1.
22393 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22394 (__lxstat): Do not use CHECK_1.
22395 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22397 (___lxstat64): Do not use CHECK_1.
22398 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22399 (__old_msgctl): Do not use CHECK_1.
22400 (__new_msgctl): Likewise.
22401 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22403 (__gettimeofday): Do not use CHECK_1.
22404 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22405 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22406 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22408 (__gettimeofday): Do not use CHECK_1.
22409 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22410 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22411 (__new_shmctl): Do not use CHECK_1.
22412 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22414 (do_sigtimedwait): Do not use CHECK_1.
22415 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22417 (do_sigwaitinfo): Do not use CHECK_1.
22418 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22420 (msgctl): Do not use CHECK_1.
22421 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22423 (shmctl): Do not use CHECK_1.
22424 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22425 (ustat): Do not use CHECK_1.
22426 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22428 (__fxstat): Do not use CHECK_1.
22429 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22431 (__fxstatat): Do not use CHECK_1.
22432 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22434 (__lxstat): Do not use CHECK_1.
22435 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22437 (__xstat): Do not use CHECK_1.
22438 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22439 (__xstat): Do not use CHECK_1.
22440 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22441 (___xstat64): Do not use CHECK_1.
22444 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22446 (CHECK_BOUNDS_HIGH): Likewise.
22447 * string/strcpy.c: Do not include <bp-checks.h>.
22448 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22450 2013-02-07 Roland McGrath <roland@hack.frob.com>
22452 * nscd/nscd-client.h (__nscd_drop_map_ref):
22453 Add __attribute__ ((unused)).
22454 * nis/nss-nisplus.h (niserr2nss): Likewise.
22456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22457 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22459 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22460 Remove inline keyword.
22461 * include/rounding-mode.h (round_away): Likewise.
22462 * libio/wfileops.c (adjust_wide_data): Likewise.
22463 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22464 (__m128i_strloadu_tolower): Likewise.
22465 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22466 (__m128i_strloadu_tolower): Likewise.
22467 * time/mktime.c (ydhms_diff): Likewise.
22468 * locale/elem-hash.h (elem_hash): Likewise.
22469 * locale/setlocale.c (setdata): Likewise.
22470 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22471 (re_string_wchar_at): Likewise.
22472 (bitset_not, bitset_merge, bitset_mask): Likewise.
22473 [!(__GNUC__ > 3)] (inline): Remove macro.
22474 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22475 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22476 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22477 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22478 * string/memcmp.c (memcmp_bytes): Likewise.
22479 * locale/programs/locarchive.c (compute_hashval): Likewise.
22480 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22481 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22482 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22483 * nss/getent.c (print_rpc, print_protocols): Likewise.
22484 (print_passwd, print_group, print_aliases): Likewise.
22485 * nis/nss-nisplus.h (niserr2nss): Likewise.
22486 * nscd/connections.c (restart_p): Likewise.
22487 Change return type to bool.
22489 2013-02-05 Roland McGrath <roland@hack.frob.com>
22491 * Makeconfig (all-Depend-files): Add existing
22492 $(sorted-subdirs:=/Depend) files.
22493 (all-subdirs): Remove nss.
22494 * sysdeps/unix/inet/Subdirs: Add it here instead.
22495 * hesiod/Depend: New file.
22497 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22498 instead of calling alloca.
22500 * io/lseek.c (__lseek): Rename to __libc_lseek.
22501 Define __lseek as an alias.
22503 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22505 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22507 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22508 else clause and remove check for non-standard endianness.
22510 2013-02-04 David S. Miller <davem@davemloft.net>
22512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22514 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22517 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22518 (__ubp_memchr): Remove prototype.
22519 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22520 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22521 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22522 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22523 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22525 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22526 (__ubp_memchr): Likewise.
22527 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22528 (__ubp_memchr): Likewise.
22529 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22530 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22531 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22532 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22534 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22535 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22536 (__getcwd): Do not use CHECK_STRING.
22537 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22539 (__real_chown): Do not use CHECK_STRING.
22540 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22542 (fchownat): Do not use CHECK_STRING.
22543 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22545 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22547 (__lchown): Do not use CHECK_STRING.
22548 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22549 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22550 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22551 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22553 include <bp-checks.h>.
22554 (truncate64): Do not use CHECK_STRING.
22555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22557 (__real_chown): Do not use CHECK_STRING.
22558 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22560 (__lchown): Do not use CHECK_STRING.
22561 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22563 (__chown): Do not use CHECK_STRING.
22564 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22566 (truncate64): Do not use CHECK_STRING.
22567 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22569 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22570 (__xmknod): Do not use CHECK_STRING.
22571 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22573 (__xmknodat): Do not use CHECK_STRING.
22574 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22575 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22577 2013-02-04 Andreas Schwab <schwab@suse.de>
22580 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22581 * include/netdb.h: Likewise for h_errno.
22582 * elf/tst-stackguard1.c: Include <tls.h>.
22584 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22586 * elf/link.h (struct link_map): Extend the l_addr comment.
22587 * include/link.h (struct link_map): Likewise.
22589 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22592 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22593 (BOUNDED_1): Remove macro.
22594 * debug/backtrace.c: Don't include <bp-checks.h>.
22595 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22596 (__backtrace): Likewise.
22597 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22599 (__backtrace): Don't use BOUNDED_1.
22600 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22602 (__backtrace): Don't use BOUNDED_1.
22603 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22604 (__backtrace): Don't use BOUNDED_1.
22605 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22606 (shmat): Don't use BOUNDED_N.
22608 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22611 * sysdeps/generic/bp-start.h: Remove file.
22612 * csu/libc-start.c: Don't include <bp-start.h>.
22613 (LIBC_START_MAIN): Set up __environ directly instead of using
22614 INIT_ARGV_and_ENVIRON.
22615 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22619 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22621 (CHECK_FCNTL): Likewise.
22622 (CHECK_N_PAGES): Likewise.
22625 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22627 (CHECK_SIGSET_NULL_OK): Likewise.
22628 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22630 (sigpending): Don't use CHECK_SIGSET.
22631 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22633 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22634 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22636 (do_sigsuspend): Don't use CHECK_SIGSET.
22637 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22639 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22640 (do_sigwait): Don't use CHECK_SIGSET.
22641 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22643 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22644 include <bp-checks.h>.
22645 (sigpending): Don't use CHECK_SIGSET.
22646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22647 include <bp-checks.h>.
22648 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22649 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22651 (sigpending): Don't use CHECK_SIGSET.
22652 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22654 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22657 * sysdeps/generic/bp-semctl.h: Remove file.
22658 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22659 <bp-checks.h> and <bp-semctl.h>.
22660 (__old_semctl): Don't use CHECK_SEMCTL.
22661 (__new_semctl): Likewise.
22662 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22664 (__old_semctl): Don't use CHECK_SEMCTL.
22665 (__new_semctl): Likewise.
22666 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22667 <bp-checks.h> and <bp-semctl.h>.
22668 (__old_semctl): Don't use CHECK_SEMCTL.
22669 (__new_semctl): Likewise.
22670 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22671 <bp-checks.h> and <bp-semctl.h>.
22672 (semctl): Don't use CHECK_SEMCTL.
22675 * Makerules (elide-bp-thunks): Remove variable.
22676 (elide-routines.oS): Don't use $(elide-bp-thunks).
22677 (elide-routines.os): Likewise.
22678 (elide-routines.o): Likewise.
22679 (elide-routines.op): Likewise.
22680 (elide-routines.og): Likewise.
22681 (objects): Don't use $(bp-thunks).
22682 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22684 (common-generated): Do not add s-proto-bp.d.
22685 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22688 Do not generate makefile rules for bounded-pointer thunks.
22689 * sysdeps/generic/bp-thunks.h: Remove file.
22690 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22691 * sysdeps/unix/s-proto-bp.S: Likewise.
22694 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22695 parts of result separately when argument is not close to line from
22696 -i to i and one part of argument is small.
22697 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22698 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22699 * math/libm-test.inc (cacos_test): Add more tests.
22700 (casin_test): Likewise.
22701 (casinh_test): Likewise.
22702 * sysdeps/i386/fpu/libm-test-ulps: Update.
22703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22705 2013-01-31 David S. Miller <davem@davemloft.net>
22707 * po/de.po: Update from translation team.
22709 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22711 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22713 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22715 * configure.in (_AC_PROG_CC_C89): New definition.
22716 * configure: Regenerate.
22718 * configure.in (AC_PROG_CPP): New definition.
22719 * configure: Regenerate.
22721 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22723 * debug/tst-backtrace.h: New file.
22724 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22725 (ret): Remove variable.
22727 (FAIL): Remove macro.
22728 (NO_INLINE): Likewise.
22729 (fn1): Use match function instead of strstr.
22730 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22731 (ret): Remove variable.
22733 (FAIL): Remove macro.
22734 (NO_INLINE): Likewise.
22735 (fn): Use match function instead of strstr.
22736 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22737 (ret): Remove variable.
22739 (FAIL): Remove macro.
22740 (NO_INLINE): Likewise.
22741 (handle_signal): Use match function instead of strstr.
22742 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22743 (ret): Remove variable.
22745 (FAIL): Remove macro.
22746 (NO_INLINE): Likewise.
22747 (handle_signal): Use match function instead of strstr.
22749 2013-01-23 Roland McGrath <roland@hack.frob.com>
22751 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22753 2013-01-23 David S. Miller <davem@davemloft.net>
22755 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22756 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22757 argument of CAS if possible.
22758 * sysdeps/sparc/sparc64/bits/atomic.h
22759 (__arch_compare_and_exchange_val_32_acq): Likewise.
22760 (__arch_compare_and_exchange_val_64_acq): Likewise.
22762 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22764 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22765 * sysdeps/posix/ulimit.c: ... this.
22766 Include <limits.h>.
22767 * sysdeps/unix/bsd/ulimit.c: Remove file.
22769 2013-01-23 Adam Conrad <adconrad@0c3.net>
22771 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22772 (LDFLAGS-tst-array5): Likewise.
22774 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22777 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22778 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22779 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22780 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22782 2013-01-21 David S. Miller <davem@davemloft.net>
22784 * sysdeps/sparc/backtrace.c: New file.
22785 * sysdeps/sparc/sparc32/backtrace.h: New file.
22786 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22787 * sysdeps/sparc/sparc64/backtrace.h: New file.
22788 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22789 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22792 2013-01-21 Andreas Schwab <schwab@suse.de>
22795 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22798 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22804 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22805 Mark Mitchell <mark@codesourcery.com>
22806 Tom de Vries <tom@codesourcery.com>
22807 Paul Pluzhnikov <ppluzhnikov@google.com>
22809 * debug/tst-backtrace2.c: New file.
22810 * debug/tst-backtrace3.c: Likewise.
22811 * debug/tst-backtrace4.c: Likewise.
22812 * debug/tst-backtrace5.c: Likewise.
22813 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22814 (CFLAGS-tst-backtrace3.c): Likewise.
22815 (CFLAGS-tst-backtrace4.c): Likewise.
22816 (CFLAGS-tst-backtrace5.c): Likewise.
22817 (LDFLAGS-tst-backtrace2): Likewise.
22818 (LDFLAGS-tst-backtrace3): Likewise.
22819 (LDFLAGS-tst-backtrace4): Likewise.
22820 (LDFLAGS-tst-backtrace5): Likewise.
22821 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22822 tst-backtrace4 and tst-backtrace5.
22824 2013-01-18 Anton Blanchard <anton@samba.org>
22825 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22827 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22828 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22829 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22830 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22832 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22833 "+r" and remove output regs list as redundant. Add explicit inline
22834 asm to specify register of return val to work around compiler codegen
22835 bug. Remove (int) cast on return value. Add return type parameter to
22836 use in macro so that this macro does not truncate return value for
22838 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22839 pass to INTERNAL_VSYSCALL_NCS.
22840 (INLINE_VSYSCALL): Add 'long int' as return type to
22841 INTERNAL_VSYSCALL_NCS macro invocation.
22842 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22843 INTERNAL_VSYSCALL_NCS macro invocation.
22844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22846 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22849 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22850 Fix application of SIMD FP exception mask.
22852 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22853 mp_no from a power of two.
22854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22855 __mpexp_twomm1. Use __pow_mp.
22857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22860 2013-01-17 David S. Miller <davem@davemloft.net>
22862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22864 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22867 * include/complex.h: Condition contents on [!_COMPLEX_H].
22868 (__kernel_casinhf): New prototype.
22869 (__kernel_casinh): Likewise.
22870 (__kernel_casinhl): Likewise.
22871 * math/Makefile (libm_calls): Add k_casinh.
22872 * math/k_casinh.c: New file.
22873 * math/k_casinhf.c: Likewise.
22874 * math/k_casinhl.c: Likewise.
22875 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22876 finite nonzero arguments.
22877 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22878 finite nonzero arguments.
22879 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22880 finite nonzero arguments.
22881 * math/s_casinh.c: Do not include <float.h>.
22882 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22883 * math/s_casinhf.c: Do not include <float.h>.
22884 (__casinhf): Move code for finite nonzero arguments to
22886 * math/s_casinhl.c: Do not include <float.h>.
22887 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22889 (__casinhl): Move code for finite nonzero arguments to
22891 * math/libm-test.inc (cacos_test): Add more tests.
22892 * sysdeps/i386/fpu/libm-test-ulps: Update.
22893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22895 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22897 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22898 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22899 [!HAVE_MREMAP]: Remove [defined linux] case.
22900 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22902 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22904 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22906 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22908 * elf/elf.h (R_386_SIZE32): New relocation.
22909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22911 (elf_machine_rela): Likewise.
22912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22913 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22915 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22917 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22918 (FP_FAST_FMA): Do not define.
22919 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22920 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22921 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22922 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22923 !_SOFT_FLOAT]: Likewise.
22924 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22925 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22927 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22928 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22929 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22930 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22931 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22932 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22935 2013-01-16 Andreas Schwab <schwab@suse.de>
22938 * include/stdlib.h (__mktemp): Add declaration.
22939 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22940 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22942 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22944 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22946 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22947 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22948 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22950 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22951 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22953 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22955 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22956 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22959 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22960 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22962 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22964 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22966 2013-01-15 David S. Miller <davem@davemloft.net>
22968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22969 trunc{,f} to libm-sysdep_routes.
22970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22980 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22981 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22982 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22983 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22984 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22985 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22988 nearbyint{,f} to libm-sysdep_routes.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23002 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23006 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23007 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23009 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23010 libc_feholdexcept and libc_fesetenv.
23012 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23014 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23016 2013-01-14 David S. Miller <davem@davemloft.net>
23018 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23019 (SPARC_ASM_VIS2_IFUNC): Likewise.
23020 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23022 use of 'siam' instruction.
23023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23056 routines to libm-sysdep_routines.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23060 fdim/fdimf to libm-sysdep_routines.
23061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23069 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23070 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23071 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23072 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23074 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23076 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23077 to optimize copies.
23079 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23084 local variable MPTWO.
23085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23088 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23090 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23093 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23095 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23097 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23099 * manual/pattern.texi (glob_t): Document gl_flags.
23100 (glob64_t): Likewise.
23102 2013-01-11 David S. Miller <davem@davemloft.net>
23104 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23105 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23106 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23107 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23108 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23109 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23110 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23111 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23112 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23113 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23114 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23115 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23116 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23118 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23119 sparc V9 rather than using V8 code.
23120 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23121 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23125 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23128 2013-01-11 Roland McGrath <roland@hack.frob.com>
23130 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23131 not in the main loop.
23132 * configure: Regenerated.
23134 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23136 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23137 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23139 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23140 [!__GLIBC_HAVE_LONG_LONG] case.
23141 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23142 condition to just #else.
23143 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23144 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23145 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23146 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23148 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23149 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23150 #elif condition to just #else.
23151 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23152 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23153 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23154 #elif condition to just #else.
23156 2013-01-11 Steve Ellcey <sellcey@mips.com>
23158 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23159 (EF_MIPS_ARCH_64): Fix value.
23160 (EF_MIPS_ARCH_32R2): New.
23161 (EF_MIPS_ARCH_64R2): New.
23163 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23165 * Makeconfig (+link-pie-before-libc): New.
23166 (+link-pie-after-libc): Likewise.
23167 (+link-pie-tests): Likewise.
23168 (+link-pie): Rewritten.
23169 (link-before-libc): Remove $(config-LDFLAGS).
23170 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23171 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23172 (config-LDFLAGS): Renamed to ...
23173 (rtld-LDFLAGS): This.
23174 (rtld-tests-LDFLAGS): New macro.
23175 (link-libc-rpath-link): Likewise.
23176 (link-libc-tests-rpath-link): Likewise.
23177 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23178 (link-libc): Prepand $(link-libc-rpath-link).
23179 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23180 (test-program-prefix): New macro.
23181 (test-via-rtld-prefix): Likewise.
23182 (test-program-cmd): Likewise.
23183 (host-test-program-cmd): Likewise.
23184 * Makefile ($(common-objpfx)testrun.sh): Replace
23185 $(run-program-prefix) with $(test-program-prefix).
23186 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23188 ($(common-objpfx)shlib.lds): Likewise.
23189 (build-module-helper): Likewise.
23190 ($(common-objpfx)format.lds): Likewise.
23191 * Rules (binaries-pie-tests): New.
23192 (binaries-pie-notests): Likewise.
23193 (binaries-pie): Rewritten.
23194 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23195 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23196 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23197 (make-test-out): Replace $(host-built-program-cmd) with
23198 $(host-test-program-cmd).
23199 * config.make.in (build-hardcoded-path-in-tests): New variable.
23200 * configure.in (--enable-hardcoded-path-in-tests): New configure
23202 (hardcoded_path_in_tests): New AC_SUBST.
23203 * configure: Regenerated.
23204 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23205 $(built-program-cmd) with $(test-program-cmd).
23206 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23207 (test_program_cmd): This.
23208 * elf/Makefile ($(objpfx)order.out): Run test with
23209 $(test-program-prefix).
23210 ($(objpfx)order2.out): Likewise.
23211 ($(objpfx)tst-initorder.out): Likewise.
23212 ($(objpfx)tst-initorder2.out): Likewise.
23213 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23214 $(test-program-cmd).
23215 ($(objpfx)tst-array1-static.out): Likewise.
23216 ($(objpfx)tst-array2.out): Likewise.
23217 ($(objpfx)tst-array3.out): Likewise.
23218 ($(objpfx)tst-array4.out): Likewise.
23219 ($(objpfx)tst-array5.out): Likewise.
23220 ($(objpfx)tst-array5-static.out): Likewise.
23221 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23222 $(test-program-cmd).
23223 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23224 $(run-program-prefix) with $(test-program-prefix).
23225 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23226 (test_program_prefix): This.
23227 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23228 $(run-program-prefix) with $(test-program-prefix).
23229 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23230 (test_program_prefix): This.
23231 * iconvdata/tst-tables.sh: Likewise.
23232 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23233 $(run-program-prefix) with $(test-program-prefix).
23234 ($(objpfx)tst-translit.out): Likewise.
23235 ($(objpfx)tst-gettext2.out): Likewise.
23236 ($(objpfx)tst-gettext4.out): Likewise.
23237 ($(objpfx)tst-gettext6.out): Likewise.
23238 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23239 (test_program_prefix): This.
23240 * intl/tst-gettext2.sh: Likewise.
23241 * intl/tst-gettext4.sh Likewise.
23242 * intl/tst-gettext6.sh: Likewise.
23243 * intl/tst-translit.sh: Likewise.
23244 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23245 with $(test-program-cmd).
23246 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23247 $(run-program-prefix) with $(test-program-prefix).
23248 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23249 (test_program_prefix): This.
23250 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23251 $(run-program-prefix) with $(test-program-prefix).
23252 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23253 (test_program_prefix): This.
23254 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23255 * posix/Makefile ($(objpfx)globtest.out): Replace
23256 $(run-via-rtld-prefix) and $(test-wrapper) with
23257 $(test-program-prefix) and $(test-via-rtld-prefix).
23258 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23259 $(test-program-prefix).
23260 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23261 $(host-test-program-cmd).
23262 (tst-spawn-ARGS): Likewise.
23263 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23264 $(test-program-prefix).
23265 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23266 (test_via_rtld_prefix): This.
23267 (test_wrapper): Renamed to ...
23268 (test_program_prefix): This.
23269 (run_program_prefix): Replaced by test_program_prefix.
23270 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23271 (test_program_prefix): This.
23272 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23273 with $(host-test-program-cmd).
23274 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23275 $(run-program-prefix) with $(test-program-prefix).
23276 ($(objpfx)tst-printf.out): Likewise.
23277 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23278 $(test-program-cmd).
23279 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23280 (test_program_prefix): This.
23281 * stdio-common/tst-unbputc.sh: Likewise.
23282 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23283 $(run-program-prefix) with $(test-program-prefix).
23284 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23285 (test_program_prefix): This.
23286 * string/Makefile ($(objpfx)tst-svc.out): Replace
23287 $(built-program-cmd) with $(test-program-cmd).
23289 2013-01-11 Andreas Jaeger <aj@suse.de>
23292 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23293 value. Sync with Linux 3.7.
23295 2013-01-10 David S. Miller <davem@davemloft.net>
23297 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23298 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23299 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23301 2013-01-10 Roland McGrath <roland@hack.frob.com>
23303 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23305 * configure: Regenerated.
23307 2013-01-10 David S. Miller <davem@davemloft.net>
23309 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23310 sparc V9 rather than using V8 code.
23311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23314 2013-01-10 Roland McGrath <roland@hack.frob.com>
23316 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23317 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23318 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23319 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23320 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23321 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23322 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23323 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23324 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23325 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23326 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23327 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23328 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23329 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23330 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23331 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23332 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23333 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23334 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23335 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23336 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23337 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23338 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23339 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23340 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23341 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23342 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23344 2013-01-10 David S. Miller <davem@davemloft.net>
23346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23348 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23350 * posix/Makefile (tests-static): New variable.
23351 (tests): Add $(tests-static).
23352 (tst-exec-static-ARGS): New variable.
23353 (tst-spawn-static-ARGS): Likewise.
23354 * posix/tst-exec-static.c: New file.
23355 * posix/tst-spawn-static.c: Likewise.
23356 * posix/tst-exec.c: Support run directly.
23357 * posix/tst-spawn.c: Likewise.
23359 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23361 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23363 * math/bits/mathcalls.h (llrint): Likewise.
23364 (llround): Likewise.
23365 * stdlib/stdlib.h (struct drand48_data): Likewise.
23366 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23367 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23368 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23370 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23372 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23373 (elf_greg_t): Likewise.
23374 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23375 (__jmp_buf): Likewise.
23376 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23378 (llrint): Likewise, for all definitions.
23379 (llrintl): Likewise.
23381 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23382 Remove [__GNUC__] condition.
23383 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23384 condition to just [__USE_ISOC99].
23385 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23387 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23390 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23391 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23393 (_POSIX_V6_ILP32_OFF32): Likewise.
23394 (_XBS5_ILP32_OFF32): Likewise.
23395 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23396 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23398 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23400 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23403 doubles __mpexp_twomm1. Adjust usage.
23404 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23407 2013-01-10 Andreas Schwab <schwab@suse.de>
23410 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23411 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23413 2013-01-09 David S. Miller <davem@davemloft.net>
23416 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23417 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23418 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23419 (TCP_FASTOPEN): Define.
23420 (tcp_repair_opt): New structure.
23421 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23423 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23424 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23425 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23426 (tcp_cookie_transactions): New structure.
23428 2013-01-09 Anton Blanchard <anton@samba.org>
23430 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23431 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23433 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23435 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23437 * include/features.h (__USE_ANSI): Remove.
23439 2013-01-09 Roland McGrath <roland@hack.frob.com>
23441 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23443 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23445 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23447 * sysdeps/s390/fpu/libm-test-ulps: Update.
23449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23451 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23455 (denorm): Likewise.
23456 (__mp_dbl): Likewise.
23457 (__dbl_mp): Likewise.
23458 (add_magnitudes): Likewise.
23459 (sub_magnitudes): Likewise.
23465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23469 (denorm): Likewise.
23470 (__mp_dbl): Likewise.
23471 (__dbl_mp): Likewise.
23472 (add_magnitudes): Likewise.
23473 (sub_magnitudes): Likewise.
23479 * sysdeps/powerpc/powerpc64/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.
23494 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23496 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23497 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23498 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23499 2 && __USE_EXTERN_INLINES]: Likewise.
23501 2013-01-08 Andreas Jaeger <aj@suse.de>
23504 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23506 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23507 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23509 2013-01-07 Anton Blanchard <anton@samba.org>
23511 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23512 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23513 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23514 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23515 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23516 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23517 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23518 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23520 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23521 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23523 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23526 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23527 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23529 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23530 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23531 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23532 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23533 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23534 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23535 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23536 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23537 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23538 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23540 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23541 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23544 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23545 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23546 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23550 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23551 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23553 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23555 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23557 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23558 (__MALLOC_PMT): Likewise.
23559 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23560 [__GNUC__], only on [_LIBC].
23561 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23562 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23563 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23564 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23565 forward declaration.
23566 (realloc_hook_ini): Likewise.
23567 (memalign_hook_ini): Likewise.
23568 (__libc_memalign): Do not use __MALLOC_PMT in variable
23570 (__libc_valloc): Likewise.
23571 (__libc_pvalloc): Likewise.
23572 (__libc_calloc): Likewise.
23573 (__posix_memalign): Likewise.
23576 * math/s_casinh.c: Include <float.h>.
23577 (__casinh): Do not do computation with squaring and square root
23578 for large arguments.
23579 * math/s_casinhf.c: Include <float.h>.
23580 (__casinhf): Do not do computation with squaring and square root
23581 for large arguments.
23582 * math/s_casinhl.c: Include <float.h>.
23583 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23584 (__casinhl): Do not do computation with squaring and square root
23585 for large arguments.
23586 * math/libm-test.inc (casin_test): Add more tests.
23587 (casinh_test): Likewise.
23588 * sysdeps/i386/fpu/libm-test-ulps: Update.
23589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23591 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23593 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23594 (__x86_64_raw_data_cache_size): Likewise.
23595 (__x86_64_data_cache_size_half): Likewise.
23596 (__x86_64_raw_data_cache_size_half): Likewise.
23597 (__x86_64_shared_cache_size): Likewise.
23598 (__x86_64_raw_shared_cache_size): Likewise.
23599 (__x86_64_shared_cache_size_half): Likewise.
23600 (__x86_64_raw_shared_cache_size_half): Likewise.
23601 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23603 (__x86_data_cache_size): This.
23604 (__x86_64_raw_data_cache_size): Renamed to ...
23605 (__x86_raw_data_cache_size): This.
23606 (__x86_64_data_cache_size_half): Renamed to ...
23607 (__x86_data_cache_size_half): This.
23608 (__x86_64_raw_data_cache_size_half): Renamed to ...
23609 (__x86_raw_data_cache_size_half): This.
23610 (__x86_64_shared_cache_size): Renamed to ...
23611 (__x86_shared_cache_size): This.
23612 (__x86_64_raw_shared_cache_size): Renamed to ...
23613 (__x86_raw_shared_cache_size): This.
23614 (__x86_64_shared_cache_size_half): Renamed to ...
23615 (__x86_shared_cache_size_half): This.
23616 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23617 (__x86_raw_shared_cache_size_half): This.
23618 * sysdeps/x86_64/memcpy.S: Updated.
23619 * sysdeps/x86_64/memset.S: Likewise.
23620 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23624 2013-01-04 David S. Miller <davem@davemloft.net>
23626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23628 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23630 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23631 1 to avoid redefinition warning.
23632 (__USE_GNU): Don't define.
23633 (init_signaling_nan): Protoize.
23635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23637 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23639 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23641 (__cpymn): Likewise.
23642 (norm): Remove commented code.
23643 (denorm): Likewise.
23644 (__mp_dbl): Likewise.
23646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23647 (__cpymn): Likewise.
23648 (norm): Remove commented code.
23649 (denorm): Likewise.
23650 (__mp_dbl): Likewise.
23653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23654 mp_no value for 1.0 and 2.0.
23655 (norm): Use RADIXI instead of radixi.d.
23656 (denorm): Likewise.
23657 (__mul): Use 0.0 instead of zero.d.
23658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23659 mp_no value for 1.0 and 2.0.
23660 (norm): Use RADIXI instead of radixi.d.
23661 (denorm): Likewise.
23662 (__mul): Use 0.0 instead of zero.d.
23664 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23667 * math/s_casinh.c (__casinh): Reduce finite argument to first
23668 quadrant then set signs of results at the end.
23669 * math/s_casinhf.c (__casinhf): Likewise.
23670 * math/s_casinhl.c (__casinhl): Likewise.
23671 * math/libm-test.inc (casin_test): Add more tests.
23672 (casinh_test): Likewise.
23673 * sysdeps/i386/fpu/libm-test-ulps: Update.
23674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23676 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23678 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23680 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23682 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23684 (denorm): Likewise.
23685 (__mp_dbl): Likewise.
23688 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23689 and adjust the header comment.
23691 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23692 variable name from declaration.
23694 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23697 Initialize COMMON_CPUID_INDEX_7 element.
23698 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23699 (CPUID_RTM): Likewise.
23700 (HAS_RTM): Likewise.
23701 (COMMON_CPUID_INDEX_7): New enum.
23703 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23706 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23707 size is zero, record memory as freed.
23709 2013-01-03 Andreas Jaeger <aj@suse.de>
23711 * po/ia.po: Add new Interlingua translation.
23713 2012-01-03 Allan McRae <allan@archlinux.org>
23715 * locale/programs/localedef.c: Fix description of '--posix' flag.
23717 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23719 * NEWS: Update dates in second copyright notice.
23720 * README: Update copyright dates in example.
23721 * manual/libc.texinfo: Update copyright dates.
23722 * scripts/test-installation.pl: Update copyright date in --version
23725 * hurd/ctty-input.c: Fix copyright notice formatting.
23726 * hurd/ctty-output.c: Likewise.
23727 * hurd/dtable.c: Likewise.
23728 * hurd/hurd-raise.c: Likewise.
23729 * hurd/hurdprio.c: Likewise.
23730 * hurd/msgportdemux.c: Likewise.
23731 * misc/sys/file.h: Likewise.
23732 * misc/sys/ioctl.h: Likewise.
23733 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23734 * sysdeps/mach/hurd/chdir.c: Likewise.
23735 * sysdeps/mach/hurd/fchdir.c: Likewise.
23736 * sysdeps/mach/hurd/rename.c: Likewise.
23737 * sysdeps/mach/hurd/rmdir.c: Likewise.
23738 * sysdeps/mach/hurd/seekdir.c: Likewise.
23739 * sysdeps/mach/hurd/setsid.c: Likewise.
23740 * sysdeps/posix/wait3.c: Likewise.
23742 * All files with FSF copyright notices: Update copyright dates
23743 using scripts/update-copyrights.
23744 * intl/plural.c: Regenerated.
23745 * locale/programs/charmap-kw.h: Likewise.
23746 * locale/programs/locfile-kw.h: Likewise.
23748 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23750 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23753 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23754 calculation loop and add branch prediction.
23756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23757 check access beyond bounds of m1np.
23759 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23761 (__inv): Remove local variable MPTWO to use the global
23763 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23766 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23767 MP3HALFS static const.
23769 2013-01-01 David S. Miller <davem@davemloft.net>
23771 * po/ca.po: Update from translation team.
23773 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23775 * scripts/update-copyrights: New file.
23776 * Makeconfig: Reformat copyright notice.
23777 * ctype/ctype.h: Likewise.
23778 * debug/swprintf_chk.c: Likewise.
23779 * elf/dl-cache.c: Likewise.
23780 * elf/dl-debug.c: Likewise.
23781 * elf/dl-object.c: Likewise.
23782 * grp/initgroups.c: Likewise.
23783 * hurd/Makefile: Likewise.
23784 * hurd/hurd/signal.h: Likewise.
23785 * hurd/hurdfault.c: Likewise.
23786 * hurd/hurdioctl.c: Likewise.
23787 * hurd/hurdlookup.c: Likewise.
23788 * hurd/intr-msg.c: Likewise.
23789 * iconv/gconv_open.c: Likewise.
23790 * libio/swprintf.c: Likewise.
23791 * locale/lc-ctype.c: Likewise.
23792 * locale/nl_langinfo.c: Likewise.
23793 * mach/Machrules: Likewise.
23794 * mach/Makefile: Likewise.
23795 * malloc/obstack.h: Likewise.
23796 * manual/Makefile: Likewise.
23797 * manual/tsort.awk: Likewise.
23798 * misc/bits/stab.def: Likewise.
23799 * nis/nis_print_group_entry.c: Likewise.
23800 * nis/nis_table.c: Likewise.
23801 * nis/nss_compat/compat-pwd.c: Likewise.
23802 * nis/nss_compat/compat-spwd.c: Likewise.
23803 * po/Makefile: Likewise.
23804 * posix/fnmatch.c: Likewise.
23805 * posix/regex.h: Likewise.
23806 * resolv/Makefile: Likewise.
23807 * resolv/nss_dns/dns-network.c: Likewise.
23808 * resolv/res_hconf.c: Likewise.
23809 * scripts/gen-sorted.awk: Likewise.
23810 * soft-fp/soft-fp.h: Likewise.
23811 * stdio-common/printf.h: Likewise.
23812 * stdlib/monetary.h: Likewise.
23813 * stdlib/random.c: Likewise.
23814 * stdlib/random_r.c: Likewise.
23815 * sysdeps/generic/Makefile: Likewise.
23816 * sysdeps/gnu/Makefile: Likewise.
23817 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23827 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23828 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23829 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23830 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23831 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23833 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23835 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23837 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23838 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23845 * sysdeps/mach/hurd/errnos.awk: Likewise.
23846 * sysdeps/mach/hurd/fork.c: Likewise.
23847 * sysdeps/mach/hurd/getcwd.c: Likewise.
23848 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23849 * sysdeps/mach/hurd/mmap.c: Likewise.
23850 * sysdeps/mach/hurd/utimes.c: Likewise.
23851 * sysdeps/mach/hurd/xmknod.c: Likewise.
23852 * sysdeps/posix/profil.c: Likewise.
23853 * sysdeps/posix/readdir_r.c: Likewise.
23854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23855 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23856 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23857 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23859 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23860 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23861 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23863 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23865 * sysdeps/pthread/lio_listio.c: Likewise.
23866 * sysdeps/sparc/dl-procinfo.h: Likewise.
23867 * sysdeps/unix/i386/sysdep.S: Likewise.
23868 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23869 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23870 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23871 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23873 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23874 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23875 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23876 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23877 * sysdeps/wordsize-32/divdi3.c: Likewise.
23878 * time/sys/time.h: Likewise.
23879 * wcsmbs/Makefile: Likewise.
23881 2013-01-01 David S. Miller <davem@davemloft.net>
23883 * po/fr.po: Update from translation team.
23885 * catgets/gencat.c: Update copyright year.
23886 * csu/version.c: Likewise.
23887 * debug/catchsegv.sh: Likewise.
23888 * debug/pcprofiledump.c: Likewise.
23889 * debug/xtrace.sh: Likewise.
23890 * elf/ldconfig.c: Likewise.
23891 * elf/ldd.bash.in: Likewise.
23892 * elf/pldd.c: Likewise.
23893 * elf/sotruss.ksh: Likewise.
23894 * elf/sprof.c: Likewise.
23895 * iconv/iconv_prog.c: Likewise.
23896 * iconv/iconvconfig.c: Likewise.
23897 * locale/programs/locale.c: Likewise.
23898 * locale/programs/localedef.c: Likewise.
23899 * login/programs/pt_chown.c: Likewise.
23900 * malloc/memusage.sh: Likewise.
23901 * malloc/memusagestat.c: Likewise.
23902 * malloc/mtrace.pl: Likewise.
23903 * nscd/nscd.c: Likewise.
23904 * nss/getent.c: Likewise.
23905 * nss/makedb.c: Likewise.
23906 * posix/getconf.c: Likewise.
23908 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23910 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23913 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23915 * math/bits/mathcalls.h (modf): Use __nonnull.
23917 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23919 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23920 (split): Use macro CN instead of the bare value.
23921 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23923 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23924 instead of the bare value.
23925 (power1): Likewise.
23927 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23931 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23933 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23935 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23937 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23938 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23940 2012-12-28 Andreas Jaeger <aj@suse.de>
23942 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23943 values are from Linux 3.7.
23945 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23946 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23948 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23950 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23953 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23955 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23956 variables with preprocessor constants.
23957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23958 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23959 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23961 2012-12-27 Bruno Haible <bruno@clisp.org>
23964 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23967 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23970 and use variable directly.
23971 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23973 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23975 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23978 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23980 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23981 include directive. Remove local variable MPONE.
23982 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23983 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23984 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23986 2012-12-25 David S. Miller <davem@davemloft.net>
23988 * version.h (RELEASE): Set to "development".
23989 (VERSION): Set to "2.17.90".
23990 * NEWS: Add 2.18 section.
23992 2012-12-21 David S. Miller <davem@davemloft.net>
23994 * po/hr.po: Update from translation team.
23996 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23998 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24000 2012-12-19 Steve Ellcey <sellcey@mips.com>
24002 * NEWS: Mention new memcpy for MIPS.
24004 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24006 * manual/contrib.texi (Contributors): Spelling correction.
24008 2012-12-15 David S. Miller <davem@davemloft.net>
24010 * po/ru.po: Update from translation team.
24012 2012-12-13 David S. Miller <davem@davemloft.net>
24014 * NEWS: Mention IFUNC testsuite enhancements.
24016 * po/pl.po: Update from translation team.
24017 * po/bg.po: Likewise.
24019 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24020 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24022 2012-12-11 David S. Miller <davem@davemloft.net>
24024 * po/sv.po: Update from translation team.
24026 * po/vi.po: Update from translation team.
24028 * po/cs.po: Update from translation team.
24030 * po/de.po: Update from translation team.
24031 * po/eo.po: Likewise.
24032 * po/nl.po: Likewise.
24034 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24037 * manual/argp.texi (Argp Helper Functions): Move node to follow
24038 Argp Parsing State.
24041 * manual/conf.texi (Limits on File System Capacity): Mention if
24042 terminating null is included in the max size.
24044 2012-12-10 Andreas Jaeger <aj@suse.de>
24046 * po/cs.po: Update from translation team.
24048 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24050 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24051 void pointer and cast to uintptr_t.
24052 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24054 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24055 * sysdeps/s390/s390-64/memset.S: Likewise.
24057 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24060 * menual/message.texi (Message Translation): Fix typos.
24061 (Helper programs for gettext): Likewise.
24063 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24066 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24069 2012-12-07 David S. Miller <davem@davemloft.net>
24071 * po/libc.pot: Update.
24073 2012-12-07 Richard Henderson <rth@redhat.com>
24076 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24077 normal/normal case to before the switch.
24078 (_FP_DIV): Likewise.
24080 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24081 Mike Frysinger <vapier@gentoo.org>
24083 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24084 check for __NR_fadvise64_64.
24086 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24088 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24089 0, not just to plain "0" as a statement.
24090 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24093 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24095 * NEWS: Use sourceware.org in Bugzilla URL.
24097 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24100 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24102 * stdio-common/tst-put-error.c (do_test): Add newline to the
24103 padded test to ensure flush.
24105 2012-12-05 Jeff Law <law@redhat.com>
24107 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24109 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24111 * README: Don't refer to ports add-on as distributed separately.
24112 Mention AArch64 in list of systems supported in the ports add-on.
24114 * LICENSES: Add more non-FSF copyright and license notices.
24116 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24119 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24121 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24122 10000 as width of padded output.
24124 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24126 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24128 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24129 variable LX with __attribute__ ((unused)).
24130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24132 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24134 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24135 with __attribute__ ((unused)).
24137 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24139 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24141 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24143 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24144 (CFLAGS-nldbl-acos.c): New variable.
24145 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24146 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24147 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24148 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24149 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24150 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24151 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24152 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24153 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24154 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24155 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24156 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24157 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24158 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24159 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24160 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24161 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24162 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24163 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24164 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24165 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24166 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24167 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24168 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24169 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24170 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24171 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24172 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24173 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24174 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24175 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24176 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24177 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24178 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24179 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24180 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24181 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24182 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24183 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24184 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24185 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24186 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24187 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24188 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24189 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24190 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24191 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24192 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24193 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24194 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24195 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24196 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24197 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24198 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24199 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24200 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24201 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24202 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24203 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24204 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24205 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24206 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24207 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24208 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24209 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24210 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24211 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24212 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24213 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24214 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24215 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24216 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24217 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24218 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24219 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24220 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24221 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24222 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24223 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24224 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24225 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24226 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24227 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24228 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24229 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24230 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24231 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24232 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24233 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24234 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24235 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24236 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24237 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24238 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24239 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24240 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24241 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24244 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24248 whole low double instead of just low 47 bits when splitting values
24251 2012-12-03 Allan McRae <allan@archlinux.org>
24253 * manual/stdio.texi (Predefined Printf Handlers): Remove
24254 @hsep and @vsep usage.
24256 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24258 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24259 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24261 2012-12-03 Jeff Law <law@redhat.com>
24263 * time/sys/time.h (settimeofday): Do not mark TV argument
24266 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24268 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24269 when currently writing and seek to current position when not.
24270 * libio/Makefile (tests): Remove bug-fclose1.
24271 * libio/bug-fclose1.c: Delete.
24273 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24275 * manual/arith.texi (feenableexcept): Fix typo.
24276 (fedisableexcept): Likewise.
24278 2012-11-30 Roland McGrath <roland@hack.frob.com>
24280 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24281 second, differently-typed declaration, rather than a cast.
24283 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24285 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24286 * include/rpc/svc.h: ... here.
24288 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24291 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24292 depending n and resplen2 to catch cases where answer
24295 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24298 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24300 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24304 2012-11-29 Roland McGrath <roland@hack.frob.com>
24306 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24308 2012-11-28 Jeff Law <law@redhat.com>
24311 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24312 dataset_temporary. Track alloca usage into alloca_used.
24313 If dataset is large allocate and release it via malloc/free.
24315 2012-06-04 Florian Weimer <fweimer@redhat.com>
24318 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24320 2012-11-28 David S. Miller <davem@davemloft.net>
24322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24324 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24327 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24328 of pi/2 rounded to nearest to 64 bits.
24329 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24330 nearest to 64 bits.
24331 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24334 2012-11-28 Jeff Law <law@redhat.com>
24335 Martin Osvald <mosvald@redhat.com>
24338 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24339 * sunrpc/svc.c: Include time.h.
24340 (__svc_accept_failed): New function.
24341 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24342 any reason other than EINTR, call __svc_accept_failed.
24343 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24344 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24346 2012-11-28 Andreas Schwab <schwab@suse.de>
24348 * scripts/abilist.awk: Also handle indirect functions in .opd
24351 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24354 * sysdeps/x86/fpu/powl_helper.c: New file.
24355 * sysdeps/x86/fpu/Makefile: Likewise.
24356 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24358 (__ieee754_powl): Use __powl_helper for finite arguments except
24359 integer exponents below 8.
24360 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24362 (__ieee754_powl): Use __powl_helper for finite arguments except
24363 integer exponents below 8.
24364 * math/libm-test.inc (pow_test): Add more tests and enable some
24365 previously disabled tests.
24366 * sysdeps/i386/fpu/libm-test-ulps: Update.
24367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24369 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24370 Carlos O'Donell <carlos_odonell@mentor.com>
24372 * nss/makedb.c (is_prime): Assert that input is odd and greater
24373 than 4. Note that fact in a comment too.
24374 (next_prime): Add 4 to input.
24376 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24379 * libio/Makefile (tests): Add test case tst-fwrite-error.
24380 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24381 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24382 * libio/tst-fwrite-error.c: New test case.
24384 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24386 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24387 before casting to void *.
24388 * include/libc-internal.h (__pointer_type): New macro.
24389 (__integer_if_pointer_type_sub): Likewise.
24390 (__integer_if_pointer_type): Likewise.
24391 (cast_to_integer): Likewise.
24392 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24393 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24394 before casting to atomic64_t.
24395 (atomic_exchange_acq): Likewise.
24396 (__arch_exchange_and_add_body): Likewise.
24397 (__arch_add_body): Likewise.
24398 (atomic_add_negative): Likewise.
24399 (atomic_add_zero): Likewise.
24401 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24403 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24404 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24405 (add_fdes): Likewise.
24406 (linear_search_fdes): Likewise.
24407 (binary_search_unencoded_fdes): Likewise.
24409 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24411 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24413 2012-11-24 Adam Conrad <adconrad@0c3.net>
24415 * configure.in: Autodetect C++ header directories.
24416 * configure: Regenerated.
24418 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24420 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24422 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24426 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24428 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24429 LDBL_MANT_DIG == 106]: Disable some tests.
24430 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24432 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24436 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24437 input for small inputs. Return +/- pi/2 for large inputs.
24438 * math/libm-test.inc (atan_test): Add more tests.
24440 * sysdeps/generic/unwind-dw2-fde-glibc.c
24441 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24442 __attribute__ ((unused)).
24445 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24446 x * y if x and y are nonzero and z is zero.
24449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24450 nonzero exponents with absolute value below 0x1p-117 to +/-
24454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24455 up arguments below 2**-450, not just those below 2**-500.
24456 * math/libm-test.inc (hypot_test): Add another test.
24459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24460 Return a+b for ratio over 2**120, not 2**60.
24461 * math/libm-test.inc (hypot_test): Add another test.
24463 * math/libm-test.inc (clog_test): Use
24464 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24465 (clog10_test): Likewise.
24468 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24470 2012-11-22 Andreas Schwab <schwab@suse.de>
24472 * sysdeps/i386/fpu/libm-test-ulps: Update.
24474 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24476 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24477 printf output with newline.
24479 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24482 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24483 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24484 -z nodlopen, -z initfirst and -z execstack support.
24485 * configure: Regenerated.
24487 * elf/elf.h (DF_1_NODIRECT): New macro.
24488 (DF_1_IGNMULDEF): Likewise.
24489 (DF_1_NOKSYMS): Likewise.
24490 (DF_1_NOHDR): Likewise.
24491 (DF_1_EDITED): Likewise.
24492 (DF_1_NORELOC): Likewise.
24493 (DF_1_SYMINTPOSE): Likewise.
24494 (DF_1_GLOBAUDIT): Likewise.
24495 (DF_1_SINGLETON): Likewise.
24496 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24497 DT_1_SUPPORTED_MASK bits.
24498 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24500 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24502 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24504 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24506 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24509 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24510 (sendmmsg): Move declarations...
24511 * socket/sys/socket.h: ... here.
24512 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24513 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24515 * socket/recvmmsg.c: ... this new file.
24516 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24517 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24518 definition of __sendmmsg hidden.
24519 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24520 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24521 Move ENOSYS stub into and include it from...
24522 * socket/sendmmsg.c: ... this new file.
24523 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24524 (sysdep_routines): Move recvmmsg and sendmmsg...
24525 * socket/Makefile (routines): ... here.
24526 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24527 (GLIBC_PRIVATE): Add __sendmmsg.
24528 * include/sys/socket.h (__sendmmsg): Add declarations.
24529 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24532 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24535 variable I1 with __attribute__ ((unused)).
24536 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24538 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24540 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24541 DUMMY variables with __attribute__ ((unused)).
24543 * bits/byteswap.h: Include <bits/types.h>.
24544 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24546 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24548 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24549 string_t. Do not manually set errno.
24550 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24551 length with __strnlen. Make sure to both set errno and return it on
24554 2012-11-19 David S. Miller <davem@davemloft.net>
24556 With help from Joseph Myers.
24557 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24558 very large arguments properly.
24559 * math/libm-test.inc (atan_test): New tests.
24560 (atan2_test): New tests.
24561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24564 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24567 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24570 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24571 [POSIX] (EADDRNOTAVAIL): Likewise.
24572 [POSIX] (EAFNOSUPPORT): Likewise.
24573 [POSIX] (EALREADY): Likewise.
24574 [POSIX] (ECONNABORTED): Likewise.
24575 [POSIX] (ECONNREFUSED): Likewise.
24576 [POSIX] (ECONNRESET): Likewise.
24577 [POSIX] (EDESTADDRREQ): Likewise.
24578 [POSIX] (EDQUOT): Likewise.
24579 [POSIX] (EHOSTUNREACH): Likewise.
24580 [POSIX] (EIDRM): Likewise.
24581 [POSIX] (EISCONN): Likewise.
24582 [POSIX] (ELOOP): Likewise.
24583 [POSIX] (EMULTIHOP): Likewise.
24584 [POSIX] (ENETDOWN): Likewise.
24585 [POSIX] (ENETUNREACH): Likewise.
24586 [POSIX] (ENOBUFS): Likewise.
24587 [POSIX] (ENODATA): Likewise.
24588 [POSIX] (ENOLINK): Likewise.
24589 [POSIX] (ENOMSG): Likewise.
24590 [POSIX] (ENOPROTOOPT): Likewise.
24591 [POSIX] (ENOSR): Likewise.
24592 [POSIX] (ENOSTR): Likewise.
24593 [POSIX] (ENOTCONN): Likewise.
24594 [POSIX] (ENOTSOCK): Likewise.
24595 [POSIX] (EOPNOTSUPP): Likewise.
24596 [POSIX] (EOVERFLOW): Likewise.
24597 [POSIX] (EPROTO): Likewise.
24598 [POSIX] (EPROTONOSUPPORT): Likewise.
24599 [POSIX] (EPROTOTYPE): Likewise.
24600 [POSIX] (ESTALE): Likewise.
24601 [POSIX] (ETIME): Likewise.
24602 [POSIX] (ETXTBSY): Likewise.
24603 [POSIX] (EWOULDBLOCK): Likewise.
24604 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24605 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24606 [POSIX] (SEEK_CUR): Likewise.
24607 [POSIX] (SEEK_END): Likewise.
24608 [POSIX || UNIX98] (mode_t): Do not require.
24609 [POSIX] (off_t): Likewise.
24610 [POSIX] (pid_t): Likewise.
24611 [POSIX] (sys/stat.h): Do not allow header.
24612 [POSIX] (unistd.h): Likewise.
24613 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24614 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24615 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24616 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24618 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24619 sigevent): Specify elements.
24620 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24622 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24623 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24625 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24626 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24627 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24628 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24629 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24630 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24631 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24632 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24633 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24634 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24635 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24636 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24637 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24638 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24640 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24642 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24644 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24646 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24647 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24648 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24649 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24650 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24651 Specify lower bound on value.
24652 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24653 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24654 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24655 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24656 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24657 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24658 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24659 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24661 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24663 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24664 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24665 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24666 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24667 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24668 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24669 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24670 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24671 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24672 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24673 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24674 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24675 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24676 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24677 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24678 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24680 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24682 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24684 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24685 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24686 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24687 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24689 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24690 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24691 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24692 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24693 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24694 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24695 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24697 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24698 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24699 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24700 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24701 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24702 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24703 specify as optional.
24704 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24705 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24706 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24707 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24708 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24709 [XPG3] (NL_LANGMAX): Likewise.
24710 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24711 [POSIX || XPG3] (NL_NMAX): Likewise.
24712 [POSIX || XPG3] (NL_SETMAX): Likewise.
24713 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24714 [XPG3] (NZERO): Likewise.
24715 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24716 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24717 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24718 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24719 (REG_ERANGE): Expect.
24720 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24722 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24723 Use (void) in prototype.
24724 [POSIX] (*_t): Allow.
24725 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24726 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24727 (WRDE_BADVAL): Expect.
24729 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24731 [XPG3 || XPG4] (O_RSYNC): Likewise.
24732 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24734 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24735 [XPG3 || XPG4] (sigqueue): Likewise.
24736 [XPG3 || XPG4] (sigtimedwait): Likewise.
24737 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24738 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24739 [XPG3 || XPG4] (vsnprintf): Likewise.
24740 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24742 [XPG3 || XPG4] (blksize_t): Likewise.
24743 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24745 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24746 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24747 [XPG3 || XPG4] (struct itimerspec): Likewise.
24748 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24749 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24750 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24751 [XPG3 || XPG4] (clockid_t): Likewise.
24752 [XPG3 || XPG4] (timer_t): Likewise.
24753 [XPG3 || XPG4] (clock_getres): Likewise.
24754 [XPG3 || XPG4] (clock_gettime): Likewise.
24755 [XPG3 || XPG4] (clock_settime): Likewise.
24756 [XPG3 || XPG4] (nanosleep): Likewise.
24757 [XPG3 || XPG4] (timer_create): Likewise.
24758 [XPG3 || XPG4] (timer_delete): Likewise.
24759 [XPG3 || XPG4] (timer_gettime): Likewise.
24760 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24761 [XPG3 || XPG4] (timer_settime): Likewise.
24762 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24763 [XPG3 || XPG4] (getlogin_r): Likewise.
24764 [XPG3 || XPG4] (pread): Likewise.
24765 [XPG3 || XPG4] (pthread_atfork): Likewise.
24766 [XPG3 || XPG4] (pwrite): Likewise.
24769 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24772 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24774 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24775 finalizing MALLSTREAM.
24777 * sysdeps/mach/hurd/syncfs.c: New file.
24779 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24783 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24784 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24785 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24786 (_nss_dns_gethostbyname4_r): Likewise.
24787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24788 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24790 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24793 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24795 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24797 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24798 * elf/cache.c (print_entry): Print ",AArch64" for
24801 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24802 * elf/cache.c (print_entry): Print ",hard-float" for
24805 2012-11-18 David S. Miller <davem@davemloft.net>
24807 With help from Joseph Myers.
24808 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24810 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24812 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24813 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24815 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24816 * math/libm-test.inc (y0_test): New tests.
24817 (y1_test): New tests.
24818 * sysdeps/i386/fpu/libm-test-ulps: Update.
24819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24822 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24824 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24826 * configure: Regenerated.
24828 2012-11-17 David S. Miller <davem@davemloft.net>
24831 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24832 nonzero exponents with absolute value below 0x1p-128 to +/-
24835 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24837 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24839 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24841 * posix/getconf-speclist.c: New file.
24842 * posix/posix-envs.def: Likewise.
24843 * posix/confstr.c (START_ENV_GROUP): New macro.
24844 (END_ENV_GROUP): Likewise.
24845 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24846 (KNOWN_PRESENT_ENV_STRING): Likewise.
24847 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24848 (UNKNOWN_ENVIRONMENT): Likewise.
24849 (confstr): Include posix-envs.def instead of handling
24850 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24851 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24852 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24853 (END_ENV_GROUP): Likewise.
24854 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24855 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24856 (UNKNOWN_ENVIRONMENT): Likewise.
24857 (__sysconf): Include posix-envs.def instead of handling associated
24858 cases directly here.
24859 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24860 preprocessing getconf-speclist.c rather than running getconf or
24861 generating empty file.
24863 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24865 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24867 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24870 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24872 2012-11-16 David S. Miller <davem@davemloft.net>
24874 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24875 smaller than LDBL_EPSILON/2.0L, just return xm1.
24877 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24879 * elf/tst-array1.c (init): Set constructor priority to 1000.
24880 (fini): Set destructor priority to 1000.
24881 * elf/tst-array2dep.c: Likewise.
24883 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24886 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24887 (_IO_new_file_xsputn): Also return EOF if none of the input
24888 data was written when overflow failed.
24889 * libio/iopadn.c (_IO_padn): Likewise.
24890 * libio/iowpadn.c (_IO_wpadn): Likewise.
24891 * stdio-common/tst-put-error.c: Add copyright notice.
24892 (do_test): Add case for printing padded string.
24893 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24894 _IO_padn returned error.
24895 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24896 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24899 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24901 * libio/libioP.h: Add comment note that the references to C++
24902 bits are now obsolete.
24904 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24906 * math/libm-test.inc (check_complex): Use asprintf.
24908 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24910 * debug/pcprofiledump.c (print_version): Update copyright year.
24911 * malloc/memusagestat.c (print_version): Likewise.
24913 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24916 * elf/Makefile (tests): Add tst-audit8.
24917 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24918 ($(objpfx)tst-audit8.out): New target.
24919 (tst-audit8-ENV): New variable.
24920 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24921 audit if l_reloc_result is NULL.
24922 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24923 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24924 * elf/tst-audit8.c: New file.
24926 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24928 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24929 * misc/Makefile (CFLAGS-select.c): Define.
24930 * posix/Makefile (CFLAGS-pause.c): Define.
24932 2012-11-13 David S. Miller <davem@davemloft.net>
24934 * crypt/Makefile: Move test targets after toplevel Rules
24935 inclusion. Grab any necessary sysdep routines when linking.
24936 * crypt/md5.c (md5_process_block): Remove define, we will always
24937 name it __md5_process_block.
24938 (md5_finish_ctx): Update md5_process_block call.
24939 (md5_stream): Likewise.
24940 (md5_process_bytes): Likewise.
24941 (md5_process_block): Rename to __md5_process_block and move to ...
24942 * crypt/md5-block.c: ... here.
24943 * crypt/sha256.c (sha256_process_block): Move to ...
24944 * crypt/sha256-block.c: ... here.
24945 * crypt/sha512.c (sha512_process_block): Move to ...
24946 * crypt/sha512-block.c: ... here.
24947 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24949 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24950 * sysdeps/sparc/sparc64/multiarch/Makefile
24951 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24953 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24956 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24957 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24958 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24959 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24960 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24961 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24962 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24963 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24966 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24971 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24973 * timezone/tzselect.ksh: Update from tzcode git revision
24974 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24975 * timezone/zdump.c: Likewise.
24976 * timezone/zic.c: Likewise.
24977 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24978 in TZVERSION setting, not $(PKGVERSION).
24979 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24980 REPORT_BUGS_TO settings.
24983 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24986 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24988 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24989 detection to immediately after _FP_ROUND().
24990 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24993 2012-11-11 David S. Miller <davem@davemloft.net>
24995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24997 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24998 __close rather than their public counterparts.
25000 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25002 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25004 [UNIX98] (sem_timedwait): Do not expect.
25005 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25006 [XPG4 || UNIX98] (sockatmark): Do not expect.
25007 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25008 (clock_getcpuclockid): Do not expect.
25009 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25010 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25012 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25013 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25014 [UNIX98] (vwscanf): Likewise.
25015 [UNIX98] (vswscanf): Likewise.
25017 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25019 * timezone/version.h: Remove file.
25020 * timezone/README: Do not refer to version.h.
25021 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25022 $(objpfx)version.h.
25023 ($(objpfx)zdump.o): Likewise.
25024 ($(objpfx)version.h): New target.
25026 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25028 * timezone/README: Don't mention modification to tzselect.ksh.
25029 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25030 work on unmodified tzselect.ksh. Substitute version numbers in
25033 * Makefile (format-me): Remove.
25034 (INSTALL): Adjust indentation. Use commands directly instead of
25035 using $(format-me).
25037 * aclocal.m4 (ACX_PKGVERSION): New macro.
25038 (ACX_BUGURL): Likewise.
25039 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25040 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25041 (REPORT_BUGS_TO): Likewise.
25042 * configure: Regenerated.
25043 * config.h.in (PKGVERSION): New macro.
25044 (REPORT_BUGS_TO): Likewise.
25045 * config.make.in (PKGVERSION): New variable.
25046 (PKGVERSION_TEXI): Likewise.
25047 (REPORT_BUGS_TO): Likewise.
25048 (REPORT_BUGS_TEXI): Likewise.
25049 * Makefile (format-me): Use -I$(common-objpfx)manual.
25050 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25051 ($(common-objpfx)manual/%): New target.
25052 (manual/%): Remove target.
25053 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25054 (print_version): Use PKGVERSION.
25055 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25056 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25057 and REPORT_BUGS_TO.
25058 ($(objpfx)xtrace): Likewise.
25059 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25060 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25061 (print_version): Use PKGVERSION.
25062 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25063 (do_version): Use PKGVERSION.
25064 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25066 (common-ldd-rewrite): Likewise.
25067 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25068 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25069 (print_version): Use PKGVERSION.
25070 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25071 * elf/pldd.c (argp_program_bug_address): Remove variable.
25072 (more_help): New function.
25073 (argp): Use more_help.
25074 (print_version): Use PKGVERSION.
25075 * elf/sln.c (main): Use PKGVERSION.
25076 (usage): Use REPORT_BUGS_TO.
25077 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25078 (top level): Use PKGVERSION.
25079 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25080 (print_version): Use PKGVERSION.
25081 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25082 (print_version): Use PKGVERSION.
25083 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25084 (print_version): Use PKGVERSION.
25085 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25086 (print_version): Use PKGVERSION.
25087 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25088 (print_version): Use PKGVERSION.
25089 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25090 (print_version): Use PKGVERSION.
25091 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25093 ($(objpfx)memusage): Likewise.
25094 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25095 (do_version): Use PKGVERSION.
25096 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25097 (print_version): Use PKGVERSION.
25098 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25099 ($PKGVERSION): New variable.
25100 ($REPORT_BUGS_TO): Likewise.
25101 (usage): Use $REPORT_BUGS_TO.
25102 (top level): Use $PKGVERSION.
25103 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25104 ($(objpfx)pkgvers.texi): New rule.
25105 ($(objpfx)stamp-pkgvers): Likewise.
25106 * manual/install.texi: Include pkgvers.texi.
25107 (--with-pkgversion): Document new configure option.
25108 (--with-bugurl): Likewise.
25109 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25110 than necessarily for this particular distribution. Use
25111 REPORT_BUGS_TO for where to report bugs.
25112 * INSTALL: Regenerated.
25113 * manual/libc.texinfo: Include pkgvers.texi.
25114 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25115 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25116 (print_version): Use PKGVERSION.
25117 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25118 (print_version): Use PKGVERSION.
25119 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25120 (print_version): Use PKGVERSION.
25121 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25122 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25124 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25125 (print_version): Use PKGVERSION.
25126 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25127 (print_version): Use PKGVERSION.
25128 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25131 * timezone/checktab.awk: Update from tzcode 2012i.
25132 * timezone/ialloc.c: Likewise.
25133 * timezone/private.h: Likewise.
25134 * timezone/scheck.c: Likewise.
25135 * timezone/tzfile.h: Likewise.
25136 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25137 (TZVERSION): Hardcode tzcode version number.
25138 * timezone/zdump.c: Update from tzcode 2012i.
25139 * timezone/zic.c: Likewise.
25140 * timezone/version.h: New file.
25141 * timezone/README: Describe version.h. Update upstream location.
25144 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25145 (mktemp): Enable declaration.
25146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25159 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25163 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25164 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25165 for copies of such integer values.
25166 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25167 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25169 2012-11-09 Andreas Jaeger <aj@suse.de>
25171 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25172 definitions and declarations that are provided by
25173 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25175 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25177 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25178 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25179 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25182 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25184 * elf/elf.h: Update comment before AArch64 relocations.
25186 2012-11-07 David S. Miller <davem@davemloft.net>
25188 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25189 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25190 (__start_context): Declare.
25191 (__makecontext_ret): Delete.
25192 (__makecontext): Hook up __start_context instead of
25194 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25195 (sysdep_routines): Add __start_context when in stdlib.
25197 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25199 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25200 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25201 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25203 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25204 (READELF): New variable. Use it instead of hardcoded "readelf".
25206 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25208 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25209 * sysdeps/x86/Makefile: Here.
25210 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25211 * sysdeps/x86/tst-xmmymm.sh: This.
25213 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25215 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25217 [UNIX98] (pthread_barrier_t): Do not expect.
25218 [UNIX98] (pthread_barrierattr_t): Likewise.
25219 [UNIX98] (pthread_spinlock_t): Likewise.
25220 [UNIX98] (pthread_barrier_destroy): Likewise.
25221 [UNIX98] (pthread_barrier_init): Likewise.
25222 [UNIX98] (pthread_barrier_wait): Likewise.
25223 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25224 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25225 [UNIX98] (pthread_barrierattr_init): Likewise.
25226 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25227 [UNIX98] (pthread_getcpuclockid): Likewise.
25228 [UNIX98] (pthread_mutex_timedlock): Likewise.
25229 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25230 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25231 [UNIX98] (pthread_sigmask): Likewise.
25232 [UNIX98] (pthread_spin_destroy): Likewise.
25233 [UNIX98] (pthread_spin_init): Likewise.
25234 [UNIX98] (pthread_spin_lock): Likewise.
25235 [UNIX98] (pthread_spin_trylock): Likewise.
25236 [UNIX98] (pthread_spin_unlock): Likewise.
25237 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25239 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25240 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25241 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25242 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25243 [XPG3 || XPG4] (pthread_key_t): Likewise.
25244 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25245 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25246 [XPG3 || XPG4] (pthread_once_t): Likewise.
25247 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25248 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25249 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25250 [XPG3 || XPG4] (pthread_t): Likewise.
25252 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25254 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25256 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25257 Change function return type to int.
25259 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25260 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25261 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25262 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25263 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25264 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25265 [!POSIX] (posix_madvise): Likewise.
25266 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25268 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25269 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25270 (mode_t): Likewise.
25271 (posix_mem_offset): Likewise.
25272 (posix_typed_mem_get_info): Likewise.
25273 (posix_typed_mem_open): Likewise.
25275 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25276 Change condition to [XOPEN2K8].
25278 * conform/conformtest.pl: Preprocess allow-header data with -x c
25279 instead of from stdin.
25280 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25281 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25282 [C99-based standards] (cerfc): Likewise.
25283 [C99-based standards] (cexp2): Likewise.
25284 [C99-based standards] (cexpm1): Likewise.
25285 [C99-based standards] (clog10): Likewise.
25286 [C99-based standards] (clog1p): Likewise.
25287 [C99-based standards] (clog2): Likewise.
25288 [C99-based standards] (clgamma): Likewise.
25289 [C99-based standards] (ctgamma): Likewise.
25290 [C99-based standards] (cerff): Likewise.
25291 [C99-based standards] (cerfcf): Likewise.
25292 [C99-based standards] (cexp2f): Likewise.
25293 [C99-based standards] (cexpm1f): Likewise.
25294 [C99-based standards] (clog10f): Likewise.
25295 [C99-based standards] (clog1pf): Likewise.
25296 [C99-based standards] (clog2f): Likewise.
25297 [C99-based standards] (clgammaf): Likewise.
25298 [C99-based standards] (ctgammaf): Likewise.
25299 [C99-based standards] (cerfl): Likewise.
25300 [C99-based standards] (cerfcl): Likewise.
25301 [C99-based standards] (cexp2l): Likewise.
25302 [C99-based standards] (cexpm1l): Likewise.
25303 [C99-based standards] (clog10l): Likewise.
25304 [C99-based standards] (clog1pl): Likewise.
25305 [C99-based standards] (clog2l): Likewise.
25306 [C99-based standards] (clgammal): Likewise.
25307 [C99-based standards] (ctgammal): Likewise.
25308 * conform/data/inttypes.h-data [C99-based standards]: Include
25309 stdint.h-data. Remove all expectations for stdint.h contents.
25310 [C99-based standards] (PRI*): Do not allow.
25311 [C99-based standards] (SCN*): Likewise.
25312 [C99-based standards] (*_t): Likewise.
25313 [C99-based-standards] (PRId8): Expect macro.
25314 [C99-based-standards] (PRIi8): Likewise.
25315 [C99-based-standards] (PRIo8): Likewise.
25316 [C99-based-standards] (PRIu8): Likewise.
25317 [C99-based-standards] (PRIx8): Likewise.
25318 [C99-based-standards] (PRIX8): Likewise.
25319 [C99-based-standards] (SCNd8): Likewise.
25320 [C99-based-standards] (SCNi8): Likewise.
25321 [C99-based-standards] (SCNo8): Likewise.
25322 [C99-based-standards] (SCNu8): Likewise.
25323 [C99-based-standards] (SCNx8): Likewise.
25324 [C99-based-standards] (PRIdLEAST8): Likewise.
25325 [C99-based-standards] (PRIiLEAST8): Likewise.
25326 [C99-based-standards] (PRIoLEAST8): Likewise.
25327 [C99-based-standards] (PRIuLEAST8): Likewise.
25328 [C99-based-standards] (PRIxLEAST8): Likewise.
25329 [C99-based-standards] (PRIXLEAST8): Likewise.
25330 [C99-based-standards] (SCNdLEAST8): Likewise.
25331 [C99-based-standards] (SCNiLEAST8): Likewise.
25332 [C99-based-standards] (SCNoLEAST8): Likewise.
25333 [C99-based-standards] (SCNuLEAST8): Likewise.
25334 [C99-based-standards] (SCNxLEAST8): Likewise.
25335 [C99-based-standards] (PRIdFAST8): Likewise.
25336 [C99-based-standards] (PRIiFAST8): Likewise.
25337 [C99-based-standards] (PRIoFAST8): Likewise.
25338 [C99-based-standards] (PRIuFAST8): Likewise.
25339 [C99-based-standards] (PRIxFAST8): Likewise.
25340 [C99-based-standards] (PRIXFAST8): Likewise.
25341 [C99-based-standards] (SCNdFAST8): Likewise.
25342 [C99-based-standards] (SCNiFAST8): Likewise.
25343 [C99-based-standards] (SCNoFAST8): Likewise.
25344 [C99-based-standards] (SCNuFAST8): Likewise.
25345 [C99-based-standards] (SCNxFAST8): Likewise.
25346 [C99-based-standards] (PRId16): Likewise.
25347 [C99-based-standards] (PRIi16): Likewise.
25348 [C99-based-standards] (PRIo16): Likewise.
25349 [C99-based-standards] (PRIu16): Likewise.
25350 [C99-based-standards] (PRIx16): Likewise.
25351 [C99-based-standards] (PRIX16): Likewise.
25352 [C99-based-standards] (SCNd16): Likewise.
25353 [C99-based-standards] (SCNi16): Likewise.
25354 [C99-based-standards] (SCNo16): Likewise.
25355 [C99-based-standards] (SCNu16): Likewise.
25356 [C99-based-standards] (SCNx16): Likewise.
25357 [C99-based-standards] (PRIdLEAST16): Likewise.
25358 [C99-based-standards] (PRIiLEAST16): Likewise.
25359 [C99-based-standards] (PRIoLEAST16): Likewise.
25360 [C99-based-standards] (PRIuLEAST16): Likewise.
25361 [C99-based-standards] (PRIxLEAST16): Likewise.
25362 [C99-based-standards] (PRIXLEAST16): Likewise.
25363 [C99-based-standards] (SCNdLEAST16): Likewise.
25364 [C99-based-standards] (SCNiLEAST16): Likewise.
25365 [C99-based-standards] (SCNoLEAST16): Likewise.
25366 [C99-based-standards] (SCNuLEAST16): Likewise.
25367 [C99-based-standards] (SCNxLEAST16): Likewise.
25368 [C99-based-standards] (PRIdFAST16): Likewise.
25369 [C99-based-standards] (PRIiFAST16): Likewise.
25370 [C99-based-standards] (PRIoFAST16): Likewise.
25371 [C99-based-standards] (PRIuFAST16): Likewise.
25372 [C99-based-standards] (PRIxFAST16): Likewise.
25373 [C99-based-standards] (PRIXFAST16): Likewise.
25374 [C99-based-standards] (SCNdFAST16): Likewise.
25375 [C99-based-standards] (SCNiFAST16): Likewise.
25376 [C99-based-standards] (SCNoFAST16): Likewise.
25377 [C99-based-standards] (SCNuFAST16): Likewise.
25378 [C99-based-standards] (SCNxFAST16): Likewise.
25379 [C99-based-standards] (PRId32): Likewise.
25380 [C99-based-standards] (PRIi32): Likewise.
25381 [C99-based-standards] (PRIo32): Likewise.
25382 [C99-based-standards] (PRIu32): Likewise.
25383 [C99-based-standards] (PRIx32): Likewise.
25384 [C99-based-standards] (PRIX32): Likewise.
25385 [C99-based-standards] (SCNd32): Likewise.
25386 [C99-based-standards] (SCNi32): Likewise.
25387 [C99-based-standards] (SCNo32): Likewise.
25388 [C99-based-standards] (SCNu32): Likewise.
25389 [C99-based-standards] (SCNx32): Likewise.
25390 [C99-based-standards] (PRIdLEAST32): Likewise.
25391 [C99-based-standards] (PRIiLEAST32): Likewise.
25392 [C99-based-standards] (PRIoLEAST32): Likewise.
25393 [C99-based-standards] (PRIuLEAST32): Likewise.
25394 [C99-based-standards] (PRIxLEAST32): Likewise.
25395 [C99-based-standards] (PRIXLEAST32): Likewise.
25396 [C99-based-standards] (SCNdLEAST32): Likewise.
25397 [C99-based-standards] (SCNiLEAST32): Likewise.
25398 [C99-based-standards] (SCNoLEAST32): Likewise.
25399 [C99-based-standards] (SCNuLEAST32): Likewise.
25400 [C99-based-standards] (SCNxLEAST32): Likewise.
25401 [C99-based-standards] (PRIdFAST32): Likewise.
25402 [C99-based-standards] (PRIiFAST32): Likewise.
25403 [C99-based-standards] (PRIoFAST32): Likewise.
25404 [C99-based-standards] (PRIuFAST32): Likewise.
25405 [C99-based-standards] (PRIxFAST32): Likewise.
25406 [C99-based-standards] (PRIXFAST32): Likewise.
25407 [C99-based-standards] (SCNdFAST32): Likewise.
25408 [C99-based-standards] (SCNiFAST32): Likewise.
25409 [C99-based-standards] (SCNoFAST32): Likewise.
25410 [C99-based-standards] (SCNuFAST32): Likewise.
25411 [C99-based-standards] (SCNxFAST32): Likewise.
25412 [C99-based-standards] (PRId64): Likewise.
25413 [C99-based-standards] (PRIi64): Likewise.
25414 [C99-based-standards] (PRIo64): Likewise.
25415 [C99-based-standards] (PRIu64): Likewise.
25416 [C99-based-standards] (PRIx64): Likewise.
25417 [C99-based-standards] (PRIX64): Likewise.
25418 [C99-based-standards] (SCNd64): Likewise.
25419 [C99-based-standards] (SCNi64): Likewise.
25420 [C99-based-standards] (SCNo64): Likewise.
25421 [C99-based-standards] (SCNu64): Likewise.
25422 [C99-based-standards] (SCNx64): Likewise.
25423 [C99-based-standards] (PRIdLEAST64): Likewise.
25424 [C99-based-standards] (PRIiLEAST64): Likewise.
25425 [C99-based-standards] (PRIoLEAST64): Likewise.
25426 [C99-based-standards] (PRIuLEAST64): Likewise.
25427 [C99-based-standards] (PRIxLEAST64): Likewise.
25428 [C99-based-standards] (PRIXLEAST64): Likewise.
25429 [C99-based-standards] (SCNdLEAST64): Likewise.
25430 [C99-based-standards] (SCNiLEAST64): Likewise.
25431 [C99-based-standards] (SCNoLEAST64): Likewise.
25432 [C99-based-standards] (SCNuLEAST64): Likewise.
25433 [C99-based-standards] (SCNxLEAST64): Likewise.
25434 [C99-based-standards] (PRIdFAST64): Likewise.
25435 [C99-based-standards] (PRIiFAST64): Likewise.
25436 [C99-based-standards] (PRIoFAST64): Likewise.
25437 [C99-based-standards] (PRIuFAST64): Likewise.
25438 [C99-based-standards] (PRIxFAST64): Likewise.
25439 [C99-based-standards] (PRIXFAST64): Likewise.
25440 [C99-based-standards] (SCNdFAST64): Likewise.
25441 [C99-based-standards] (SCNiFAST64): Likewise.
25442 [C99-based-standards] (SCNoFAST64): Likewise.
25443 [C99-based-standards] (SCNuFAST64): Likewise.
25444 [C99-based-standards] (SCNxFAST64): Likewise.
25445 [C99-based-standards] (PRIdMAX): Likewise.
25446 [C99-based-standards] (PRIiMAX): Likewise.
25447 [C99-based-standards] (PRIoMAX): Likewise.
25448 [C99-based-standards] (PRIuMAX): Likewise.
25449 [C99-based-standards] (PRIxMAX): Likewise.
25450 [C99-based-standards] (PRIXMAX): Likewise.
25451 [C99-based-standards] (SCNdMAX): Likewise.
25452 [C99-based-standards] (SCNiMAX): Likewise.
25453 [C99-based-standards] (SCNoMAX): Likewise.
25454 [C99-based-standards] (SCNuMAX): Likewise.
25455 [C99-based-standards] (SCNxMAX): Likewise.
25456 [C99-based-standards] (PRIdPTR): Likewise.
25457 [C99-based-standards] (PRIiPTR): Likewise.
25458 [C99-based-standards] (PRIoPTR): Likewise.
25459 [C99-based-standards] (PRIuPTR): Likewise.
25460 [C99-based-standards] (PRIxPTR): Likewise.
25461 [C99-based-standards] (PRIXPTR): Likewise.
25462 [C99-based-standards] (SCNdPTR): Likewise.
25463 [C99-based-standards] (SCNiPTR): Likewise.
25464 [C99-based-standards] (SCNoPTR): Likewise.
25465 [C99-based-standards] (SCNuPTR): Likewise.
25466 [C99-based-standards] (SCNxPTR): Likewise.
25467 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25469 * conform/data/stdint.h-data: Update comments to clarify
25471 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25473 [C99-based standards] (INT8_MAX): Likewise.
25474 [C99-based standards] (INT16_MIN): Likewise.
25475 [C99-based standards] (INT16_MAX): Likewise.
25476 [C99-based standards] (INT32_MIN): Likewise.
25477 [C99-based standards] (INT32_MAX): Likewise.
25478 [C99-based standards] (INT64_MIN): Likewise.
25479 [C99-based standards] (INT64_MAX): Likewise.
25480 [C99-based standards] (UINT8_MAX): Likewise.
25481 [C99-based standards] (UINT16_MAX): Likewise.
25482 [C99-based standards] (UINT32_MAX): Likewise.
25483 [C99-based standards] (UINT64_MAX): Likewise.
25484 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25485 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25486 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25487 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25488 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25489 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25490 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25491 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25492 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25493 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25494 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25495 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25496 [C99-based standards] (INT_FAST8_MIN): Likewise.
25497 [C99-based standards] (INT_FAST8_MAX): Likewise.
25498 [C99-based standards] (INT_FAST16_MIN): Likewise.
25499 [C99-based standards] (INT_FAST16_MAX): Likewise.
25500 [C99-based standards] (INT_FAST32_MIN): Likewise.
25501 [C99-based standards] (INT_FAST32_MAX): Likewise.
25502 [C99-based standards] (INT_FAST64_MIN): Likewise.
25503 [C99-based standards] (INT_FAST64_MAX): Likewise.
25504 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25505 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25506 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25507 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25508 [C99-based standards] (INTPTR_MIN): Likewise.
25509 [C99-based standards] (INTPTR_MAX): Likewise.
25510 [C99-based standards] (UINTPTR_MAX): Likewise.
25511 [C99-based standards] (INTMAX_MIN): Likewise.
25512 [C99-based standards] (INTMAX_MAX): Likewise.
25513 [C99-based standards] (UINTMAX_MAX): Likewise.
25514 [C99-based standards] (PTRDIFF_MIN): Likewise.
25515 [C99-based standards] (PTRDIFF_MAX): Likewise.
25516 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25517 [C99-based standards] (SIZE_MAX): Likewise.
25518 [C99-based standards] (WCHAR_MAX): Likewise.
25519 [C99-based standards] (WINT_MAX): Likewise.
25520 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25521 constraint on value.
25522 [C99-based standards] (WCHAR_MIN): Likewise.
25523 [C99-based standards] (WINT_MIN): Likewise.
25524 [C99-based standards] (*_t): Allow.
25525 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25526 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25527 Include math.h-data and complex.h-data. Remove all expectations
25528 of math.h and complex.h contents.
25529 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25531 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25532 (struct tm): Expect tag.
25533 [C99-based-standards] (wcstof): Expect function.
25534 [C99-based-standards] (wcstold): Likewise.
25535 [C99-based-standards] (wcstoll): Likewise.
25536 [C99-based-standards] (wcstoull): Likewise.
25537 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25538 macro-int-constant. Specify type.
25539 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25540 constraint on value.
25541 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25543 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25545 [ISO C standards]: Do not allow headers.
25546 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25547 wcs[abcdefghijklmnopqrstuvwxyz]*.
25548 [ISO C standards] (*_t): Do not allow.
25549 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25551 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25552 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25554 [ISO C standards]: Do not allow headers.
25555 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25556 is[abcdefghijklmnopqrstuvwxyz]*.
25557 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25558 to[abcdefghijklmnopqrstuvwxyz]*.
25559 [ISO C standards] (*_t): Do not allow.
25560 * conform/data/stdalign.h-data: New file.
25561 * conform/data/stdbool.h-data: Likewise.
25562 * conform/data/stdnoreturn.h-data: Likewise.
25564 2012-11-07 Roland McGrath <roland@hack.frob.com>
25567 * manual/filesys.texi (Directory Entries): Typo fix.
25568 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25570 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25572 * elf/elf.h (EM_AARCH64): New macro.
25573 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25574 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25575 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25576 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25577 (R_AARCH64_TLSDESC): Likewise.
25578 (NT_ARM_TLS): Likewise.
25579 (NT_ARM_HW_BREAK): Likewise.
25580 (NT_ARM_HW_WATCH): Likewise.
25582 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25585 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25586 (__ieee754_powl): Saturate nonzero exponents with absolute value
25587 below 0x1p-79 to +/- 0x1p-79.
25588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25589 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25590 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25591 nonzero exponents with absolute value below 0x1p-32 to +/-
25593 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25594 (__ieee754_powl): Saturate nonzero exponents with absolute value
25595 below 0x1p-79 to +/- 0x1p-79.
25596 * math/libm-test.inc (pow_test): Add more tests.
25598 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25600 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25601 _dl_s390_cap_flags with kernel. Increase string length.
25602 (_dl_s390_platforms): Add z196 and zEC12.
25604 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25606 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25607 Change XOPEN21K to XOPEN2K.
25609 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25611 * string/memmove.c: Use memcpy when possible.
25613 2012-11-06 Andreas Jaeger <aj@suse.de>
25615 * po/eo.po: Update from translation team.
25617 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25621 exponent and small x and y exponents, scale x or y up. Increase
25622 by 2 the exponent used in scaling up.
25623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25625 * math/libm-test.inc (fma_test): Add more tests.
25626 (fma_test_towardzero): Likewise.
25627 (fma_test_downward): Likewise.
25628 (fma_test_upward): Likewise.
25630 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25633 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25637 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25638 namespace for names of struct fields.
25639 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25641 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25642 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25644 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25647 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25649 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25651 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25655 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25658 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25662 definitely overflow as x * y not x * y + z.
25663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25665 * math/libm-test.inc (fma_test): Add more tests.
25666 (fma_test_towardzero): Likewise.
25667 (fma_test_downward): Likewise.
25668 (fma_test_upward): Likewise.
25670 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25674 * include/stub-tag.h: Remove file.
25675 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25677 * manual/maint.texi (Porting): Don't reference it.
25678 * Makerules ($(objpfx)stubs): Likewise.
25679 * dirent/closedir.c: Don't include <stub-tag.h>.
25680 * dirent/dirfd.c: Likewise.
25681 * dirent/fdopendir.c: Likewise.
25682 * dirent/getdents.c: Likewise.
25683 * dirent/getdents64.c: Likewise.
25684 * dirent/opendir.c: Likewise.
25685 * dirent/readdir.c: Likewise.
25686 * dirent/readdir64.c: Likewise.
25687 * dirent/readdir64_r.c: Likewise.
25688 * dirent/readdir_r.c: Likewise.
25689 * dirent/rewinddir.c: Likewise.
25690 * dirent/seekdir.c: Likewise.
25691 * dirent/telldir.c: Likewise.
25692 * gmon/profil.c: Likewise.
25693 * grp/setgroups.c: Likewise.
25694 * inet/if_index.c: Likewise.
25695 * io/access.c: Likewise.
25696 * io/chdir.c: Likewise.
25697 * io/chmod.c: Likewise.
25698 * io/chown.c: Likewise.
25699 * io/close.c: Likewise.
25700 * io/dup.c: Likewise.
25701 * io/dup2.c: Likewise.
25702 * io/dup3.c: Likewise.
25703 * io/euidaccess.c: Likewise.
25704 * io/faccessat.c: Likewise.
25705 * io/fchdir.c: Likewise.
25706 * io/fchmod.c: Likewise.
25707 * io/fchmodat.c: Likewise.
25708 * io/fchown.c: Likewise.
25709 * io/fchownat.c: Likewise.
25710 * io/fcntl.c: Likewise.
25711 * io/flock.c: Likewise.
25712 * io/fstatfs.c: Likewise.
25713 * io/fstatfs64.c: Likewise.
25714 * io/fstatvfs.c: Likewise.
25715 * io/fstatvfs64.c: Likewise.
25716 * io/futimens.c: Likewise.
25717 * io/fxstat.c: Likewise.
25718 * io/fxstat64.c: Likewise.
25719 * io/fxstatat.c: Likewise.
25720 * io/fxstatat64.c: Likewise.
25721 * io/getcwd.c: Likewise.
25722 * io/isatty.c: Likewise.
25723 * io/lchmod.c: Likewise.
25724 * io/lchown.c: Likewise.
25725 * io/link.c: Likewise.
25726 * io/linkat.c: Likewise.
25727 * io/lseek.c: Likewise.
25728 * io/lseek64.c: Likewise.
25729 * io/lxstat64.c: Likewise.
25730 * io/mkdir.c: Likewise.
25731 * io/mkdirat.c: Likewise.
25732 * io/mkfifo.c: Likewise.
25733 * io/mkfifoat.c: Likewise.
25734 * io/open.c: Likewise.
25735 * io/open64.c: Likewise.
25736 * io/openat.c: Likewise.
25737 * io/openat64.c: Likewise.
25738 * io/pipe.c: Likewise.
25739 * io/pipe2.c: Likewise.
25740 * io/poll.c: Likewise.
25741 * io/posix_fadvise.c: Likewise.
25742 * io/posix_fadvise64.c: Likewise.
25743 * io/posix_fallocate.c: Likewise.
25744 * io/posix_fallocate64.c: Likewise.
25745 * io/read.c: Likewise.
25746 * io/readlink.c: Likewise.
25747 * io/readlinkat.c: Likewise.
25748 * io/rmdir.c: Likewise.
25749 * io/sendfile.c: Likewise.
25750 * io/sendfile64.c: Likewise.
25751 * io/statfs.c: Likewise.
25752 * io/statfs64.c: Likewise.
25753 * io/statvfs.c: Likewise.
25754 * io/statvfs64.c: Likewise.
25755 * io/symlink.c: Likewise.
25756 * io/symlinkat.c: Likewise.
25757 * io/ttyname.c: Likewise.
25758 * io/ttyname_r.c: Likewise.
25759 * io/umask.c: Likewise.
25760 * io/unlink.c: Likewise.
25761 * io/unlinkat.c: Likewise.
25762 * io/utime.c: Likewise.
25763 * io/utimensat.c: Likewise.
25764 * io/write.c: Likewise.
25765 * io/xmknod.c: Likewise.
25766 * io/xmknodat.c: Likewise.
25767 * io/xstat.c: Likewise.
25768 * io/xstat64.c: Likewise.
25769 * login/getpt.c: Likewise.
25770 * login/grantpt.c: Likewise.
25771 * login/unlockpt.c: Likewise.
25772 * math/e_acoshl.c: Likewise.
25773 * math/e_acosl.c: Likewise.
25774 * math/e_asinl.c: Likewise.
25775 * math/e_atan2l.c: Likewise.
25776 * math/e_atanhl.c: Likewise.
25777 * math/e_coshl.c: Likewise.
25778 * math/e_expl.c: Likewise.
25779 * math/e_fmodl.c: Likewise.
25780 * math/e_gammal_r.c: Likewise.
25781 * math/e_hypotl.c: Likewise.
25782 * math/e_j0l.c: Likewise.
25783 * math/e_j1l.c: Likewise.
25784 * math/e_jnl.c: Likewise.
25785 * math/e_lgammal_r.c: Likewise.
25786 * math/e_log10l.c: Likewise.
25787 * math/e_log2l.c: Likewise.
25788 * math/e_logl.c: Likewise.
25789 * math/e_powl.c: Likewise.
25790 * math/e_rem_pio2l.c: Likewise.
25791 * math/e_sinhl.c: Likewise.
25792 * math/e_sqrtl.c: Likewise.
25793 * math/fclrexcpt.c: Likewise.
25794 * math/fedisblxcpt.c: Likewise.
25795 * math/feenablxcpt.c: Likewise.
25796 * math/fegetenv.c: Likewise.
25797 * math/fegetexcept.c: Likewise.
25798 * math/fegetround.c: Likewise.
25799 * math/feholdexcpt.c: Likewise.
25800 * math/fesetenv.c: Likewise.
25801 * math/fesetround.c: Likewise.
25802 * math/feupdateenv.c: Likewise.
25803 * math/fgetexcptflg.c: Likewise.
25804 * math/fraiseexcpt.c: Likewise.
25805 * math/fsetexcptflg.c: Likewise.
25806 * math/ftestexcept.c: Likewise.
25807 * math/k_cosl.c: Likewise.
25808 * math/k_rem_pio2l.c: Likewise.
25809 * math/k_sinl.c: Likewise.
25810 * math/k_tanl.c: Likewise.
25811 * math/s_asinhl.c: Likewise.
25812 * math/s_atanl.c: Likewise.
25813 * math/s_cbrtl.c: Likewise.
25814 * math/s_erfl.c: Likewise.
25815 * math/s_expm1l.c: Likewise.
25816 * math/s_log1pl.c: Likewise.
25817 * math/s_tanhl.c: Likewise.
25818 * misc/acct.c: Likewise.
25819 * misc/brk.c: Likewise.
25820 * misc/chflags.c: Likewise.
25821 * misc/chroot.c: Likewise.
25822 * misc/fchflags.c: Likewise.
25823 * misc/fgetxattr.c: Likewise.
25824 * misc/flistxattr.c: Likewise.
25825 * misc/fremovexattr.c: Likewise.
25826 * misc/fsetxattr.c: Likewise.
25827 * misc/fsync.c: Likewise.
25828 * misc/ftruncate.c: Likewise.
25829 * misc/futimes.c: Likewise.
25830 * misc/futimesat.c: Likewise.
25831 * misc/getdomain.c: Likewise.
25832 * misc/getdtsz.c: Likewise.
25833 * misc/gethostid.c: Likewise.
25834 * misc/gethostname.c: Likewise.
25835 * misc/getloadavg.c: Likewise.
25836 * misc/getpagesize.c: Likewise.
25837 * misc/getsysstats.c: Likewise.
25838 * misc/getxattr.c: Likewise.
25839 * misc/gtty.c: Likewise.
25840 * misc/ioctl.c: Likewise.
25841 * misc/lgetxattr.c: Likewise.
25842 * misc/listxattr.c: Likewise.
25843 * misc/llistxattr.c: Likewise.
25844 * misc/lremovexattr.c: Likewise.
25845 * misc/lsetxattr.c: Likewise.
25846 * misc/lutimes.c: Likewise.
25847 * misc/madvise.c: Likewise.
25848 * misc/mincore.c: Likewise.
25849 * misc/mlock.c: Likewise.
25850 * misc/mlockall.c: Likewise.
25851 * misc/mmap.c: Likewise.
25852 * misc/mprotect.c: Likewise.
25853 * misc/msync.c: Likewise.
25854 * misc/munlock.c: Likewise.
25855 * misc/munlockall.c: Likewise.
25856 * misc/munmap.c: Likewise.
25857 * misc/preadv.c: Likewise.
25858 * misc/preadv64.c: Likewise.
25859 * misc/ptrace.c: Likewise.
25860 * misc/pwritev.c: Likewise.
25861 * misc/pwritev64.c: Likewise.
25862 * misc/readv.c: Likewise.
25863 * misc/reboot.c: Likewise.
25864 * misc/remap_file_pages.c: Likewise.
25865 * misc/removexattr.c: Likewise.
25866 * misc/revoke.c: Likewise.
25867 * misc/select.c: Likewise.
25868 * misc/setdomain.c: Likewise.
25869 * misc/setegid.c: Likewise.
25870 * misc/seteuid.c: Likewise.
25871 * misc/sethostid.c: Likewise.
25872 * misc/sethostname.c: Likewise.
25873 * misc/setregid.c: Likewise.
25874 * misc/setreuid.c: Likewise.
25875 * misc/setxattr.c: Likewise.
25876 * misc/sstk.c: Likewise.
25877 * misc/stty.c: Likewise.
25878 * misc/swapoff.c: Likewise.
25879 * misc/swapon.c: Likewise.
25880 * misc/sync.c: Likewise.
25881 * misc/syncfs.c: Likewise.
25882 * misc/syscall.c: Likewise.
25883 * misc/truncate.c: Likewise.
25884 * misc/ualarm.c: Likewise.
25885 * misc/usleep.c: Likewise.
25886 * misc/ustat.c: Likewise.
25887 * misc/utimes.c: Likewise.
25888 * misc/vhangup.c: Likewise.
25889 * misc/writev.c: Likewise.
25890 * posix/_exit.c: Likewise.
25891 * posix/alarm.c: Likewise.
25892 * posix/execve.c: Likewise.
25893 * posix/fexecve.c: Likewise.
25894 * posix/fork.c: Likewise.
25895 * posix/fpathconf.c: Likewise.
25896 * posix/getaddrinfo.c: Likewise.
25897 * posix/getegid.c: Likewise.
25898 * posix/geteuid.c: Likewise.
25899 * posix/getgid.c: Likewise.
25900 * posix/getgroups.c: Likewise.
25901 * posix/getlogin.c: Likewise.
25902 * posix/getlogin_r.c: Likewise.
25903 * posix/getpgid.c: Likewise.
25904 * posix/getpid.c: Likewise.
25905 * posix/getppid.c: Likewise.
25906 * posix/getresgid.c: Likewise.
25907 * posix/getresuid.c: Likewise.
25908 * posix/getsid.c: Likewise.
25909 * posix/getuid.c: Likewise.
25910 * posix/glob64.c: Likewise.
25911 * posix/nanosleep.c: Likewise.
25912 * posix/pathconf.c: Likewise.
25913 * posix/pause.c: Likewise.
25914 * posix/posix_madvise.c: Likewise.
25915 * posix/pread.c: Likewise.
25916 * posix/pread64.c: Likewise.
25917 * posix/pwrite.c: Likewise.
25918 * posix/pwrite64.c: Likewise.
25919 * posix/sched_getaffinity.c: Likewise.
25920 * posix/sched_getp.c: Likewise.
25921 * posix/sched_gets.c: Likewise.
25922 * posix/sched_primax.c: Likewise.
25923 * posix/sched_primin.c: Likewise.
25924 * posix/sched_rr_gi.c: Likewise.
25925 * posix/sched_setaffinity.c: Likewise.
25926 * posix/sched_setp.c: Likewise.
25927 * posix/sched_sets.c: Likewise.
25928 * posix/sched_yield.c: Likewise.
25929 * posix/setgid.c: Likewise.
25930 * posix/setlogin.c: Likewise.
25931 * posix/setpgid.c: Likewise.
25932 * posix/setresgid.c: Likewise.
25933 * posix/setresuid.c: Likewise.
25934 * posix/setsid.c: Likewise.
25935 * posix/setuid.c: Likewise.
25936 * posix/sleep.c: Likewise.
25937 * posix/spawni.c: Likewise.
25938 * posix/sysconf.c: Likewise.
25939 * posix/times.c: Likewise.
25940 * posix/wait.c: Likewise.
25941 * posix/wait3.c: Likewise.
25942 * posix/wait4.c: Likewise.
25943 * posix/waitpid.c: Likewise.
25944 * resolv/gai_sigqueue.c: Likewise.
25945 * resource/getpriority.c: Likewise.
25946 * resource/getrlimit.c: Likewise.
25947 * resource/getrusage.c: Likewise.
25948 * resource/nice.c: Likewise.
25949 * resource/setpriority.c: Likewise.
25950 * resource/setrlimit.c: Likewise.
25951 * resource/ulimit.c: Likewise.
25952 * rt/aio_cancel.c: Likewise.
25953 * rt/aio_fsync.c: Likewise.
25954 * rt/aio_read.c: Likewise.
25955 * rt/aio_sigqueue.c: Likewise.
25956 * rt/aio_suspend.c: Likewise.
25957 * rt/aio_write.c: Likewise.
25958 * rt/clock_getres.c: Likewise.
25959 * rt/clock_gettime.c: Likewise.
25960 * rt/clock_nanosleep.c: Likewise.
25961 * rt/clock_settime.c: Likewise.
25962 * rt/lio_listio.c: Likewise.
25963 * rt/mq_close.c: Likewise.
25964 * rt/mq_getattr.c: Likewise.
25965 * rt/mq_notify.c: Likewise.
25966 * rt/mq_open.c: Likewise.
25967 * rt/mq_receive.c: Likewise.
25968 * rt/mq_send.c: Likewise.
25969 * rt/mq_setattr.c: Likewise.
25970 * rt/mq_timedreceive.c: Likewise.
25971 * rt/mq_timedsend.c: Likewise.
25972 * rt/mq_unlink.c: Likewise.
25973 * rt/shm_open.c: Likewise.
25974 * rt/shm_unlink.c: Likewise.
25975 * rt/timer_create.c: Likewise.
25976 * rt/timer_delete.c: Likewise.
25977 * rt/timer_getoverr.c: Likewise.
25978 * rt/timer_gettime.c: Likewise.
25979 * rt/timer_settime.c: Likewise.
25980 * setjmp/__longjmp.c: Likewise.
25981 * setjmp/setjmp.c: Likewise.
25982 * signal/kill.c: Likewise.
25983 * signal/killpg.c: Likewise.
25984 * signal/raise.c: Likewise.
25985 * signal/sigaction.c: Likewise.
25986 * signal/sigaltstack.c: Likewise.
25987 * signal/sigblock.c: Likewise.
25988 * signal/sigignore.c: Likewise.
25989 * signal/sigintr.c: Likewise.
25990 * signal/signal.c: Likewise.
25991 * signal/sigpause.c: Likewise.
25992 * signal/sigpending.c: Likewise.
25993 * signal/sigqueue.c: Likewise.
25994 * signal/sigreturn.c: Likewise.
25995 * signal/sigset.c: Likewise.
25996 * signal/sigsetmask.c: Likewise.
25997 * signal/sigstack.c: Likewise.
25998 * signal/sigsuspend.c: Likewise.
25999 * signal/sigtimedwait.c: Likewise.
26000 * signal/sigvec.c: Likewise.
26001 * signal/sigwait.c: Likewise.
26002 * signal/sigwaitinfo.c: Likewise.
26003 * signal/sysv_signal.c: Likewise.
26004 * socket/accept.c: Likewise.
26005 * socket/accept4.c: Likewise.
26006 * socket/bind.c: Likewise.
26007 * socket/connect.c: Likewise.
26008 * socket/getpeername.c: Likewise.
26009 * socket/getsockname.c: Likewise.
26010 * socket/getsockopt.c: Likewise.
26011 * socket/isfdtype.c: Likewise.
26012 * socket/listen.c: Likewise.
26013 * socket/recv.c: Likewise.
26014 * socket/recvfrom.c: Likewise.
26015 * socket/recvmsg.c: Likewise.
26016 * socket/send.c: Likewise.
26017 * socket/sendmsg.c: Likewise.
26018 * socket/sendto.c: Likewise.
26019 * socket/setsockopt.c: Likewise.
26020 * socket/shutdown.c: Likewise.
26021 * socket/sockatmark.c: Likewise.
26022 * socket/socket.c: Likewise.
26023 * socket/socketpair.c: Likewise.
26024 * stdio-common/ctermid.c: Likewise.
26025 * stdio-common/cuserid.c: Likewise.
26026 * stdio-common/remove.c: Likewise.
26027 * stdio-common/rename.c: Likewise.
26028 * stdio-common/renameat.c: Likewise.
26029 * stdio-common/tempname.c: Likewise.
26030 * stdlib/getcontext.c: Likewise.
26031 * stdlib/makecontext.c: Likewise.
26032 * stdlib/setcontext.c: Likewise.
26033 * stdlib/swapcontext.c: Likewise.
26034 * stdlib/system.c: Likewise.
26035 * streams/fattach.c: Likewise.
26036 * streams/fdetach.c: Likewise.
26037 * streams/getmsg.c: Likewise.
26038 * streams/getpmsg.c: Likewise.
26039 * streams/putmsg.c: Likewise.
26040 * streams/putpmsg.c: Likewise.
26041 * sysdeps/unix/bsd/getpt.c: Likewise.
26042 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26043 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26044 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26047 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26048 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26049 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26050 * sysvipc/msgctl.c: Likewise.
26051 * sysvipc/msgget.c: Likewise.
26052 * sysvipc/msgrcv.c: Likewise.
26053 * sysvipc/msgsnd.c: Likewise.
26054 * sysvipc/semctl.c: Likewise.
26055 * sysvipc/semget.c: Likewise.
26056 * sysvipc/semop.c: Likewise.
26057 * sysvipc/semtimedop.c: Likewise.
26058 * sysvipc/shmat.c: Likewise.
26059 * sysvipc/shmctl.c: Likewise.
26060 * sysvipc/shmdt.c: Likewise.
26061 * sysvipc/shmget.c: Likewise.
26062 * termios/tcdrain.c: Likewise.
26063 * termios/tcflow.c: Likewise.
26064 * termios/tcflush.c: Likewise.
26065 * termios/tcgetattr.c: Likewise.
26066 * termios/tcgetpgrp.c: Likewise.
26067 * termios/tcsendbrk.c: Likewise.
26068 * termios/tcsetattr.c: Likewise.
26069 * termios/tcsetpgrp.c: Likewise.
26070 * time/adjtime.c: Likewise.
26071 * time/clock.c: Likewise.
26072 * time/getitimer.c: Likewise.
26073 * time/gettimeofday.c: Likewise.
26074 * time/setitimer.c: Likewise.
26075 * time/settimeofday.c: Likewise.
26076 * time/stime.c: Likewise.
26077 * time/time.c: Likewise.
26079 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26081 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26084 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26086 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26088 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26092 FE_TONEAREST before applying Dekker multiplication and Knuth
26093 addition. Clear inexact exceptions and check for exact zero
26094 results afterwards.
26095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26096 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26098 * math/libm-test.inc (fma_test): Add more tests.
26099 (fma_test_towardzero): Likewise.
26100 (fma_test_downward): Likewise.
26101 (fma_test_upward): Likewise.
26102 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26104 (libc_fesetround): New macro.
26105 (libc_fesetroundf): Likewise.
26106 (libc_fesetroundl): Likewise.
26107 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26109 (libc_fesetround_387): Likewise.
26110 (libc_fesetroundf): New macro.
26111 (libc_fesetround): Likewise.
26112 (libc_fesetroundl): Likewise.
26113 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26115 (libc_fesetroundf): New macro.
26116 (libc_fesetround): Likewise.
26117 (libc_fesetroundl): Likewise.
26118 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26119 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26120 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26122 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26123 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26125 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26126 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26128 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26132 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26133 integer constant usable in #if and use that to give value to enum
26135 (FE_DIVBYZERO): Likewise.
26136 (FE_UNDERFLOW): Likewise.
26137 (FE_OVERFLOW): Likewise.
26138 (FE_INVALID): Likewise.
26139 (FE_INVALID_SNAN): Likewise.
26140 (FE_INVALID_ISI): Likewise.
26141 (FE_INVALID_IDI): Likewise.
26142 (FE_INVALID_ZDZ): Likewise.
26143 (FE_INVALID_IMZ): Likewise.
26144 (FE_INVALID_COMPARE): Likewise.
26145 (FE_INVALID_SOFTWARE): Likewise.
26146 (FE_INVALID_SQRT): Likewise.
26147 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26148 (FE_TONEAREST): Likewise.
26149 (FE_TOWARDZERO): Likewise.
26150 (FE_UPWARD): Likewise.
26151 (FE_DOWNWARD): Likewise.
26152 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26153 (FE_DIVBYZERO): Likewise.
26154 (FE_OVERFLOW): Likewise.
26155 (FE_UNDERFLOW): Likewise.
26156 (FE_INEXACT): Likewise.
26157 (FE_TONEAREST): Likewise.
26158 (FE_DOWNWARD): Likewise.
26159 (FE_UPWARD): Likewise.
26160 (FE_TOWARDZERO): Likewise.
26161 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26162 (FE_UNDERFLOW): Likewise.
26163 (FE_OVERFLOW): Likewise.
26164 (FE_DIVBYZERO): Likewise.
26165 (FE_INVALID): Likewise.
26166 (FE_TONEAREST): Likewise.
26167 (FE_TOWARDZERO): Likewise.
26168 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26169 (FE_OVERFLOW): Likewise.
26170 (FE_UNDERFLOW): Likewise.
26171 (FE_DIVBYZERO): Likewise.
26172 (FE_INEXACT): Likewise.
26173 (FE_TONEAREST): Likewise.
26174 (FE_TOWARDZERO): Likewise.
26175 (FE_UPWARD): Likewise.
26176 (FE_DOWNWARD): Likewise.
26177 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26178 (FE_DIVBYZERO): Likewise.
26179 (FE_OVERFLOW): Likewise.
26180 (FE_UNDERFLOW): Likewise.
26181 (FE_INEXACT): Likewise.
26182 (FE_TONEAREST): Likewise.
26183 (FE_DOWNWARD): Likewise.
26184 (FE_UPWARD): Likewise.
26185 (FE_TOWARDZERO): Likewise.
26187 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26189 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26191 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26193 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26194 commands. Quote $PWD.
26195 (blacklist_exports): Don't use remove_newlines. Replace "declare
26197 (remove_newlines): Remove.
26199 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26201 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26202 * stdlib/stdlib.h (atof): Moved to ...
26203 * include/bits/stdlib-float.h: Here. New file.
26204 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26205 * stdlib/bits/stdlib-float.h: New file.
26206 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26208 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26211 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26213 * conform/conformtest.pl (@headers): Add fenv.h.
26214 * conform/data/fenv.h-data: New file.
26215 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26216 include of <math/fenv.h>.
26218 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26219 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26220 && !UNIX98]. Enables tests for XOPEN2K8.
26221 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26222 POSIX2008]: Likewise.
26224 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26225 (struct rusage): Do not expect type or its members.
26228 * math/math.h (FP_NAN): Define macro to integer constant usable in
26229 #if and use that to give value to enum constant.
26230 (FP_INFINITE): Likewise.
26231 (FP_ZERO): Likewise.
26232 (FP_SUBNORMAL): Likewise.
26233 (FP_NORMAL): Likewise.
26235 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26237 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26238 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26241 2012-11-02 Roland McGrath <roland@hack.frob.com>
26243 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26244 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26245 autoconf-time if not.
26246 * configure.in: Remove AC_PREREQ.
26248 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26250 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26251 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26252 of the internal implementation.
26254 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26256 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26257 except include of <misc/sys/syslog.h>.
26259 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26262 function returns with a NULL context exit with zero.
26264 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26266 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26268 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26270 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26271 (run_program_cmd): This.
26272 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26273 (tst_langinfo): New variable. Use it.
26275 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26277 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26278 floating point opcodes.
26280 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26282 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26285 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26287 * sysdeps/mach/hurd/powerpc: Remove directory.
26288 * sysdeps/mach/powerpc: Likewise.
26290 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26292 * scripts/check-local-headers.sh: Ignore c++ headers.
26294 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26296 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26297 __libc_cleanup_region_start argument.
26299 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26304 x * y using scaling, not as x * y + z.
26305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26307 * math/libm-test.inc (fma_test): Add more tests.
26308 (fma_test_towardzero): Likewise.
26309 (fma_test_downward): Likewise.
26310 (fma_test_upward): Likewise.
26312 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26314 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26316 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26318 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26321 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26323 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26325 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26332 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26335 Fix the order of the list for glibc 2.17.
26336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26339 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26343 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26346 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26347 for low part of x being zero before using __atanl (y).
26348 * math/libm-test.inc (atan2_test): Add another test.
26350 * manual/install.texi (Configuring and compiling): Document
26351 general use of test-wrapper and test-wrapper-env.
26352 * INSTALL: Regenerated.
26354 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26355 (__fma): Do not extract and scale down low bits on after-rounding
26356 systems when result rounded to normal precision would have normal
26358 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26359 (__fmal): Do not extract and scale down low bits on after-rounding
26360 systems when result rounded to normal precision would have normal
26362 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26363 (__fmal): Do not extract and scale down low bits on after-rounding
26364 systems when result rounded to normal precision would have normal
26366 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26368 (fma_test): Add more tests.
26369 (fma_test_towardzero): Likewise.
26370 (fma_test_downward): Likewise.
26371 (fma_test_upward): Likewise.
26373 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26375 * sysdeps/i386/tininess.h: Renamed to ...
26376 * sysdeps/x86/tininess.h: This.
26377 * sysdeps/x86_64/tininess.h: Removed.
26379 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26381 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26382 input. Use $(build-program-cmd).
26383 ($(objpfx)tst-array1-static.out): Likewise.
26384 ($(objpfx)tst-array2.out): Likewise.
26385 ($(objpfx)tst-array3.out): Likewise.
26386 ($(objpfx)tst-array4.out): Likewise.
26387 ($(objpfx)tst-array5.out): Likewise.
26388 ($(objpfx)tst-array5-static.out): Likewise.
26390 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26392 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26395 * nss/nsswitch.h (nss_interface_function): Provide new
26396 macro for use with NSS functions.
26397 * grp/initgroups.c: Use new macro.
26398 * nss/getXXbyYY.c: Likewise.
26399 * nss/getXXbyYY_r.c: Likewise.
26400 * nss/getXXent.c: Likewise.
26401 * nss/getXXent_r.c: Likewise.
26402 * sysdeps/posix/getaddrinfo.c: Likewise.
26404 2012-10-30 Andreas Jaeger <aj@suse.de>
26406 * po/ru.po: Update Russion translation from translation project.
26408 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26413 result and shift together with sticky bit instead of replicating
26414 round-to-nearest rounding.
26415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26417 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26418 missing underflow exceptions.
26419 (fma_test_towardzero): Add more tests.
26420 (fma_test_downward): Likewise.
26421 (fma_test_upward): Likewise.
26424 * sysdeps/generic/tininess.h: New file.
26425 * sysdeps/i386/tininess.h: Likewise.
26426 * sysdeps/sh/tininess.h: Likewise.
26427 * sysdeps/x86_64/tininess.h: Likewise.
26428 * stdlib/tst-strtod-underflow.c: Likewise.
26429 * stdlib/tst-tininess.c: Likewise.
26430 * stdlib/strtod_l.c: Include <tininess.h>.
26431 (round_and_return): Do not set errno for exact underflow cases.
26432 Force an underflow exception when setting errno for underflow.
26433 Determine underflow based on rounding to normal precision if
26434 TININESS_AFTER_ROUNDING.
26435 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26436 ERANGE for exact underflow cases.
26437 * stdlib/Makefile (tests): Add tst-tininess and
26438 tst-strtod-underflow.
26439 ($(objpfx)tst-tininess): Use $(link-libm).
26440 ($(objpfx)tst-strtod-underflow): Likewise.
26442 2012-10-30 Andreas Jaeger <aj@suse.de>
26445 * elf/Makefile (tests): Remove conditional for have-initfini-array
26446 since this is now always required and the variable does not exist
26448 (tests-static): Likewise.
26449 (modules-names): Likewise.
26451 * po/eo.po: Add Esperanto translation from translation project.
26453 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26454 merged with constructor/destructor.
26455 (init_array): Likewise.
26456 * elf/tst-array2dep.c (fini_array): Likewise.
26457 (init_array): Likewise.
26459 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26461 * manual/message.texi: Delete @cartouche tags.
26463 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26465 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26467 * sysdeps/mach/hurd/fsync.c: Likewise.
26469 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26470 [_POSIX_REALTIME_SIGNALS]: Change condition to
26471 [_POSIX_REALTIME_SIGNALS > 0].
26473 2012-10-27 Andreas Jaeger <aj@suse.de>
26475 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26476 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26478 [__WORDSIZE != 64]: Likewise.
26480 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26482 * iconvdata/tst-table.sh: Remove ${SHELL}.
26483 * iconvdata/tst-tables.sh: Likewise.
26485 2012-10-25 David S. Miller <davem@davemloft.net>
26487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26488 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26493 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26494 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26495 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26498 2012-10-25 Roland McGrath <roland@hack.frob.com>
26500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26501 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26504 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26505 Jim Blandy <jimb@codesourcery.com>
26507 * scripts/cross-test-ssh.sh: New file.
26508 * manual/install.texi (Configuring and compiling): Document use of
26510 * INSTALL: Regenerated.
26512 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26514 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26517 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26519 * Makeconfig (run-program-prefix): Fix comment.
26521 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26522 Jim Blandy <jimb@codesourcery.com>
26524 * Makeconfig (test-wrapper): New variable,
26525 (test-wrapper-env): Likewise.
26526 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26527 (run-built-tests): Define to yes.
26528 (run-program-prefix): Use $(test-wrapper).
26529 (built-program-cmd): Likewise.
26530 * Rules (make-test-out): Use $(test-wrapper-env) and
26531 $(host-built-program-cmd).
26532 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26533 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26535 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26536 $(test-wrapper-env) to tst-rtld-load-self.sh.
26537 ($(objpfx)order2.out): Use $(test-wrapper).
26538 ($(objpfx)tst-initorder.out): Likewise.
26539 ($(objpfx)tst-initorder2.out): Likewise.
26540 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26541 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26542 (test_wrapper_env): New variable. Use it to run ld.so.
26543 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26544 Use it to run ld.so.
26545 (test_wrapper_env): Likewise.
26546 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26547 $(test-wrapper) to run-iconv-test.sh.
26548 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26549 (ICONV): Use $test_wrapper.
26550 * posix/Makefile ($(objpfx)globtest.out): Pass
26551 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26552 globtest.sh, not $(run-program-prefix).
26553 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26554 (test_wrapper): Likewise.
26555 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26556 set together with run_via_rtld_prefix.
26557 (run_program_prefix): Define in terms of test_wrapper and
26558 run_via_rtld_prefix.
26560 2012-10-24 Roland McGrath <roland@hack.frob.com>
26562 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26563 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26567 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26568 Declare __clock_getres, __clock_gettime, __clock_settime,
26569 __clock_nanosleep, and __clock_getcpuclockid.
26570 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26571 Remove librt_hidden_def (clock_gettime).
26572 * sysdeps/unix/clock_gettime.c: Likewise.
26573 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26575 * rt/clock_getres.c: Define __clock_getres as an alias.
26576 * sysdeps/posix/clock_getres.c: Likewise.
26577 * rt/clock_settime.c: Define __clock_settime as an alias.
26578 * sysdeps/unix/clock_settime.c: Likewise.
26579 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26580 * sysdeps/unix/clock_nanosleep.c: Likewise.
26581 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26582 * rt/clock-compat.c: New file.
26583 * rt/Makefile (librt-routines): Add clock-compat and move
26584 $(clock-routines) to ...
26585 (routines): ... here, new variable.
26586 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26587 Don't add get_clockfreq here.
26588 * rt/Versions (libc: GLIBC_2.17): New version set.
26589 Add clock_* symbols here.
26590 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26592 (GLIBC_2.17): Add clock_* symbols.
26593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26604 * NEWS: Mention the move.
26606 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26607 Use __open, __read, __close rather than their public counterparts.
26608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26609 (__get_clockfreq_via_cpuinfo): Likewise.
26610 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26611 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26613 * config.h.in (HAVE_IFUNC): New #undef.
26614 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26616 * configure: Regenerated.
26618 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26620 * configure.in: Move READELF check to start of file.
26621 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26622 libc_cv_asm_gnu_indirect_function in the process.
26623 * configure: Regenerated.
26625 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26627 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26628 send the output to /dev/null.
26629 (libc_cv_cc_with_libunwind): Likewise.
26630 (libc_cv_as_noexecstack): Likewise.
26631 * configure: Regenerate.
26633 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26635 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26637 * posix/globtest.sh (TMPDIR): Do not set.
26638 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26639 (testout): Likewise.
26641 2012-10-24 Andreas Jaeger <aj@suse.de>
26643 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26644 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26645 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26646 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26647 posix_fadvise64, posix_fallocate64.
26649 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26650 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26651 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26653 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26655 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26658 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26659 <bits/fcntl-linux.h>.
26660 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26663 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26664 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26665 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26666 [__WORDSIZE != 64]: Likewise.
26668 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26670 * Makeconfig (run-built-tests): New variable.
26671 * Rules [$(cross-compiling) = yes]: Change condition to
26672 [$(run-built-tests) = no].
26673 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26674 to [$(run-built-tests) = yes].
26675 * elf/Makefile [$(cross-compiling) = no]: Likewise
26676 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26677 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26678 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26679 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26680 * io/Makefile [$(cross-compiling) = no]: Likewise.
26681 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26682 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26683 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26684 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26685 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26686 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26687 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26688 * string/Makefile [$(cross-compiling) = no]: Likewise.
26690 * posix/Makefile ($(objpfx)globtest.out): Pass
26691 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26692 $(rtld-installed-name).
26693 * posix/globtest.sh (elf_objpfx): Remove variable.
26694 (rtld_installed_name): Likewise.
26695 (library_path): Likewise.
26696 (run_program_prefix): New variable. Use for running globtest
26699 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26700 Joseph Myers <joseph@codesourcery.com>
26702 * Makeconfig (host-built-program-cmd): New variable.
26703 * elf/Makefile (tst-stackguard1-ARGS): Use
26704 $(host-built-program-cmd).
26705 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26706 (tst-spawn-ARGS): Likewise.
26707 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26709 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26710 Jim Blandy <jimb@codesourcery.com>
26712 * Makeconfig (run-via-rtld-prefix): New variable.
26713 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26714 (built-program-cmd): Likewise.
26716 2012-10-22 Andreas Jaeger <aj@suse.de>
26718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26719 __O_RSYNC if it exists, otherwise to O_SYNC.
26721 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26722 Joseph Myers <joseph@codesourcery.com>
26724 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26726 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26728 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26731 2012-10-22 Andreas Jaeger <aj@suse.de>
26733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26738 bits/fcntl-linux.h.
26740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26741 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26748 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26749 Joseph Myers <joseph@codesourcery.com>
26751 * config.make.in (NM): New variable.
26753 2012-10-21 Andreas Jaeger <aj@suse.de>
26755 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26756 definitions and declarations that are provided by
26757 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26759 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26762 * elf/Makefile (tests-static): Add tst-leaks1-static.
26763 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26764 ($(objpfx)tst-leaks1-static): New rule.
26765 ($(objpfx)tst-leaks1-static-mem): Likewise.
26766 (tst-leaks1-static-ENV): New macro.
26767 * elf/dl-open.c (dl_open_worker): Check the main application
26768 only if SHARED is defined.
26769 * elf/tst-leaks1-static.c: New file.
26771 2012-10-20 Andreas Jaeger <aj@suse.de>
26773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26774 generic values for Linux.
26775 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26776 and declarations that are provided by <bits/fcntl-linux.h> and
26777 include <bits/fcntl-linux.h>.
26778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26779 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26781 2012-10-20 Roland McGrath <roland@hack.frob.com>
26783 * io/fcntl.h: Move include of <bits/types.h> to the top and
26784 include it unconditionally.
26786 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26788 * wcsmbs/Makefile (tests-ifunc): New variable.
26789 (tests): Add $(tests-ifunc).
26790 * wcsmbs/test-wcschr-ifunc.c: New file.
26791 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26792 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26793 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26794 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26795 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26797 * string/Makefile (tests-ifunc): New variable.
26798 (tests): Add $(tests-ifunc).
26799 * string/test-memccpy.c (TEST_NAME): New macro.
26800 * string/test-memchr.c (TEST_NAME): Likewise.
26801 * string/test-memcmp.c (TEST_NAME): Likewise.
26802 * string/test-memcpy.c (TEST_NAME): Likewise.
26803 * string/test-memmem.c (TEST_NAME): Likewise.
26804 * string/test-memmove.c (TEST_NAME): Likewise.
26805 * string/test-memset.c (TEST_NAME): Likewise.
26806 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26807 * string/test-stpcpy.c (TEST_NAME): Likewise.
26808 * string/test-stpncpy.c (TEST_NAME): Likewise.
26809 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26810 * string/test-strcasestr.c (TEST_NAME): Likewise.
26811 * string/test-strcat.c (TEST_NAME): Likewise.
26812 * string/test-strchr.c (TEST_NAME): Likewise.
26813 * string/test-strcmp.c(TEST_NAME): Likewise.
26814 * string/test-strcpy.c (TEST_NAME): Likewise.
26815 * string/test-strcspn.c (TEST_NAME): Likewise.
26816 * string/test-strlen.c (TEST_NAME): Likewise.
26817 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26818 * string/test-strncmp.c (TEST_NAME): Likewise.
26819 * string/test-strncpy.c (TEST_NAME): Likewise.
26820 * string/test-strnlen.c (TEST_NAME): Likewise.
26821 * string/test-strpbrk.c (TEST_NAME): Likewise.
26822 * string/test-strrchr.c (TEST_NAME): Likewise.
26823 * string/test-strspn.c (TEST_NAME): Likewise.
26824 * string/test-strstr.c (TEST_NAME): Likewise.
26825 * string/test-bcopy-ifunc.c: New file.
26826 * string/test-bzero-ifunc.c: Likewise.
26827 * string/test-memccpy-ifunc.c: Likewise.
26828 * string/test-memchr-ifunc.c: Likewise.
26829 * string/test-memcmp-ifunc.c: Likewise.
26830 * string/test-memcpy-ifunc.c: Likewise.
26831 * string/test-memmem-ifunc.c: Likewise.
26832 * string/test-memmove-ifunc.c: Likewise.
26833 * string/test-mempcpy-ifunc.c: Likewise.
26834 * string/test-memset-ifunc.c: Likewise.
26835 * string/test-rawmemchr-ifunc.c: Likewise.
26836 * string/test-stpcpy-ifunc.c: Likewise.
26837 * string/test-stpncpy-ifunc.c: Likewise.
26838 * string/test-strcasecmp-ifunc.c: Likewise.
26839 * string/test-strcasestr-ifunc.c: Likewise.
26840 * string/test-strcat-ifunc.c: Likewise.
26841 * string/test-strchr-ifunc.c: Likewise.
26842 * string/test-strchrnul-ifunc.c: Likewise.
26843 * string/test-strcmp-ifunc.c: Likewise.
26844 * string/test-strcpy-ifunc.c: Likewise.
26845 * string/test-strcspn-ifunc.c: Likewise.
26846 * string/test-strlen-ifunc.c: Likewise.
26847 * string/test-strncasecmp-ifunc.c: Likewise.
26848 * string/test-strncat-ifunc.c: Likewise.
26849 * string/test-strncmp-ifunc.c: Likewise.
26850 * string/test-strncpy-ifunc.c: Likewise.
26851 * string/test-strnlen-ifunc.c: Likewise.
26852 * string/test-strpbrk-ifunc.c: Likewise.
26853 * string/test-strrchr-ifunc.c: Likewise.
26854 * string/test-strspn-ifunc.c: Likewise.
26855 * string/test-strstr-ifunc.c: Likewise.
26857 * debug/Makefile (tests-ifunc): New variable.
26858 (tests): Add $(tests-ifunc).
26859 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26860 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26861 * debug/test-stpcpy_chk-ifunc.c: New file.
26862 * debug/test-strcpy_chk-ifunc.c: Likewise.
26864 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26867 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26868 header is not read in.
26870 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26872 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26873 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26874 directly. Pass built executable to script as
26875 $(built-program-cmd).
26876 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26877 $testprogram without using LD_LIBRARY_PATH and $ldso.
26879 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26880 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26881 $(rtld-installed-name).
26882 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26883 (rtld_installed_name): Likewise.
26884 (library_path): Likewise.
26885 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26886 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26887 $(run-program-prefix) to tst-tables.sh.
26888 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26889 it to run tst-table-from and tst-table-to.
26890 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26891 Pass it to tst-table.sh.
26892 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26893 $(run-program-prefix) to tst-gettext.sh.
26894 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26896 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26898 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26899 to run tst-gettext.
26900 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26901 to run tst-gettext2.
26902 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26903 to run tst-translit.
26904 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26905 $(run-program-prefix) to tst-mtrace.sh.
26906 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26908 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26909 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26910 $(rtld-installed-name).
26911 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26912 (rtld_installed_name): Likewise.
26913 (run_program_prefix): New variable. Use it to run wordexp-test.
26915 * Makeconfig (ARCH): Remove all definitions.
26916 (machine): Likewise.
26917 [ARCH]: Remove conditional code.
26918 [!objdir]: Give error.
26919 [!objdir] (objpfx): Remove.
26920 [!objdir] (common-objpfx): Likewise.
26921 [!objdir] (common-objdir): Likewise.
26922 * configure.in (config_makefile): Remove. Hardcode Makefile in
26923 AC_CONFIG_FILES call.
26924 * configure: Regenerated.
26927 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26929 (testout): Likewise.
26931 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26932 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26933 $(rtld-installed-name).
26934 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26935 (rtld_installed_name): Likwise.
26936 (runit): Remove function.
26937 (run_getconf): New variable, Use it for running getconf binary.
26939 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26942 * string/test-memmem.c (check_result): New function.
26943 (do_one_test): Use it.
26944 (check1): New function.
26945 (test_main): Use it.
26947 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26949 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26951 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26953 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26954 (_G_LSEEK64): Likewise.
26955 (_G_MMAP64): Likewise.
26956 (_G_FSTAT64): Likewise.
26957 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26958 (_G_LSEEK64): Likewise.
26959 (_G_MMAP64): Likewise.
26960 (_G_FSTAT64): Likewise.
26961 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26962 unconditional. Call __mmap64 directly.
26963 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26964 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26965 __lseek64 directly.
26966 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26967 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26969 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26970 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26971 __lseek64 directly.
26972 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26973 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26974 __lseek64 directly.
26975 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26976 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26977 __lseek64 directly.
26978 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26979 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26980 __fxstat64 directly.
26981 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26982 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26984 (freopen64) [!_G_OPEN64]: Remove conditional code.
26985 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26987 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26988 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26990 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26991 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26993 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26994 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26996 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26997 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26999 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27000 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27002 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27003 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27005 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27007 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27010 * manual/memory.texi (Malloc Tunable Parameters): Add note
27011 about free list pointers overwriting some perturb bytes.
27012 Wording suggested by Roland McGrath.
27014 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27016 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27017 (lgamma_test): Likewise.
27018 (tgamma_test): Likewise.
27020 2012-10-16 Florian Weimer <fweimer@redhat.com>
27023 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27024 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27026 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27028 * NEWS: Mention BZ #14716.
27029 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27030 when removing AVAILABLE1_USES_J macro.
27032 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27034 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27035 (__bswap_64): __uint64_t for unsigned 64-bit int.
27037 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27039 * include/string.h (memmem): Declare libc hidden alias.
27040 * string/memmem.c (memmem): Define libc hidden alias.
27041 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27042 __read, __close instead of open, read, close.
27044 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27047 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27049 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27050 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27051 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27053 (__rawmemchr_sse2): Likewise.
27054 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27055 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27056 (__strchr_sse2): Likewise.
27057 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27058 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27059 (__strcasecmp_sse2): Likewise.
27060 (__strncasecmp_sse2): Likewise.
27061 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27062 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27063 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27064 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27065 (__strrchr_sse2): Likewise.
27066 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27068 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27069 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27070 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27071 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27072 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27073 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27074 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27075 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27076 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27077 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27078 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27079 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27080 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27081 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27082 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27083 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27084 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27085 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27086 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27087 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27088 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27089 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27090 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27091 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27092 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27093 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27094 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27095 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27096 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27097 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27099 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27101 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27102 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27103 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27104 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27106 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27108 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27109 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27110 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27111 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27114 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27115 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27116 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27117 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27118 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27119 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27120 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27121 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27122 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27123 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27124 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27125 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27126 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27127 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27128 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27129 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27130 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27131 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27132 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27133 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27134 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27135 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27136 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27137 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27138 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27139 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27140 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27141 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27142 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27143 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27144 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27145 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27146 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27147 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27148 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27149 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27150 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27151 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27152 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27153 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27155 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27156 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27157 * include/ifunc-impl-list.h: New file.
27158 * misc/ifunc-impl-list.c: Likewise.
27159 * misc/Makefile (routines): Add ifunc-impl-list.
27160 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27161 * string/test-string.h: Include <ifunc-impl-list.h>.
27162 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27163 TEST_NAME]: New variables.
27164 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27166 (test_init): Call __libc_ifunc_impl_list to initialize
27167 func_list if TEST_IFUNC and TEST_NAME are defined.
27169 * string/Makefile (strop-tests): Add bcopy and bzero.
27170 * string/test-bcopy.c: New file.
27171 * string/test-bzero.c: Likewise.
27172 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27174 * string/test-memset.c: Support bzero test if TEST_BZERO is
27176 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27178 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27180 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27183 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27185 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27186 * configure: Regenerated.
27188 * Makeconfig (+link-static-before-libc): Don't include
27189 $(link-static-libc).
27191 * libio/libio.h (_IO_pos_t): Remove.
27193 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27195 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27198 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27200 * crypt/crypt-entry.c: Include fips-private.h.
27201 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27202 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27203 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27204 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27206 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27208 * crypt/crypt-private.h: Include stdbool.h.
27209 (_ufc_setup_salt_r): Return bool.
27210 * crypt/crypt-entry.c: Include errno.h.
27211 (__crypt_r): Return NULL with EINVAL for bad salt.
27212 * crypt/crypt_util.c (bad_for_salt): New.
27213 (_ufc_setup_salt_r): Check that salt is long enough and within
27214 the specified alphabet.
27215 * crypt/badsalttest.c: New file.
27216 * crypt/Makefile (tests): Add it.
27217 ($(objpfx)badsalttest): New.
27219 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27221 * NEWS: Add entry for BZ #14602.
27223 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27225 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27227 * math/libm-test.inc: Update comment listing what functions and
27229 (isgreater_test): New function.
27230 (isgreaterequal_test): Likewise.
27231 (isless_test): Likewise.
27232 (islessequal_test): Likewise.
27233 (islessgreater_test): Likewise.
27234 (isunordered_test): Likewise.
27235 (main): Call the new functions.
27237 2012-10-09 Roland McGrath <roland@hack.frob.com>
27239 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27240 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27241 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27242 * sysdeps/i386/configure: Regenerated.
27243 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27244 * sysdeps/mach/configure: Regenerated.
27245 * sysdeps/mach/hurd/configure: Regenerated.
27246 * sysdeps/powerpc/configure: Regenerated.
27247 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27248 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27249 * sysdeps/s390/s390-32/configure: Regenerated.
27250 * sysdeps/s390/s390-64/configure: Regenerated.
27251 * sysdeps/sh/configure: Regenerated.
27252 * sysdeps/sparc/configure: Regenerated.
27253 * sysdeps/unix/sysv/linux/configure: Regenerated.
27254 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27255 * sysdeps/x86_64/configure: Regenerated.
27257 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27258 defined. Don't check if MAP is NULL.
27260 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27262 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27263 (_G_stat64): Likewise.
27264 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27265 (_G_stat64): Likewise.
27266 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27267 instead of struct _G_stat64.
27268 * libio/fileops.c (mmap_remap_check): Likewise.
27269 (decide_maybe_mmap): Likewise.
27270 (_IO_new_file_seekoff): Likewise.
27271 (_IO_file_stat): Likewise.
27272 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27274 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27275 instead of struct _G_stat64.
27276 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27278 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27281 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27283 (CHECK_EOL): New macro.
27284 (two_way_short_needle): Check beginning of haystack for EOL. Use
27286 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27287 Replace with CHECK_EOL.
27288 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27289 Replace with CHECK_EOL.
27291 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27293 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27295 * math/libm-test.inc: Update comment listing what functions and
27297 (finite_test): New function.
27298 (isinf_test): Likewise.
27299 (isnan_test): Likewise.
27300 (fpclassify_test): Test subnormal input.
27301 (isfinite_test): Likewise.
27302 (isnormal_test): Likewise.
27303 (main): Call the new functions.
27305 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27308 * Makerules (%.dynsym): Force C locale when running
27309 $(OBJDUMP) --dynamic-syms.
27311 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27313 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27316 2012-10-06 David S. Miller <davem@davemloft.net>
27318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27319 upper 32-bits of the length value in %o2 since we use branch-on-register
27320 tests which consider the entire 64-bit register.
27322 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27324 * string/test-strstr.c (check2): Add a test for page boundary.
27326 2012-10-05 David S. Miller <davem@davemloft.net>
27328 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27329 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27331 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27333 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27334 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27335 and bzero when HWCAP_SPARC_CRYPTO is present.
27337 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27340 * string/test-strstr.c (check2): New function.
27341 (test_main): Call check2.
27343 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27345 * string/bug-strcasestr1.c (do_test): Moved to ...
27346 * string/test-strcasestr.c (check1): Here. New function.
27347 (do_one_test): Break out result checking code into ...
27348 (check_result): This. New function.
27349 (do_one_test): Call check_result.
27350 (test_main): Call check1.
27351 * string/bug-strchr1.c (do_test): Moved to ...
27352 * string/test-strchr.c (check1): Here. New function.
27353 (do_one_test): Break out result checking code into ...
27354 (check_result): This. New function.
27355 (do_one_test): Call check_result.
27356 (test_main): Call check1.
27357 * string/bug-strstr1.c (main): Moved to ...
27358 * string/test-strstr.c (check1): Here. New function.
27359 (do_one_test): Break out result checking code into ...
27360 (check_result): This. New function.
27361 (do_one_test): Call check_result.
27362 (test_main): Call check1.
27363 * string/bug-strcasestr1.c: Removed.
27364 * string/bug-strchr1.c: Likewise.
27365 * string/bug-strstr1.c: Likewise.
27367 * elf/Makefile (dl-routines): Add hwcaps.
27368 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27369 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27370 (_dl_important_hwcaps): Moved to ...
27371 * elf/dl-hwcaps.c: Here. New file.
27372 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27375 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27376 if IS_IN_rtld isn't defined.
27378 * elf/dl-support.c (_dl_sysinfo_map): New.
27379 Include "get-dynamic-info.h" and "setup-vdso.h".
27380 (_dl_non_dynamic_init): Call setup_vdso.
27381 * elf/dynamic-link.h: Don't include <assert.h>.
27382 (elf_get_dynamic_info): Moved to ...
27383 * elf/get-dynamic-info.h: Here. New file.
27384 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27385 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27386 * elf/setup-vdso.h: Here. New file.
27387 * elf/rtld.c: Include "setup-vdso.h".
27388 (dl_main): Call setup_vdso.
27390 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27392 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27393 creal in comment listing functions tested. List finite, isinf,
27394 isnan, isless, islessequal, isgreater, isgreaterequal,
27395 islessgreater, isunordered, lgamma_r and pow10 as functions and
27396 macros not tested. Mention which functions not tested are aliases
27397 for other functions. Fix typo. Note that signs of NaNs are not
27400 * scripts/config.guess: Update from config.git.
27401 * scripts/config.sub: Likewise.
27403 2012-10-04 Roland McGrath <roland@hack.frob.com>
27405 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27406 * misc/madvise.c (madvise): Renamed to __madvise.
27407 Make madvise a weak alias.
27408 * include/sys/mman.h: Declare __madvise.
27409 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27410 * sysdeps/unix/syscalls.list
27411 (madvise): Make __madvise the strong name, and madvise a weak alias.
27412 * sysdeps/unix/sysv/linux/syscalls.list
27413 (madvise, mmap): Remove redundant entries.
27414 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27415 * malloc/malloc.c (mtrim): Likewise.
27416 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27418 2012-10-03 Roland McGrath <roland@hack.frob.com>
27420 * sysdeps/mach/hurd/dl-cache.c: File removed.
27421 * config.h.in (USE_LDCONFIG): New #undef.
27422 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27423 * configure: Regenerated.
27424 * elf/Makefile (dl-routines): Add dl-cache only under
27425 [$(use-ldconfig) = yes].
27426 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27427 cache on [USE_LDCONFIG].
27428 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27430 * elf/rtld.c (dl_main): Likewise.
27432 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27434 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27435 _SC_LEVEL4_CACHE_LINESIZE.
27437 2012-10-03 Roland McGrath <roland@hack.frob.com>
27439 * sysdeps/unix/bsd/confstr.h: File removed.
27441 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27443 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27446 2012-10-02 Roland McGrath <roland@hack.frob.com>
27448 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27449 Make 'mapoff' field ElfW(Off) rather than off_t.
27451 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27453 * nscd/Makefile: Remove nscd-cflags and all its users.
27454 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27455 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27458 * malloc.c (malloc_printerr): Clarify error message.
27460 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27464 Set bit_FMA_Usable if FMA is supported.
27465 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27467 (bit_FMA4_Usable): Updated.
27468 (index_FMA_Usable): New macro.
27469 (CPUID_FMA): Likewise
27470 (HAS_FMA): Defined with bit_FMA_Usable.
27472 2012-10-01 Roland McGrath <roland@hack.frob.com>
27474 * bits/types.h (__swblk_t): Type removed.
27475 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27476 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27478 (__SWBLK_T_TYPE): Likewise.
27479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27480 (__SWBLK_T_TYPE): Likewise.
27481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27482 (__SWBLK_T_TYPE): Likewise.
27483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27484 (__SWBLK_T_TYPE): Likewise.
27486 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27487 Honza Horak <hhorak@redhat.com>
27489 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27490 (xdr_mapname): Use YPMAXMAP as maxsize.
27491 (xdr_peername): Use YPMAXPEER as maxsize.
27492 (xdr_keydat): Use YPAXRECORD as maxsize.
27493 (xdr_valdat): Use YPMAXRECORD as maxsize.
27495 2012-10-01 Roland McGrath <roland@hack.frob.com>
27497 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27499 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27500 * csu/init-first.c: ... here.
27501 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27502 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27503 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27504 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27505 * sysdeps/i386/init-first.c: File removed.
27506 * sysdeps/sh/init-first.c: File removed.
27508 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27512 if x * y might underflow to zero and z is zero.
27513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27515 * math/libm-test.inc (min_subnorm_value): New variable.
27516 (fma_test): Add more tests.
27517 (fma_test_towardzero): Likewise.
27518 (fma_test_downward): Likewise
27519 (fma_test_upward): Likewise.
27520 (initialize): Set min_subnorm_value.
27522 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27528 mode for addition resulting in exact zero.
27529 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27532 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27534 * math/libm-test.inc (fma_test): Add more tests.
27535 (fma_test_towardzero): New function.
27536 (fma_test_downward): Likewise.
27537 (fma_test_upward): Likewise.
27538 (main): Call the new functions.
27540 2012-09-28 David S. Miller <davem@davemloft.net>
27542 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27544 2012-09-28 Roland McGrath <roland@hack.frob.com>
27546 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27547 instead of SIGALRM.
27549 * sysdeps/gnu/_G_config.h: Moved to ...
27550 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27551 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27552 * sysdeps/generic/_G_config.h: ... here.
27554 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27556 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27558 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27559 Conditionalize target on [libnss_test1.so-version].
27561 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27563 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27564 (elfobjdir): Move out of conditionals.
27566 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27567 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27568 (__nss_lookup_function): Conditionalize label remove_from_tree on
27569 [!DO_STATIC_NSS || SHARED], matching its only use.
27571 2012-09-28 David S. Miller <davem@davemloft.net>
27573 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27574 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27576 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27578 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27580 when HWCAP_SPARC_CRYPTO is present.
27582 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27584 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27586 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27589 * stdio-common/vfprintf.c (process_string_arg): Revert
27592 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27594 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27596 * stdio-common/tst-sprintf.c: Include <locale.h>
27597 (main): Test sprintf's handling of incomplete multibyte
27600 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27602 * elf/dl-runtime.c (VERSYMIDX): Removed.
27603 * elf/dl-version.c (VERSYMIDX): Likewise.
27604 * elf/do-rel.h (VERSYMIDX): Likewise.
27605 (VALIDX): Likewise.
27606 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27607 * elf/rtld.c (VALIDX): Likewise.
27608 (ADDRIDX): Likewise.
27609 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27610 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27611 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27612 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27613 (VALIDX): Likewise.
27614 (ADDRIDX): Likewise.
27616 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27618 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27620 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27623 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27625 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27626 addresses are in the same scope as 192.0.2/24.
27627 * posix/gai.conf: Document new scope table defaults.
27629 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27632 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27633 for ftell. Compute offsets from write pointers instead.
27634 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27636 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27639 * libio/Makefile (tests): New test case tst-fseek.
27640 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27641 combination works in wide mode.
27642 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27643 state when the external buffer state changes.
27645 2012-09-27 David S. Miller <davem@davemloft.net>
27648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27649 pass reloc->r_addend in as the 'high' argument to
27650 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27654 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27656 * rt/tst-aio2.c: Include <pthread.h>.
27657 * rt/tst-aio3.c: Likewise.
27659 2012-09-27 Steve Ellcey <sellcey@mips.com>
27661 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27663 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27665 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27666 contents on [SHARED].
27668 2012-09-26 Marek Polacek <polacek@redhat.com>
27672 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27673 for C++ and GCC <4.3 as well as for non GCC compilers.
27675 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27679 2012-09-25 Roland McGrath <roland@hack.frob.com>
27681 * Makefile.in (all, install): Declare with .PHONY.
27682 Reported by Michael Hope <michael.hope@linaro.org>.
27684 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27686 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27687 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27689 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27691 (sydep_routines): Add the new and the internal functions.
27692 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27693 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27695 (GLIBC_2.17): Add the new function.
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27697 (GLIBC_2.17): Likewise.
27698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27699 (GLIBC_2.17): Likewise.
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27701 (GLIBC_2.17): Likewise.
27702 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27704 2012-09-25 Alan Modra <amodra@gmail.com>
27706 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27707 Add release barrier before setting once_control to say
27708 initialisation is done. Add hints on lwarx. Use macro in
27710 (clear_once_control): Add release barrier.
27712 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27715 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27717 * math/s_clog10.c (__clog10): Likewise.
27718 * math/s_clog10f.c (__clog10f): Likewise.
27719 * math/s_clog10l.c (__clog10l): Likewise.
27720 * math/s_clogf.c (__clogf): Likewise.
27721 * math/s_clogl.c (__clogl): Likewise.
27722 * math/Makefile (libm-calls): Add x2y2m1.
27723 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27724 (__x2y2m1): Likewise.
27725 (__x2y2m1l): Likewise.
27726 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27727 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27730 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27731 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27732 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27733 * sysdeps/i386/fpu/libm-test-ulps: Update.
27734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27737 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27738 int as type of variable DEPTH.
27739 (glob): Use size_t instead of int as type of variables NEWCOUNT
27742 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27744 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27745 Add s_sincosf-sse2.
27746 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27747 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27748 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27749 macros for using routine as __sincosf_ia32.
27750 Use macro for function declaration and weak_alias.
27751 * sysdeps/i386/fpu/libm-test-ulps: Update.
27753 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27756 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27757 subnormal argument.
27758 * math/s_cexpf.c (__cexpf): Likewise.
27759 * math/s_csinf.c (__csinf): Likewise.
27760 * math/s_csinhf.c (__csinhf): Likewise.
27761 * math/s_ctanf.c (__ctanf): Likewise.
27762 * math/s_ctanhf.c (__ctanhf): Likewise.
27763 * math/s_ccosh.c (__ccoshf): Likewise.
27764 * math/s_cexp.c (__cexpl): Likewise.
27765 * math/s_csin.c (__csin): Likewise.
27766 * math/s_csinh.c (__csinh): Likewise.
27767 * math/s_ctan.c (__ctan): Likewise.
27768 * math/s_ctanh.c (ctanh): Likewise.
27769 * math/s_ccoshl.c (__ccoshl): Likewise.
27770 * math/s_cexpl.c (__cexpl): Likewise.
27771 * math/s_csinl.c (__csinl): Likewise.
27772 * math/s_csinhl.c (__csinhl): Likewise.
27773 * math/s_ctanl.c (__ctanl): Likewise.
27774 * math/s_ctanhl.c (__ctanhl): Likewise.
27776 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27778 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27779 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27780 (_IO_off_t): Define to __off_t, not _G_off_t.
27781 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27782 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27783 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27784 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27785 type of __dummy and __dummy2 fields.
27786 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27787 (_G_ssize_t): Likewise.
27788 (_G_off_t): Likewise.
27789 (_G_pid_t): Likewise.
27790 (_G_uid_t): Likewise.
27791 (_G_wchar_t): Likewise.
27792 (_G_wint_t): Likewise.
27793 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27794 (_G_ssize_t): Likewise.
27795 (_G_off_t): Likewise.
27796 (_G_pid_t): Likewise.
27797 (_G_uid_t): Likewise.
27798 (_G_wchar_t): Likewise.
27799 (_G_wint_t): Likewise.
27800 * sysdeps/mach/hurd/_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.
27808 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27810 * malloc/arena.c: Include malloc-sysdep.h.
27811 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27812 is sufficient to shrink the heap or an unmap is needed.
27813 * sysdeps/generic/malloc-sysdep.h: New file. Define
27814 new function check_may_shrink_heap.
27815 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27816 new function check_may_shrink_heap.
27818 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27820 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27823 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27825 * catgets/test-gencat.sh: Add "set -e".
27826 * elf/tst-pathopt.sh: Likewise.
27827 * grp/tst_fgetgrent.sh: Likewise.
27828 * iconvdata/run-iconv-test.sh: Likewise.
27829 * intl/tst-gettext.sh: Likewise.
27830 * intl/tst-gettext2.sh: Likewise.
27831 * intl/tst-gettext4.sh: Likewise.
27832 * intl/tst-gettext6.sh: Likewise.
27833 * intl/tst-translit.sh: Likewise.
27834 * io/ftwtest-sh: Likewise.
27835 * libio/test-freopen.sh: Likewise.
27836 * malloc/tst-mtrace.sh: Likewise.
27837 * posix/globtest.sh: Likewise.
27838 * posix/tst-getconf.sh: Likewise.
27839 * posix/wordexp-tst.sh: Likewise.
27840 * stdio-common/tst-printf.sh: Likewise.
27841 * stdio-common/tst-unbputc.sh: Likewise.
27842 * stdlib/tst-fmtmsg.sh: Likewise.
27843 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27844 * catgets/Makefile: Do not specify -e option when running
27845 testsuite shell scripts.
27846 * elf/Makefile: Likewise.
27847 * grp/Makefile: Likewise.
27848 * iconvdata/Makefile: Likewise.
27849 * intl/Makefile: Likewise.
27850 * io/Makefile: Likewise.
27851 * libio/Makefile: Likewise.
27852 * malloc/Makefile: Likewise.
27853 * posix/Makefile: Likewise.
27854 * stdio-common/Makefile: Likewise.
27855 * stdlib/Makefile: Likewise.
27856 * sysdeps/x86_64/Makefile: Likewise.
27858 * io/ftwtest-sh: Add copyright header.
27859 * posix/globtest.sh: Likewise.
27860 * posix/tst-getconf.sh: Likewise.
27861 * posix/wordexp-tst.sh: Likewise.
27862 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27864 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27867 * Makeconfig (+link): Defined as $(+link-static) if
27868 $(build-shared) isn't yes.
27869 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27871 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27873 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27876 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27877 new chunk size with MALLOC_ALIGN_MASK.
27879 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27882 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27884 (__printf_fphex): Determine rounding using get_rounding_mode and
27886 * stdio-common/tst-printf-round.c (struct hex_test): New
27888 (hex_tests): New variable.
27889 (test_hex_in_one_mode): New function.
27890 (do_test): Also run tests for hex float output.
27892 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27894 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27895 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27896 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27897 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27898 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27899 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27900 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27901 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27903 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27905 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27906 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27907 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27908 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27910 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27913 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27915 * elf/tst-rtld-load-self.sh: New test.
27916 * elf/Makefile: Run it.
27918 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27920 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27921 (tst-writev-ENV): Remove.
27922 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27924 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27926 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27928 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27930 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27932 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27934 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27935 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27936 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27939 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27942 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27943 * config.make.in (have-cpp-asm-debuginfo): Removed.
27944 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27945 * configure: Regenerated.
27947 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27950 * stdio-common/printf_fp.c: Include <stdbool.h> and
27952 (___printf_fp): Determine rounding using get_rounding_mode and
27954 * stdio-common/tst-printf-round.c: New file.
27955 * stdio-common/Makefile (tests): Add tst-printf-round.
27956 (link-libm): New variable.
27957 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27959 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27962 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27963 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27965 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27968 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27970 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27971 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27972 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27973 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27975 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27978 * include/rounding-mode.h: New file.
27979 * sysdeps/generic/get-rounding-mode.h: Likewise.
27980 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27981 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27982 (MAX_VALUE): New macro.
27983 (MIN_VALUE): Likewise.
27984 (overflow_value): New function.
27985 (underflow_value): Likewise.
27986 (round_and_return): Use overflow_value and underflow_value to
27987 determine return values in overflow and underflow cases. Use
27988 round_away to determine rounding depending on rounding mode.
27989 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27990 determine return values in overflow and underflow cases.
27991 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27992 (struct test_results): New structure.
27993 (struct test): Use struct test_results to store expected results
27994 for all rounding modes.
27995 (TEST): Include expected results for all rounding modes.
27996 (test_in_one_mode): New function.
27997 (do_test): Use test_in_one_mode to compute and check results.
27998 Check results for all rounding modes.
27999 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28002 2012-12-09 Allan McRae <allan@archlinux.org>
28004 * sysdeps/i386/fpu/libm-test-ulps: Update
28006 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28008 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28009 (_G_int32_t): Likewise.
28010 (_G_uint16_t): Likewise.
28011 (_G_uint32_t): Likewise.
28012 (_G_HAVE_BOOL): Likewise.
28013 (_G_HAVE_ATEXIT): Likewise.
28014 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28015 (_G_HAVE_IO_FILE_OPEN): Likewise.
28016 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28017 (_G_int32_t): Likewise.
28018 (_G_uint16_t): Likewise.
28019 (_G_uint32_t): Likewise.
28020 (_G_HAVE_BOOL): Likewise.
28021 (_G_HAVE_ATEXIT): Likewise.
28022 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28023 (_G_HAVE_IO_FILE_OPEN): Likewise.
28024 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28025 (_G_int32_t): Likewise.
28026 (_G_uint16_t): Likewise.
28027 (_G_uint32_t): Likewise.
28028 (_G_HAVE_BOOL): Likewise.
28029 (_G_HAVE_ATEXIT): Likewise.
28030 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28031 (_G_HAVE_IO_FILE_OPEN): Likewise.
28033 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28035 * csu/libc-tls.c: Update copyright years.
28037 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28039 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28040 [!_G_USING_THUNKS]: Remove conditional code.
28041 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28042 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28044 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28045 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28046 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28047 (_G_VTABLE_LABEL_PREFIX): Likewise.
28048 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28049 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28050 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28051 (_G_VTABLE_LABEL_PREFIX): Likewise.
28052 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28053 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28054 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28055 (_G_VTABLE_LABEL_PREFIX): Likewise.
28056 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28058 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28060 * libio/Makefile: Include ../Makeconfig before tests.
28061 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28062 only if $(build-shared) is yes.
28064 * iconv/gconv_db.c: Update copyright years.
28066 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28068 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28069 unwind info if defined PIC. Fix special cases description.
28070 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28072 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28074 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28076 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28078 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28080 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28083 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28084 (LDLIBS-tst-chk4): This.
28085 (LDFLAGS-tst-chk5): Renamed to ...
28086 (LDLIBS-tst-chk5): This.
28087 (LDFLAGS-tst-chk6): Renamed to ...
28088 (LDLIBS-tst-chk6): This.
28089 (LDFLAGS-tst-lfschk4): Renamed to ...
28090 (LDLIBS-tst-lfschk4): This.
28091 (LDFLAGS-tst-lfschk5): Renamed to ...
28092 (LDLIBS-tst-lfschk5): This.
28093 (LDFLAGS-tst-lfschk6): Renamed to ...
28094 (LDLIBS-tst-lfschk6): This.
28096 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28097 on $(common-objpfx)soversions.mk.
28099 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28102 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28105 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28107 * malloc/arena.c (arena_get_retry): New function that gets
28108 another arena for the caller to try its request on.
28109 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28110 current arena cannot fulfill the request.
28111 (__libc_memalign): Likewise.
28112 (__libc_memalign): Likewise.
28113 (__libc_pvalloc): Likewise.
28114 (__libc_calloc): Likewise.
28116 2012-09-05 John Tobey <john.tobey@gmail.com>
28119 * manual/arith.texi (Operations on Complex): Fix description
28120 of carg branch cut.
28122 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28125 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28129 * manual/memory.texi (Memory): Make order of menu items match
28132 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28134 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28135 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28136 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28138 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28140 * csu/libc-tls.c (static_dtv): Renamed to ...
28141 (_dl_static_dtv): This. Make it global.
28142 (_dl_initial_dtv): Removed.
28143 (__libc_setup_tls): Updated.
28144 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28145 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28148 2012-09-06 Petr Machata <pmachata@redhat.com>
28150 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28151 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28152 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28153 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28155 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28158 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28159 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28162 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28165 * Makeconfig (link-static-before-libc): Replace $(+prector)
28167 (link-static-after-libc): Replace $(+postctor) with
28169 (link-bounded): Replace $(+prector)/$(+postctor) with
28170 $(+prectorT)/$(+postctorT).
28171 (+prectorT): New macro.
28172 (+postctorT): Likewise.
28174 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28176 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28177 (round_str): Handle values above the maximum for IBM long double
28179 * stdlib/tst-strtod-round.c (tests): Regenerated.
28181 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28183 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28185 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28186 zarch_nohighgprs around the zarch optimized routines.
28187 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28188 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28192 2012-09-05 David S. Miller <davem@davemloft.net>
28194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28196 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28197 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28198 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28199 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28202 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28204 * malloc/arena.c: Fold copyright years.
28205 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28207 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28209 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28211 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28213 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28215 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28217 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28218 change internal state upon failure.
28220 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28222 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28223 * malloc/memusage.c (mmap): Likewise.
28224 (mmap64, mremap): Likewise. Adjust name in comment.
28226 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28228 * libio/fileops.c: Fix typos in comments.
28229 * libio/oldfileops.c: Likewise.
28230 * libio/wfileops.c: Likewise.
28232 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28235 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28236 (tst-malloc-usable-ENV): Set environment for test case.
28237 * malloc/hooks.c (malloc_check_get_size): New function to get
28239 * malloc/malloc.c (musable): Use malloc_check_get_size.
28240 * malloc/tst-malloc-usable.c: New test case.
28242 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28244 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28246 2012-09-05 Allan McRae <allan@archlinux.org>
28249 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28250 determine header location.
28251 * configure: Regenerated.
28253 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28255 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28257 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28258 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28260 (test): Regenerate.
28262 2012-09-04 David S. Miller <davem@davemloft.net>
28264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28268 2012-09-04 Florian Weimer <fweimer@redhat.com>
28270 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28273 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28275 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28278 * libio/iogetdelim.c: Include <limits.h>.
28279 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28280 + len + 1 would overflow.
28282 2012-09-03 Andreas Jaeger <aj@suse.de>
28284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28285 * sysdeps/i386/fpu/libm-test-ulps: Update.
28287 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28289 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28290 Add s_sinf-sse2, s_conf-sse2.
28292 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28293 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28294 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28295 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28297 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28298 for using routine as __sinf_ia32.
28299 Use macro for function declaration and weak_alias.
28300 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28301 for using routine as __cosf_ia32.
28302 Use macro for function declaration and weak_alias.
28304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28305 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28307 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28308 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28311 * math/libm-test.inc (cos_test): Add more test cases.
28312 (sin_test): Likewise.
28313 (sincos_test): Likewise.
28315 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28318 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28320 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28322 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28325 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28326 first element of the GOT.
28327 (elf_machine_load_address): Return the difference between
28328 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28330 2012-09-01 Allan McRae <allan@archlinux.org>
28333 * configure.in (AWK): Require gawk version 3.0 or later.
28334 * configure: Regenerated.
28336 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28338 * sysdeps/unix/sysv/linux/kernel-features.h
28339 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28340 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28341 [__NR_clock_getres]: Make code unconditional.
28342 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28343 (clock_getcpuclockid): Remove code left unreachable by removal of
28345 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28346 code unconditional.
28347 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28348 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28349 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28350 Make code unconditional.
28351 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28352 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28353 * sysdeps/unix/sysv/linux/clock_settime.c
28354 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28356 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28359 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28362 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28363 scripts/test-installation.pl.
28365 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28366 and $ld_so_version if it is set.
28368 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28372 failure if reading from procfs failed.
28373 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28375 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28377 * sysdeps/unix/sysv/linux/kernel-features.h
28378 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28379 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28380 Remove conditional code.
28381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28382 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28383 Remove conditional code.
28384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28385 * sysdeps/unix/sysv/linux/i386/fxstat.c
28386 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28388 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28389 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28391 * sysdeps/unix/sysv/linux/i386/lxstat.c
28392 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28394 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28395 Remove conditional code.
28396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28397 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28398 Remove conditional code.
28399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28400 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28401 <kernel-features.h>.
28402 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28404 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28405 Remove conditional code.
28406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28407 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28408 Remove conditional.
28410 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28413 * NEWS: Add fixed bug number.
28415 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28418 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28419 underflowing exponent in case of negative sign.
28420 * stdlib/tst-strtod-round-data: Add more tests.
28421 * stdlib/tst-strtod-round.c (tests): Regenerated.
28424 * stdlib/strtod_l.c (NDIG): Remove.
28425 (HEXNDIG): Likewise.
28426 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28427 smallest representable value.
28428 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28429 lie within an exact representation of 1/2 ulp of the result.
28430 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28432 (TENS_P9_IDX): Define unconditionally.
28433 (TENS_P9_SIZE): Likewise.
28434 (TENS_P10_IDX): Likewise.
28435 (TENS_P10_SIZE): Likewise.
28436 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28437 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28438 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28439 entries for 10^2^13 and 10^2^14.
28440 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28441 (TENS_P13_IDX): Define.
28442 (TENS_P13_SIZE): Likewise.
28443 (TENS_P14_IDX): Likewise.
28444 (TENS_P14_SIZE): Likewise.
28445 (_fpioconst_pow10): Change array size to
28446 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28448 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28449 1024]: Add entries for 10^2^13 and 10^2^14.
28450 [LAST_POW10 > _LAST_POW10]: Remove #error.
28451 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28452 (_fpioconst_pow10): Change array size to
28453 FPIOCONST_POW10_ARRAY_SIZE.
28454 * stdlib/gen-fpioconst.c: New file.
28455 * stdlib/gen-tst-strtod-round.c: Likewise.
28456 * stdlib/tst-strtod-round-data: Likewise.
28457 * stdlib/tst-strtod-round.c: Likewise.
28458 * stdlib/Makefile (tests): Add tst-strtod-round.
28461 * stdlib/strtod_l.c: Include <stdint.h>.
28462 (NDEBUG): Do not define.
28463 (round_and_return): Change EXPONENT parameter to type intmax_t.
28464 Rearrange calculations to avoid internal overflow possibilities.
28465 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28466 Rearrange calculations to avoid internal overflow possibilities.
28467 Assert that number fits inside MPNSIZE limbs.
28468 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28469 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28470 calculations and add assertions to avoid internal overflow
28471 possibilities. Add casts to avoid signed/unsigned operations.
28472 * stdlib/tst-strtod-overflow.c: New file.
28473 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28475 2012-08-25 Marek Polacek <polacek@redhat.com>
28477 * time/time.h: Fix some typos in comments.
28479 2012-08-23 Roland McGrath <roland@hack.frob.com>
28481 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28482 * posix/tst-rfc3484-2.c: Likewise.
28483 * posix/tst-rfc3484-3.c: Likewise.
28485 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28487 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28488 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28490 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28492 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28493 #include of fxstatat64.c.
28495 2012-08-22 Roland McGrath <roland@hack.frob.com>
28497 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28498 * shadow/getspent_r.c: Likewise.
28499 * shadow/getspnam.c: Likewise.
28500 * shadow/getspnam_r.c: Likewise.
28501 * gshadow/getsgent.c: Likewise.
28502 * gshadow/getsgent_r.c: Likewise.
28503 * gshadow/getsgnam.c: Likewise.
28504 * gshadow/getsgnam_r.c: Likewise.
28505 * inet/getnetbyad.c: Likewise.
28506 * inet/getnetbyad_r.c: Likewise.
28507 * inet/getnetbynm.c: Likewise.
28508 * inet/getnetbynm_r.c: Likewise.
28509 * inet/getnetent.c: Likewise.
28510 * inet/getnetent_r.c: Likewise.
28511 * inet/getproto.c: Likewise.
28512 * inet/getproto_r.c: Likewise.
28513 * inet/getprtent.c: Likewise.
28514 * inet/getprtent_r.c: Likewise.
28515 * inet/getprtname.c: Likewise.
28516 * inet/getprtname_r.c: Likewise.
28517 * inet/getrpcbyname.c: Likewise.
28518 * inet/getrpcbyname_r.c: Likewise.
28519 * inet/getrpcbynumber.c: Likewise.
28520 * inet/getrpcbynumber_r.c: Likewise.
28521 * inet/getrpcent.c: Likewise.
28522 * inet/getrpcent_r.c: Likewise.
28523 * inet/getaliasent.c: Likewise.
28524 * inet/getaliasent_r.c: Likewise.
28525 * inet/getaliasname.c: Likewise.
28526 * inet/getaliasname_r.c: Likewise.
28527 * nscd/getgrgid_r.c: Likewise.
28528 * nscd/getgrnam_r.c: Likewise.
28529 * nscd/gethstbyad_r.c: Likewise.
28530 * nscd/gethstbynm3_r.c: Likewise.
28531 * nscd/getpwnam_r.c: Likewise.
28532 * nscd/getpwuid_r.c: Likewise.
28533 * nscd/getsrvbynm_r.c: Likewise.
28534 * nscd/getsrvbypt_r.c: Likewise.
28535 * nscd/gai.c: Likewise.
28537 * configure.in (build_nscd): New substituted variable, set
28538 by --disable-build-nscd and defaults to $use_nscd.
28539 * configure: Regenerated.
28540 * config.make.in (build-nscd): New substituted variable.
28541 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28542 Change conditional to require [$(build-nscd) = yes] as well.
28543 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28546 * configure.in (use_nscd): New substituted variable, set by
28547 --disable-nscd. If enabled, define USE_NSCD.
28548 * configure: Regenerated.
28549 * config.h.in: Add USE_NSCD.
28550 * config.make.in (use-nscd): New substituted variable.
28551 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28552 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28553 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28554 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28555 (CFLAGS-getgrnam_r.c): Likewise.
28556 (CFLAGS-initgroups.c): Likewise.
28557 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28558 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28560 * inet/getnetgrent_r.c
28561 (nscd_setnetgrent): New function, broken out of ...
28562 (setnetgrent): ... here. Call it.
28563 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28564 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28565 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28566 * nscd/Makefile (routines, aux): Move definitions after include of
28567 Makeconfig. Conditionalize on [$(use-nscd) != no].
28568 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28569 Conditionalize on [USE_NSCD].
28570 (is_nscd, nscd_init_cb): Likewise.
28571 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28572 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28573 * nss/nss_db/db-init.c: Likewise.
28574 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28576 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28577 (make_request): Use it.
28578 (cache_valid_p): New function.
28579 (__check_pf): Use it.
28580 * NEWS: Add item for --disable-nscd.
28582 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28584 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28585 to support sed >= 4.2.1-20-ga9bf076.
28586 * configure: Regenerated.
28588 2012-08-22 Roland McGrath <roland@hack.frob.com>
28590 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28591 Conditionalize whole body on [IREL].
28593 2012-08-22 Jeff Law <law@redhat.com>
28596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28597 if the family is PF_UNSPEC.
28599 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28601 * Makerules (lib-version): Rename from V.
28602 (install-lib-nosubdir): Change V to lib-version.
28604 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28607 * powerpc32/power6/wcschr.c: New file.
28608 * powerpc32/power6/wcscpy.c: New file.
28609 * powerpc32/power6/wcsrchr.c: New file.
28610 * powerpc64/power6/wcschr.c: New file.
28611 * powerpc64/power6/wcscpy.c: New file.
28612 * powerpc64/power6/wcsrchr.c: New file.
28614 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28616 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28617 (two_way_short_needle): Use it.
28618 * string/strstr.c (AVAILABLE1_USES_J): Define.
28619 * string/strcasestr.c: Likewise.
28621 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28623 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28626 * NEWS: Add an entry.
28627 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28628 define their defaults.
28629 (two_way_short_needle): Detect end-of-string on-the-fly.
28630 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28631 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28632 * string/bug-strcasestr1.c: New test.
28633 * string/Makefile: Run it.
28635 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28638 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28639 the first character.
28641 2012-08-21 Roland McGrath <roland@hack.frob.com>
28643 * csu/elf-init.c (__libc_csu_irel): Function removed.
28644 * csu/libc-start.c (apply_irel): New function.
28645 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28647 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28649 * sysdeps/unix/sysv/linux/kernel-features.h
28650 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28651 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28652 <kernel-features.h>.
28653 [__NR_fadvise64_64]: Make code unconditional.
28654 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28655 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28656 !__NR_fadvise64_64)]: Likewise.
28657 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28658 !__NR_fadvise64_64))]: Likewise.
28659 [__NR_fadvise64]: Make code unconditional.
28660 [!__NR_fadvise64]: Remove conditional code.
28661 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28662 <kernel-features.h>.
28663 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28665 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28668 not include <kernel-features.h>.
28669 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28671 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28673 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28674 include <kernel-features.h>.
28675 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28677 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28680 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28683 slight instruction rearrangements per scrollpipe analysis.
28684 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28686 2012-08-20 Roland McGrath <roland@hack.frob.com>
28688 * manual/syslog.texi (syslog; vsyslog, closelog):
28689 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28690 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28692 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28693 DSOCAPS to match condition on defining it.
28695 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28697 * sysdeps/unix/sysv/linux/kernel-features.h
28698 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28700 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28701 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28703 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28704 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28706 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28707 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28709 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28710 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28712 * sysdeps/unix/sysv/linux/kernel-features.h
28713 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28714 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28716 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28717 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28718 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28719 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28720 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28721 Make code unconditional.
28722 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28723 (__mmap64) [!__NR_mmap2]: Likewise.
28724 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28725 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28726 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28728 [__NR_mmap2]: Make code unconditional.
28729 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28730 (__mmap64) [!__NR_mmap2]: Likewise.
28732 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28734 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28736 2012-08-18 Andreas Jaeger <aj@suse.de>
28738 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28740 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28742 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28743 * include/unistd.h (__have_sock_cloexec): Likewise.
28744 (__have_pipe2): Likewise.
28745 (__have_dup3): Likewise.
28747 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28750 * include/unistd.h (__have_pipe2): Change define into an extern int.
28751 (__have_dup3): Likewise.
28752 * socket/have_sock_cloexec.c: Include fcntl.h.
28753 (__have_pipe2): New variable.
28754 (__have_dup3): Likewise.
28756 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28758 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28760 2012-08-17 Marek Polacek <polacek@redhat.com>
28762 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28763 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28765 2012-08-17 Roland McGrath <roland@hack.frob.com>
28767 * configure.in: Add AC_SUBST for sysheaders.
28768 * configure: Regenerated.
28769 * config.make.in (sysheaders): New substituted variable.
28771 * sysdeps/unix/mkfifo.c: Moved ...
28772 * sysdeps/posix/mkfifo.c: ... here.
28773 * sysdeps/unix/mkfifoat.c: Moved ...
28774 * sysdeps/posix/mkfifoat.c: ... here.
28776 * sysdeps/unix/utime.c: Moved ...
28777 * sysdeps/posix/utime.c: ... here.
28779 * sysdeps/unix/time.c: Moved ...
28780 * sysdeps/posix/time.c: ... here.
28781 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28782 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28784 * sysdeps/unix/nice.c: Moved ...
28785 * sysdeps/posix/nice.c: ... here.
28787 * sysdeps/unix/alarm.c: Moved ...
28788 * sysdeps/posix/alarm.c: ... here.
28790 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28792 2012-08-17 Jeff Law <law@redhat.com>
28794 * intl/Makefile (codeset_mo): New variable.
28795 ($(codeset_mo)): New target.
28796 (tst-codeset.out): Depend on that. Remove explicit rule.
28797 (tst-gettext3.out, tst-gettext5.out): Likewise.
28798 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28799 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28800 * intl/tst-codeset.sh: Remove.
28801 * intl/tst-gettext3.sh: Likewise.
28802 * intl/tst-gettext5.sh: Likewise.
28804 2012-08-17 Roland McGrath <roland@hack.frob.com>
28806 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28807 * sysdeps/unix/syscalls.list: ... here.
28809 * sysdeps/posix/getaddrinfo.c
28810 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28811 (gaiconf_init, gaiconf_reload): Use them.
28812 [!_STATBUF_ST_NSEC]
28813 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28814 Define using time_t rather than struct timespec.
28816 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28817 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28819 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28821 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28822 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28825 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28826 __libc_cleanup_push argument.
28828 * bits/param.h: New file.
28829 * misc/sys/param.h: New file.
28830 * include/sys/param.h: New file.
28831 * misc/Makefile (headers): Add bits/param.h.
28832 * sysdeps/generic/sys/param.h: File removed.
28833 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28834 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28835 * sysdeps/mach/hurd/bits/param.h: New file.
28836 * sysdeps/mach/hurd/sys/param.h: File removed.
28838 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28841 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28843 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28844 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28847 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28848 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28849 rather than -D_IO_MTSAFE_IO conditionally.
28850 * stdio-common/Makefile (CPPFLAGS): Likewise.
28851 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28852 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28853 Use $(libio-mtsafe).
28854 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28855 of -D_IO_MTSAFE_IO.
28856 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28857 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28858 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28859 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28860 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28861 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28862 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28863 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28864 (CFLAGS-fread_u_chk.c): Likewise.
28865 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28866 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28867 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28868 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28869 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28870 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28871 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28872 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28873 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28875 * libio/Makefile: Test [$(libc-reentrant) = yes]
28876 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28879 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28880 * sysdeps/pthread/configure: File removed.
28881 * sysdeps/pthread/Makeconfig: New file.
28882 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28883 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28885 2012-08-16 Gary Benson <gbenson@redhat.com>
28887 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28888 unmapping the first object in a namespace.
28890 2012-08-16 Roland McGrath <roland@hack.frob.com>
28892 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28893 (__internal_setnetgrent): ... this. Add internal_function to
28894 definition. Add libc_hidden_def.
28895 (setnetgrent): Update caller.
28896 (internal_endnetgrent): Renamed to ...
28897 (__internal_endnetgrent): ... this. Add internal_function to
28898 definition. Add libc_hidden_def.
28899 (endnetgrent): Update caller.
28900 (internal_getnetgrent_r): Renamed to ...
28901 (__internal_getnetgrent_r): ... this. Add internal_function to
28902 definition. Add libc_hidden_def.
28903 (__getnetgrent_r): Update caller.
28904 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28906 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28908 * stdlib/longlong.h: Update from GCC.
28910 2012-08-16 Roland McGrath <roland@hack.frob.com>
28912 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28913 on _QL, which is set by umul_ppmm but never used.
28914 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28915 variables, which are set by GMP macros but never used.
28916 * stdio-common/_itowa.c (_itowa): Likewise.
28917 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28918 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28920 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28922 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28923 struct La_sh_regs is not constant.
28924 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28925 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28926 and struct La_sparc64_regs are not constant.
28928 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28930 * sysdeps/unix/sysv/linux/kernel-features.h
28931 (__ASSUME_POSIX_TIMERS): Remove.
28932 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28934 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28935 Make code unconditional.
28936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28937 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28938 Make code unconditional.
28939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28940 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28941 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28943 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28944 Make code unconditional.
28945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28946 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28947 (__libc_missing_posix_timers): Remove.
28949 2012-08-15 Roland McGrath <roland@hack.frob.com>
28951 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28952 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28954 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28956 * elf/dl-sym.c: Include <stdlib.h>.
28958 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28959 constants, which avoids warnings in 32-bit builds.
28961 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28962 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28964 * misc/lseek.c: File moved to ...
28965 * io/lseek.c: ... here.
28967 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28969 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28970 shifting LEN more than 31 bits at once.
28972 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28975 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28976 segmentation fault for a case of two empty input strings.
28977 * string/test-strncasecmp.c (check1): Renamed to...
28978 (bz12205): ...this.
28979 (bz14195): Add new testcase for two empty input strings and N > 0.
28980 (test_main): Call new testcase, adapt for renamed function.
28982 2012-08-15 Andreas Jaeger <aj@suse.de>
28985 * crypt/md5test2.c: New test, based on test supplied by Serge
28986 Belyshev <belyshev@depni.sinp.msu.ru>.
28987 * crypt/Makefile (xtests): Add md5test-giant..
28988 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28990 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28993 * crypt/md5.c (md5_process_block): Don't assume the buffer
28994 length is less than 2**32.
28995 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28996 length is less than 2**64.
28998 2012-08-15 Roland McGrath <roland@hack.frob.com>
29000 * string/str-two-way.h: Include <sys/param.h>.
29001 (MAX): Macro removed.
29003 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29004 Move #define and #undef of memmove to just before and after
29005 including <string.h>.
29007 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29008 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29009 and after including <string.h>. Move declarations of
29010 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29011 to before #include "string/memmove.c".
29013 * include/dirent.h: Declare __getdirentries.
29015 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29016 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29018 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29020 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29021 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29022 * sysdeps/i386/configure: Regenerated.
29023 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29024 STABS_CURRENT_FILE, and STABS_FUN.
29025 (END): Remove call to STABS_FUN_END.
29026 (STABS_CURRENT_FILE1): Delete.
29027 (STABS_CURRENT_FILE): Likewise.
29028 (STABS_FUN): Likewise.
29029 (STABS_FUN_END): Likewise.
29030 (STABS_FUN2): Likewise.
29031 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29032 * sysdeps/x86_64/configure: Regenerated.
29034 2012-08-14 Roland McGrath <roland@hack.frob.com>
29036 * elf/dl-open.c: Include <atomic.h>.
29037 * elf/dl-lookup.c: Likewise.
29039 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29041 * sysdeps/unix/sysv/linux/kernel-features.h
29042 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29043 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29045 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29047 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29048 condition on __ASSUME_CLONE_THREAD_FLAGS.
29050 2012-08-14 Andreas Jaeger <aj@suse.de>
29052 * sysdeps/i386/fpu/libm-test-ulps: Update.
29054 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29056 * include/atomic.h (atomic_exchange_and_add): Split into ...
29057 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29060 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29064 2012-08-13 Jeff Law <law@redhat.com>
29066 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29067 null byte in the output string.
29069 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29071 * sysdeps/unix/sysv/linux/kernel-features.h
29072 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29073 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29074 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29075 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29076 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29077 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29078 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29080 2012-08-09 Jeff Law <law@redhat.com>
29083 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29084 When avoid_arena is set, don't retry in the that arena. Pick the
29085 next one, whatever it might be.
29086 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29087 (arena_lock): Pass in new parameter to arena_get2.
29088 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29090 (__libc_malloc): Unify retrying after main arena failure with
29091 __libc_memalign version.
29092 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29094 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29097 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29098 to __redirect_strstr.
29099 (__strstr_sse42): Use typeof __redirect_strstr.
29100 (__strstr_ia32): Likewise.
29101 (__libc_strstr): New prototype.
29102 (strstr): Renamed to ...
29103 (__libc_strstr): This.
29104 (strstr): New strong alias of __libc_strstr.
29105 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29106 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29109 (__libc_time): New prototype.
29110 (time_ifunc): Replace time with __libc_time.
29111 (time): New strong alias and hidden definition of __libc_time.
29112 (__GI_time): Remove strong alias.
29113 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29114 Include <stddef.h>.
29115 (memmove): Redefined to __redirect_memmove.
29116 (__memmove_sse2): Use typeof __redirect_memmove.
29117 (__memmove_ssse3): Likewise.
29118 (__memmove_ssse3_back): Likewise.
29119 (__libc_memmove): New prototype.
29120 (memmove): Renamed to ...
29121 (__libc_memmove): This.
29122 (memmove): New strong alias of __libc_memmove.
29124 2012-08-08 Mark Salter <msalter@redhat.com>
29127 (R_MN10300_TLS_GD): Define.
29128 (R_MN10300_TLS_LD): Likewise.
29129 (R_MN10300_TLS_LDO): Likewise.
29130 (R_MN10300_TLS_GOTIE): Likewise.
29131 (R_MN10300_TLS_IE): Likewise.
29132 (R_MN10300_TLS_LE): Likewise.
29133 (R_MN10300_TLS_DTPMOD): Likewise.
29134 (R_MN10300_TLS_DTPOFF): Likewise.
29135 (R_MN10300_TLS_TPOFF): Likewise.
29136 (R_MN10300_SYM_DIFF): Likewise.
29137 (R_MN10300_ALIGN): Likewise.
29138 (R_MN10300_NUM): Update.
29140 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29145 2012-08-08 Roland McGrath <roland@hack.frob.com>
29147 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29149 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29150 sysdeps/unix -> sysdeps/posix move.
29151 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29153 2012-08-07 Allan McRae <allan@archlinux.org>
29156 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29157 (SUNOS_CPP): Likewise.
29158 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29160 (open_input): Call CPP using execvp.
29162 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29164 * sysdeps/unix/sysv/linux/kernel-features.h
29165 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29166 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29167 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29168 (__ASSUME_WAITID_SYSCALL): Likewise.
29169 * sysdeps/unix/sysv/linux/dl-execstack.c
29170 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29171 code unconditional.
29172 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29175 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29176 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29178 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29180 [__ASSUME_WAITID_SYSCALL]: Likewise.
29181 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29183 2012-08-07 Roland McGrath <roland@hack.frob.com>
29185 * sysdeps/unix/closedir.c: Renamed to ...
29186 * sysdeps/posix/closedir.c: ... here.
29187 * sysdeps/unix/dirfd.c: Renamed to ...
29188 * sysdeps/posix/dirfd.c: ... here.
29189 * sysdeps/unix/dirstream.h: Renamed to ...
29190 * sysdeps/posix/dirstream.h: ... here.
29191 * sysdeps/unix/fdopendir.c: Renamed to ...
29192 * sysdeps/posix/fdopendir.c: ... here.
29193 * sysdeps/unix/opendir.c: Renamed to ...
29194 * sysdeps/posix/opendir.c: ... here.
29195 * sysdeps/unix/readdir.c: Renamed to ...
29196 * sysdeps/posix/readdir.c: ... here.
29197 * sysdeps/unix/readdir_r.c: Renamed to ...
29198 * sysdeps/posix/readdir_r.c: ... here.
29199 * sysdeps/unix/rewinddir.c: Renamed to ...
29200 * sysdeps/posix/rewinddir.c: ... here.
29201 * sysdeps/unix/seekdir.c: Renamed to ...
29202 * sysdeps/posix/seekdir.c: ... here.
29203 * sysdeps/unix/telldir.c: Renamed to ...
29204 * sysdeps/posix/telldir.c: ... here.
29205 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29206 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29207 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29208 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29210 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29211 * bits/fcntl.h: ... here.
29213 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29215 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29216 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29217 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29218 (struct flock): Move l_start, l_len to the beginning.
29219 Use __pid_t for l_pid.
29220 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29221 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29222 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29223 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29224 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29225 [__USE_LARGEFILE64] (struct flock64): New type.
29226 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29228 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29229 * bits/dirent.h: ... here.
29231 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29232 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29234 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29237 Change from 2.6.0 to 2.6.16.
29238 * sysdeps/unix/sysv/linux/configure: Regenerated.
29239 * sysdeps/unix/sysv/linux/kernel-features.h
29240 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29241 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29243 (__ASSUME_UTIMES): Likewise.
29244 (__ASSUME_CLONE_STOPPED): Remove.
29245 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29246 architectures, not kernel version.
29247 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29248 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29249 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29250 (__ASSUME_WAITID_SYSCALL): Likewise.
29251 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29252 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29253 * README: State 2.6.16 as minimum Linux kernel version. Do not
29254 refer to older versions.
29256 2012-08-06 Roland McGrath <roland@hack.frob.com>
29258 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29259 Define alphasort64 as an alias.
29260 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29261 Define versionsort64 as an alias.
29262 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29263 Define scandir64 as an alias.
29264 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29265 Define scandirat64 as an alias.
29266 * dirent/alphasort64.c (alphasort64):
29267 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29268 * dirent/versionsort64.c: Likewise.
29269 * dirent/scandir64.c: Likewise.
29270 * dirent/scandirat64.c: Likewise.
29271 * sysdeps/wordsize-64/alphasort.c: File removed.
29272 * sysdeps/wordsize-64/alphasort64.c: File removed.
29273 * sysdeps/wordsize-64/scandir.c: File removed.
29274 * sysdeps/wordsize-64/scandir64.c: File removed.
29275 * sysdeps/wordsize-64/scandirat.c: File removed.
29276 * sysdeps/wordsize-64/scandirat64.c: File removed.
29277 * sysdeps/wordsize-64/versionsort.c: File removed.
29278 * sysdeps/wordsize-64/versionsort64.c: File removed.
29279 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29280 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29282 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29284 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29288 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29290 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29292 [defined __arch64__ || defined __sparcv9]
29293 (__INO_T_MATCHES_INO64_T): New macro.
29294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29295 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29296 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29297 * sysdeps/unix/sysv/linux/bits/dirent.h
29298 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29299 (_DIRENT_MATCHES_DIRENT64): New macro.
29301 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29302 Define lockf64 as an alias.
29303 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29304 Define fseeko64 as an alias.
29305 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29306 Define ftello64 as an alias.
29307 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29308 Define _IO_fgetpos64 and fgetpos64 as aliases.
29309 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29310 Define _IO_fsetpos64 and fsetpos64 as aliases.
29311 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29312 Conditionalize body on this.
29313 * libio/fseeko64.c: Likewise.
29314 * libio/ftello64.c: Likewise.
29315 * libio/iofgetpos64.c: Likewise.
29316 * libio/iofsetpos64.c: Likewise.
29317 * sysdeps/wordsize-64/lockf.c: File removed.
29318 * sysdeps/wordsize-64/lockf64.c: File removed.
29319 * sysdeps/wordsize-64/fseeko.c: File removed.
29320 * sysdeps/wordsize-64/fseeko64.c: File removed.
29321 * sysdeps/wordsize-64/ftello.c: File removed.
29322 * sysdeps/wordsize-64/ftello64.c: File removed.
29323 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29324 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29325 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29326 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29327 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29328 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29329 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29330 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29331 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29332 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29333 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29335 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29336 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29338 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29340 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29342 [defined __arch64__ || defined __sparcv9]
29343 (__OFF_T_MATCHES_OFF64_T): New macro.
29344 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29345 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29347 (__OFF_T_MATCHES_OFF64_T): New macro.
29349 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29351 * stdlib/secure-getenv.c (__secure_getenv): Replace
29352 GLIBC_2_16 with GLIBC_2_17.
29354 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29356 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29357 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29359 2012-08-03 David S. Miller <davem@davemloft.net>
29361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29363 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29367 (__ASSUME_CORRECT_SI_PID): Likewise.
29368 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29369 (__ASSUME_TMPFS_NAME): Likewise.
29370 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29371 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29372 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29373 (HAVE_AUX_SECURE): Make definition unconditional.
29374 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29375 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29377 2012-08-03 Roland McGrath <roland@hack.frob.com>
29379 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29380 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29381 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29383 __eloop_threshold instead of SYMLOOP_MAX.
29385 * sysdeps/generic/eloop-threshold.h: New file.
29386 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29388 * elf/chroot_canon.c (chroot_canon): Likewise.
29390 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29394 Change to 2.6.0 everywhere.
29395 * sysdeps/unix/sysv/linux/configure: Regenerated.
29396 * sysdeps/unix/sysv/linux/kernel-features.h
29397 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29398 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29400 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29401 (__ASSUME_FUTEX_REQUEUE): Remove.
29402 (__ASSUME_STATFS64): Define unconditionally.
29403 (__ASSUME_AT_SECURE): Likewise.
29404 (__ASSUME_CORRECT_SI_PID): Likewise.
29405 (__ASSUME_TGKILL): Define without depending on kernel version for
29407 (__ASSUME_UTIMES): Likewise.
29408 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29410 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29411 (__ASSUME_TMPFS_NAME): Likewise.
29412 * README: Update reference to Linux kernel versions.
29414 2012-08-02 Marek Polacek <polacek@redhat.com>
29417 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29418 libc_cv_asm_type_prefix with %.
29419 * configure: Regenerated.
29420 * include/libc-symbols.h: Remove comment about
29421 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29422 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29423 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29424 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29425 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29426 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29427 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29428 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29429 * elf/tst-unique2mod1.c: Likewise.
29430 * elf/tst-unique1mod2.c: Likewise.
29431 * elf/tst-unique1mod1.c: Likewise.
29432 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29433 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29434 Replace ASM_TYPE_DIRECTIVE with .type.
29435 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29436 * sysdeps/i386/sysdep.h: Likewise.
29437 * sysdeps/x86_64/sysdep.h: Likewise.
29438 * sysdeps/sh/sysdep.h: Likewise.
29439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29440 Do not define ASM_TYPE_DIRECTIVE.
29441 * sysdeps/powerpc/sysdep.h: Likewise.
29442 * sysdeps/powerpc/powerpc32/sysdep.h:
29443 Replace ASM_TYPE_DIRECTIVE with .type.
29444 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29445 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29446 * sysdeps/i386/fpu/e_powf.S: Likewise.
29447 * sysdeps/i386/fpu/e_expl.S: Likewise.
29448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29449 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29450 * sysdeps/i386/fpu/e_pow.S: Likewise.
29451 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29452 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29453 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29454 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29455 * sysdeps/i386/fpu/e_log2.S: Likewise.
29456 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29457 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29458 * sysdeps/i386/fpu/e_powl.S: Likewise.
29459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29460 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29461 * sysdeps/i386/fpu/e_logl.S: Likewise.
29462 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29463 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29464 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29465 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29466 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29467 * sysdeps/i386/fpu/e_log.S: Likewise.
29468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29469 * sysdeps/i386/fpu/e_logf.S: Likewise.
29470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29471 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29472 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29473 * sysdeps/i386/fpu/e_log10.S: Likewise.
29474 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29476 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29477 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29480 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29481 * sysdeps/i386/i686/strtok.S: Likewise.
29482 * sysdeps/i386/i386-mcount.S: Likewise.
29483 * sysdeps/i386/strtok.S: Likewise.
29484 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29487 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29488 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29490 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29491 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29492 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29493 * sysdeps/x86_64/_mcount.S: Likewise.
29494 * sysdeps/x86_64/strtok.S: Likewise.
29495 * sysdeps/sh/_mcount.S: Likewise.
29497 2012-08-01 Roland McGrath <roland@hack.frob.com>
29499 * libio/iofopen.c: Include <fcntl.h>.
29500 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29501 (_IO_fopen64, fopen64): Define as aliases.
29502 * libio/iofopen64.c: Include <fcntl.h>.
29503 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29504 Conditionalize body on this.
29505 * sysdeps/wordsize-64/iofopen.c: File removed.
29506 * sysdeps/wordsize-64/iofopen64.c: File removed.
29508 2012-08-01 Marek Polacek <polacek@redhat.com>
29510 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29511 Use dlfcn directly instead of a variable.
29512 (binfmt-subdir): Do not define.
29515 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29518 Remove all definitions.
29519 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29520 <kernel-features.h>.
29521 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29522 (miss_F_GETOWN_EX): Remove all definitions.
29523 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29525 [!__ASSUME_FCNTL64]: Remove conditional code.
29526 [__ASSUME_FCNTL64]: Make code unconditional.
29527 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29528 <kernel-features.h>.
29529 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29530 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29531 (lockf64) [__NR_fcntl64]: Make code unconditional.
29532 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29534 * sysdeps/unix/sysv/linux/kernel-features.h
29535 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29536 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29537 Make code unconditional.
29538 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29539 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29541 [__NR_vfork]: Make code unconditional.
29542 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29543 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29545 [__NR_vfork]: Make code unconditional.
29546 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29547 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29549 2012-08-01 Roland McGrath <roland@hack.frob.com>
29551 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29552 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29554 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29555 Define mkstemp64 as an alias.
29556 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29557 Define mkstemps64 as an alias.
29558 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29559 Define mkostemp64 as an alias.
29560 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29561 Define mkostemps64 as an alias.
29562 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29563 Conditionalize body on this.
29564 * misc/mkostemp64.c: Likewise.
29565 * misc/mkostemps64.c: Likewise.
29566 * misc/mkstemps64.c: Likewise.
29567 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29568 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29569 * sysdeps/wordsize-64/mkostemp.c: File removed.
29570 * sysdeps/wordsize-64/mkstemp.c: File removed.
29571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29572 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29573 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29577 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29578 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29579 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29580 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29582 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29583 compat_symbol macros from <shlib-compat.h> rather than the underlying
29584 default_symbol_version and symbol_version macros, so that DEFAULT
29585 lines in shlib-versions are respected.
29586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29588 2012-08-01 Florian Weimer <fweimer@redhat.com>
29590 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29591 Declare with warn_unused_result.
29592 (setgid, setregid, setegid, setresgid): Likewise.
29593 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29595 * WUR-REPORT: Remove set*id functions.
29597 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29599 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29601 2012-07-31 Roland McGrath <roland@hack.frob.com>
29604 * include/sys/socket.h (__libc_accept, __libc_accept4):
29605 Add attribute_hidden.
29606 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29610 * inet/getnetgrent_r.c (setup): Likewise.
29612 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29614 2012-07-31 David S. Miller <davem@davemloft.net>
29616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29618 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29621 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29622 value between 1.0 and 2.0 and smaller part has absolute value less
29624 * math/s_clog10.c (__clog10): Likewise.
29625 * math/s_clog10f.c (__clog10f): Likewise.
29626 * math/s_clog10l.c (__clog10l): Likewise.
29627 * math/s_clogf.c (__clogf): Likewise.
29628 * math/s_clogl.c (__clogl): Likewise.
29629 * math/libm-test.inc (clog_test): Add more tests.
29630 (clog10_test): Likewise.
29631 * sysdeps/i386/fpu/libm-test-ulps: Update.
29632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29634 2012-07-31 Florian Weimer <fweimer@redhat.com>
29636 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29637 Exit with zero in case no suitable GID is found, and write a
29638 message to standard error.
29640 2012-07-30 Roland McGrath <roland@hack.frob.com>
29642 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29644 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29645 (MAXPATHLEN): Removed.
29646 (NOGROUP, NODEV): New macros.
29647 (setbit, clrbit, isset, isclr): New macros.
29648 (howmany, roundup, powerof2): New macros.
29649 (DEV_BSIZE): New macro.
29651 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29652 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29654 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29655 definition on [!__NO_LONG_DOUBLE_MATH].
29657 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29658 PTR_MANGLE and PTR_DEMANGLE.
29660 * socket/accept4.c (accept4): Rename to __libc_accept4.
29661 Define accept4 as a weak alias.
29663 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29664 on [_DIRENT_HAVE_D_TYPE].
29665 * io/ftw.c (ftw_dir): Likewise.
29667 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29669 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29671 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29672 Use the BSD numbers rather than the arbitrary ones we had.
29673 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29674 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29675 (SIGXCPU, SIGXFSZ): New macros.
29678 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29679 initializer on [_LIBC_REENTRANT].
29681 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29682 definitions inside [_POSIX_MAPPED_FILES].
29684 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29686 * dirent/opendir.c: Include <fcntl.h>.
29688 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29689 (__libc_getspecific): Likewise.
29690 (__libc_key_create): Likewise.
29692 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29693 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29694 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29695 (tmpfile64): Define as alias.
29696 * sysdeps/wordsize-64/tmpfile.c: File removed.
29697 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29699 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29701 * stdio-common/vfscanf.c: Include <stdbool.h>.
29702 * nss/makedb.c: Likewise.
29703 * stdio-common/_i18n_number.h: Likewise.
29704 * argp/argp-help.c: Likewise.
29705 * posix/wordexp.c: Likewise.
29706 * sysdeps/posix/spawni.c: Likewise.
29707 * nss/nss_files/files-initgroups.c: Likewise.
29708 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29709 * nss/nss_files/files-initgroups.c: Likewise.
29710 * nss/nss_db/db-netgrp.c: Likewise.
29711 * nss/nss_db/db-initgroups.c: Likewise.
29712 * io/fchmodat.c: Include <sys/stat.h>.
29714 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29715 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29717 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29720 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29721 Add multiple inclusion protection.
29723 2012-07-27 David S. Miller <davem@davemloft.net>
29725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29727 2012-07-27 Gary Benson <gbenson@redhat.com>
29730 * elf/rtld.c: Include <stap-probe.h>.
29731 (dl_main): Added static probes "init_start" and "init_complete".
29732 * elf/dl-load.c: Include <stap-probe.h>.
29733 (lose): Take new parameter "nsid".
29734 Added static probe "map_failed".
29735 (_dl_map_object_from_fd): Pass namespace id to lose.
29736 Added static probe "map_start".
29737 (open_verify): Pass namespace id to lose.
29738 * elf/dl-open.c: Include <stap-probe.h>.
29739 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29740 and "reloc_complete".
29741 * elf/dl-close.c: Include <stap-probe.h>.
29742 (_dl_close_worker): Added static probes "unmap_start" and
29744 * elf/rtld-debugger-interface.txt: New file documenting the above.
29746 2012-07-26 Roland McGrath <roland@hack.frob.com>
29748 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29749 rather than a string variable.
29750 * sunrpc/rpc_main.c (h_output): Likewise.
29751 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29753 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29755 * inet/check_native.c: New file.
29757 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29760 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29761 if larger part has absolute value 1.0.
29762 * math/s_clog10.c (__clog10): Likewise.
29763 * math/s_clog10f.c (__clog10f): Likewise.
29764 * math/s_clog10l.c (__clog10l): Likewise.
29765 * math/s_clogf.c (__clogf): Likewise.
29766 * math/s_clogl.c (__clogl): Likewise.
29767 * math/libm-test.inc (clog_test): Add more tests.
29768 (clog10_test): Likewise.
29769 * sysdeps/i386/fpu/libm-test-ulps: Update.
29770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29772 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29773 (pltexit): Likewise.
29774 (La_regs): Likewise.
29775 (La_retval): Likewise.
29776 (int_retval): Likewise.
29777 Update #error for removed macros to refer only to definitions in
29779 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29781 (pltexit): Likewise.
29782 (La_regs): Likewise.
29783 (La_retval): Likewise.
29784 (int_retval): Likewise.
29785 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29787 (pltexit): Likewise.
29788 (La_regs): Likewise.
29789 (La_retval): Likewise.
29790 (int_retval): Likewise.
29791 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29793 (pltexit): Likewise.
29794 (La_regs): Likewise.
29795 (La_retval): Likewise.
29796 (int_retval): Likewise.
29797 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29799 (pltexit): Likewise.
29800 (La_regs): Likewise.
29801 (La_retval): Likewise.
29802 (int_retval): Likewise.
29803 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29805 (pltexit): Likewise.
29806 (La_regs): Likewise.
29807 (La_retval): Likewise.
29808 (int_retval): Likewise.
29809 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29811 (pltexit): Likewise.
29812 (La_regs): Likewise.
29813 (La_retval): Likewise.
29814 (int_retval): Likewise.
29815 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29816 macro definitions in tst-audit.h.
29817 * sysdeps/i386/tst-audit.h: New file.
29818 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29819 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29820 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29821 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29822 * sysdeps/sh/tst-audit.h: Likewise.
29823 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29824 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29825 * sysdeps/x86_64/tst-audit.h: Likewise.
29827 2012-07-26 Andreas Jaeger <aj@suse.de>
29829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29832 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29833 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29834 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29836 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29837 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29838 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29840 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29843 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29845 (si_call_addr, si_syscall, si_arch): Define new macro.
29846 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29848 (si_call_addr, si_syscall, si_arch): Define new marcro.
29849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29851 (si_call_addr, si_syscall, si_arch): Define new macro.
29852 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29854 (si_call_addr, si_syscall, si_arch): Define new macro.
29856 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29860 Change to 2.4.21 where previously 2.4.1.
29861 * sysdeps/unix/sysv/linux/configure: Regenerated.
29862 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29863 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29864 Linux kernel version.
29865 (__ASSUME_STD_AUXV): Remove.
29866 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29868 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29869 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29870 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29871 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29872 (__ASSUME_NETLINK_SUPPORT): Likewise.
29873 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29874 (__no_netlink_support): Remove conditional definition.
29875 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29877 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29878 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29879 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29880 (if_nameindex_ioctl): Remove.
29881 (if_nameindex_netlink): Do not handle __no_netlink_support.
29882 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29884 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29885 Remove conditional code.
29886 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29888 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29890 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29891 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29892 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29894 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29895 [!__ASSUME_STD_AUXV]: Remove conditional code.
29896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29897 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29898 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29900 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29901 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29903 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29905 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29906 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29908 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29910 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29913 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29916 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29917 code unconditional.
29918 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29920 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29922 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29925 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29927 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29930 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29931 code unconditional.
29932 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29934 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29936 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29939 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29940 code unconditional.
29941 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29943 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29945 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29948 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29950 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29951 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29952 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29953 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29954 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29955 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29956 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29957 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29958 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29959 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29960 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29961 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29962 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29963 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29964 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29965 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29966 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29968 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29970 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29971 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29974 2012-07-25 Florian Weimer <fweimer@redhat.com>
29976 * Versions.def: Add GLIBC_2.17.
29977 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29978 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29979 Introduce __libc_secure_getenv.
29980 * stdlib/Versions (2.17): Add secure_getenv
29981 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29982 * stdlib/secure-getenv.c: Rename __secure_getenv to
29983 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29984 symbol __secure_getenv for GLIBC_2.0.
29985 * stdlib/tst-secure-getenv.c: New.
29986 * stdlib/Makefile (tests): Add testcase.
29987 * manual/startup.texi (Environment Access): Document
29989 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29990 __libc_secure_getenv.
29991 * inet/ruserpass.c (ruserpass): Likewise.
29992 * malloc/mtrace.c (mtrace): Likewise.
29993 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29994 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29995 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29996 * sysdeps/posix/tempname.c: Likewise. Evaluate
29997 HAVE_SECURE_GETENV.
29998 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29999 __secure_getenv to __libc_secure_getenv.
30000 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30013 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30015 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30016 (struct La_i86_retval): Likewise.
30017 (struct La_x86_64_regs): Likewise.
30018 (struct La_x86_64_retval): Likewise.
30019 (struct La_x32_regs): Likewise.
30020 (struct La_x32_retval): Likewise.
30021 (struct La_ppc32_regs): Likewise.
30022 (struct La_ppc32_retval): Likewise.
30023 (struct La_ppc64_regs): Likewise.
30024 (struct La_ppc64_retval): Likewise.
30025 (struct La_sh_regs): Likewise.
30026 (struct La_sh_retval): Likewise.
30027 (struct La_s390_32_regs): Likewise.
30028 (struct La_s390_32_retval): Likewise.
30029 (struct La_s390_64_regs): Likewise.
30030 (struct La_s390_64_retval): Likewise.
30031 (struct La_sparc32_regs): Likewise.
30032 (struct La_sparc32_retval): Likewise.
30033 (struct La_sparc64_regs): Likewise.
30034 (struct La_sparc64_retval): Likewise.
30035 (struct audit_ifaces): Remove architecture-specific pltenter and
30037 * sysdeps/i386/ldsodefs.h: New file.
30038 * sysdeps/powerpc/ldsodefs.h: Likewise.
30039 * sysdeps/s390/ldsodefs.h: Likewise.
30040 * sysdeps/sh/ldsodefs.h: Likewise.
30041 * sysdeps/sparc/ldsodefs.h: Likewise.
30042 * sysdeps/x86_64/ldsodefs.h: Likewise.
30044 2012-07-25 Marek Polacek <polacek@redhat.com>
30047 * math/libm-test.inc (yn_test): Add another test.
30048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30049 to ERANGE when the result is +-Inf.
30050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30051 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30052 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30053 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30055 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30057 * conform/data/time.h-data (NULL): Use macro-constant. Require
30059 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30061 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30063 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30065 * configure.in <sysdeps resolving>: Correct printing
30067 * configure: Regenerate.
30069 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30071 * math/w_ilogb.c: Include <limits.h>.
30072 * math/w_ilogbl.c: Likewise.
30074 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30076 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30077 va_copy. Document allowing for unavailable va_copy only as
30078 pre-C99 compatibility.
30079 * manual/string.texi (Copying and Concatenation): Use va_copy
30080 instead of __va_copy in concat example.
30082 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30084 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30085 (__sendto): Use create_address_port. Initialize APORT and deallocate
30088 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30089 with O_NOLINK passed to __file_name_lookup.
30091 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30092 with O_NOLINK passed to __file_name_lookup.
30094 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30095 negative N or less than NGIDS.
30097 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30098 type to string_t. Set ERANGE as errno and return it if NAME is not big
30099 enough. Use memcpy instead of strncpy.
30101 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30103 * elf/Makefile (check-data): Remove.
30104 (localplt.data): New vpath directive.
30105 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30106 instead of $(check-data).
30107 * scripts/data/localplt-generic.data: Move to ...
30108 * sysdeps/generic/localplt.data: ... here.
30109 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30110 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30111 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30114 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30117 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30120 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30123 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30126 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30130 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30132 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30133 PPC32 and PPC64 files.
30134 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30135 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30137 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30139 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30140 __makecontext_ret to ...
30141 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30142 ... here and call exit if uc_link is NULL. New file.
30143 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30144 __makecontext_ret.S.
30145 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30146 __makecontext_ret to ...
30147 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30148 ... here and call exit if uc_link is NULL. New file.
30149 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30150 __makecontext_ret.S.
30152 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30154 * elf/elf.h (R_390_IRELATIVE): New definition.
30155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30156 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30157 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30158 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30159 (elf_machine_lazy_rel): Likewise.
30160 * sysdeps/s390/dl-irel.h: New file.
30161 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30162 * sysdeps/s390/s390-64/memset.S: New asm code.
30163 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30164 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30166 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30167 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30168 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30169 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30170 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30171 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30172 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30173 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30174 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30175 * sysdeps/s390/s390-32/memset.S: New asm code.
30176 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30178 2012-07-17 Marek Polacek <polacek@redhat.com>
30181 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30182 * sysdeps/s390/s390-64/configure.in: Likewise.
30183 * sysdeps/sparc/configure.in: Likewise.
30184 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30185 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30186 * sysdeps/i386/configure.in: Likewise.
30187 * sysdeps/x86_64/configure.in: Likewise.
30188 * sysdeps/sh/configure.in: Likewise.
30189 * sysdeps/s390/s390-32/configure: Regenerated.
30190 * sysdeps/s390/s390-64/configure: Likewise.
30191 * sysdeps/x86_64/configure: Likewise.
30192 * sysdeps/sh/configure: Likewise.
30193 * sysdeps/powerpc/powerpc64/configure: Likewise.
30194 * sysdeps/powerpc/powerpc32/configure: Likewise.
30195 * sysdeps/sparc/configure: Likwise.
30196 * sysdeps/i386/configure: Likewise.
30198 * elf/dl-open.c: Comment fixes.
30200 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30202 * Makefile [CXX] (check-data): Remove.
30203 [CXX] (c++-types.data): New vpath directive.
30204 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30205 vpath. Do not allow for C++ type data being missing.
30206 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30207 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30208 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30209 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30210 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30211 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30212 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30215 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30218 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30221 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30224 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30227 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30230 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30233 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30236 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30237 definitions to architecture-specific files.
30238 (TLS_IE): Likewise.
30239 (TLS_LD): Likewise.
30240 (TLS_GD): Likewise.
30241 * sysdeps/i386/tls-macros.h: New file.
30242 * sysdeps/powerpc/tls-macros.h: Likewise.
30243 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30244 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30245 * sysdeps/sh/tls-macros.h: Likewise.
30246 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30247 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30248 * sysdeps/x86_64/tls-macros.h: Likewise.
30250 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30253 zero value for regular exit case.
30255 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30256 (__start_context): Preserve zero value for regular exit case.
30258 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30259 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30261 * manual/setjmp.texi (setcontext): Clarify normal process
30262 termination when uc_link is the null pointer.
30263 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30266 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30268 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30269 preprocessor. Test for each exception mask separately.
30271 2012-07-16 Andreas Jaeger <aj@suse.de>
30273 * po/ru.po: Update from translation team.
30275 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30277 * conform/data/string.h-data (NULL): Use macro-constant. Require
30279 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30280 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30281 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30282 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30285 2012-07-13 Andreas Jaeger <aj@suse.de>
30287 * po/fr.po: Update from translation team.
30289 2012-07-12 Marek Polacek <polacek@redhat.com>
30292 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30296 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30300 Change to 2.4.1 where previously 2.4.0.
30301 * sysdeps/unix/sysv/linux/configure: Regenerated.
30302 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30303 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30305 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30306 (__ASSUME_AT_CLKTCK): Remove.
30307 (__ASSUME_AT_PAGESIZE): Likewise.
30308 (__ASSUME_AT_XID): Likewise.
30309 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30310 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30311 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30313 (HAVE_AUX_PAGESIZE): Likewise.
30314 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30315 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30316 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30318 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30322 the temporary buffer used to invoke __gethostbyname2_r,
30323 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30324 host_data / struct gaih_addrtuple.
30325 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30326 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30327 header file nss/nsswitch.h.
30328 * nss/nsswitch.h (global scope): Add definition of implementation
30329 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30330 resolv/nss_dns/dns-host.c).
30332 2012-07-11 Andreas Jaeger <aj@suse.de>
30334 * po/fr.po: Update from translation team.
30336 * po/sv.po: Update from translation team
30337 * po/fr.po: Another update from translation team.
30339 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30341 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30342 for subnormals or multiply small sinh result by itself.
30343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30346 2012-07-11 David S. Miller <davem@davemloft.net>
30348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30350 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30353 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30354 (INTERNAL_MARK): Shift it here.
30356 2012-07-10 Marek Polacek <polacek@redhat.com>
30359 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30360 libc_cv_asm_global_directive with .globl.
30361 * configure: Regenerated.
30362 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30364 * sysdeps/i386/configure: Regenerated.
30365 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30367 * sysdeps/x86_64/configure: Regenerated.
30368 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30369 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30370 * elf/tst-unique2mod2.c: Likewise.
30371 * elf/tst-unique2mod1.c: Likewise.
30372 * elf/tst-unique1mod2.c: Likewise.
30373 * elf/tst-unique1mod1.c: Likewise.
30374 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30375 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30376 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30377 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30378 * sysdeps/mach/sysdep.h: Likewise.
30379 * sysdeps/i386/sysdep.h: Likewise.
30380 * sysdeps/i386/i386-mcount.S: Likewise.
30381 * sysdeps/x86_64/_mcount.S: Likewise.
30382 * sysdeps/x86_64/sysdep.h: Likewise.
30383 * sysdeps/sh/_mcount.S: Likewise.
30384 * sysdeps/sh/sysdep.h: Likewise.
30385 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30386 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30387 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30388 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30389 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30390 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30391 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30392 * locale/localeinfo.h: Likewise.
30393 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30394 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30396 2012-07-09 Roland McGrath <roland@hack.frob.com>
30399 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30401 * manual/message.texi (The Uniforum approach): Likewise.
30402 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30403 (glibc iconv Implementation): Likewise.
30405 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30408 * math/s_clog.c (__clog): Avoid scaling a value down where that
30409 could result in underflow.
30410 * math/s_clog10.c (__clog10): Likewise.
30411 * math/s_clog10f.c (__clog10f): Likewise.
30412 * math/s_clog10l.c (__clog10l): Likewise.
30413 * math/s_clogf.c (__clogf): Likewise.
30414 * math/s_clogl.c (__clogl): Likewise.
30415 * math/libm-test.inc (clog_test): Add more tests.
30416 (clog10_test): Likewise.
30417 * sysdeps/i386/fpu/libm-test-ulps: Update.
30418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30420 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30423 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30424 by 7 not 8 to examine high bit of fractional part.
30427 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30428 for call to __mcount_internal.
30429 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30430 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30431 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30433 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30436 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30437 approximation for values within 0x1p-13f of an odd multiple of
30439 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30440 exception. Add more tests.
30441 * sysdeps/i386/fpu/libm-test-ulps: Update.
30444 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30445 inputs and return -1 for them. Do not check for +Inf in case not
30446 reachable for +Inf.
30447 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30448 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30449 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30450 and return -1 for them. Do not check for +Inf in case not
30451 reachable for +Inf.
30452 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30454 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30455 and return -1 for them. Do not check for +Inf in case not
30456 reachable for +Inf.
30457 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30458 spurious underflow.
30459 * sysdeps/i386/fpu/libm-test-ulps: Update.
30460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30462 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30464 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30466 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30470 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30471 could result in spurious underflow. Scale down values above
30472 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30473 * math/s_csqrtf.c (__csqrtf): Likewise.
30474 * math/s_csqrtl.c (__csqrtl): Likewise.
30475 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30476 spurious underflow.
30477 * sysdeps/i386/fpu/libm-test-ulps: Update.
30478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30480 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30482 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30484 * catgets/xopen-msg.awk: New file.
30485 * catgets/xopen-msg.sed: Removed.
30487 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30489 * intl/po2test.awk: New file.
30490 * intl/po2test.sed: Removed.
30492 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30495 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30496 or multiply small sinh result by itself.
30497 * math/s_ctanf.c (__ctanf): Likewise.
30498 * math/s_ctanh.c (__ctanh): Likewise.
30499 * math/s_ctanhf.c (__ctanhf): Likewise.
30500 * math/s_ctanhl.c (__ctanhl): Likewise.
30501 * math/s_ctanl.c (__ctanl): Likewise.
30502 * math/libm-test.inc (ctan_test_tonearest): New function.
30503 (ctan_test_towardzero): Likewise.
30504 (ctan_test_downward): Likewise.
30505 (ctan_test_upward): Likewise.
30506 (ctanh_test_tonearest): Likewise.
30507 (ctanh_test_towardzero): Likewise.
30508 (ctanh_test_downward): Likewise.
30509 (ctanh_test_upward): Likewise.
30510 (main): Call these new functions.
30511 * sysdeps/i386/fpu/libm-test-ulps: Update.
30512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30514 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30516 * .gitignore: Delete /ports entry.
30518 2012-07-03 Andreas Jaeger <aj@suse.de>
30520 * po/bg.po: Update from translation team.
30521 * po/cs.po: Likewise.
30522 * po/de.po: Likewise.
30523 * po/hr.po: Likewise.
30524 * po/nl.pl: Likewise.
30525 * po/pl.po: Likewise.
30526 * po/vi.po: Likewise.
30528 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30530 * Makeconfig [!+link] (+link-before-libc): New variable.
30531 [!+link] (+link-after-libc): Likewise.
30532 [!+link] (+link-tests): Likewise.
30533 [!+link] (+link): Define in terms of $(+link-before-libc) and
30534 $(+link-after-libc).
30535 [!+link-static] (+link-static-before-libc): New variable.
30536 [!+link-static] (+link-static-after-libc): Likewise.
30537 [!+link-static] (+link-static-tests): Likewise.
30538 [!+link-static] (+link-static): Define in terms of
30539 $(+link-static-before-libc) and $(+link-static-after-libc).
30540 [build-shared] (link-libc-before-gnulib): New variable.
30541 [build-shared] (link-libc-tests): Likewise.
30542 [build-shared] (link-libc): Define in terms of
30543 $(link-libc-before-gnulib).
30544 [!build-shared] (link-libc-tests): New variable.
30545 (link-libc-static-tests): New variable.
30546 [!gnulib] (gnulib-arch): New variable.
30547 [!gnulib] (gnulib-tests): Likewise.
30548 [!gnulib] (static-gnulib-arch): Likewise.
30549 [!gnulib] (static-gnulib-tests): Likewise.
30550 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30551 Define with "=" instead of ":=".
30552 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30553 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30554 * Rules (binaries-all-notests): New variable.
30555 (binaries-all-tests): Likewise.
30556 (binaries-static-notests): Likewise.
30557 (binaries-static-tests): Likewise.
30558 (binaries-all): Define using $(binaries-all-notests) and
30559 $(binaries-all-tests).
30560 (binaries-static): Define using $(binaries-static-notests) and
30561 $(binaries-static-tests).
30562 (binaries-shared-tests): New variable.
30563 (binaries-shared-notests): Likewise.
30564 (binaries-shared): Remove variable.
30565 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30566 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30567 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30568 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30569 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30570 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30571 * elf/Makefile (sln-modules): New variable.
30572 (extra-objs): Add $(sln-modules:=.o).
30573 (ldconfig-modules): Add static-stubs.
30574 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30575 * elf/static-stubs.c: New file.
30578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30579 by 7 not 8 to examine high bit of fractional part. Use volatile
30580 variables when splitting into final array of floats if
30581 __FLT_EVAL_METHOD__ != 0.
30582 * math/libm-test.inc (cos_test): Add another test.
30583 (sin_test): Likewise.
30584 * sysdeps/i386/fpu/libm-test-ulps: Update.
30587 * math/libm-test.inc (cosh_test): Add more tests.
30589 * version.h (RELEASE): Set to "development".
30590 (VERSION): Set to "2.16.90".
30592 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30594 * NEWS: Update copyright. Remove last-updated date.
30595 Mention math library bug fixes and timezone data changes.
30596 * README: Mention GNU/Hurd, x32, and HPPA support status.
30598 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30600 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30602 2012-06-27 Andreas Jaeger <aj@suse.de>
30604 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30606 2012-06-25 Andreas Jaeger <aj@suse.de>
30608 * sysdeps/s390/fpu/libm-test-ulps: Update.
30610 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30611 Thomas Schwinge <thomas@codesourcery.com>
30613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30614 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30618 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30620 * sysdeps/mach/start.c: Remove file.
30621 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30622 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30623 * sysdeps/sh/init-first.c: Likewise.
30625 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30626 registers for frame unwinding purposes, add CFI directives.
30627 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30629 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30632 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30633 __fortify_fail returning.
30634 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30636 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30637 sysdeps/sh/____longjmp_chk.S.
30638 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30639 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30640 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30641 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30643 * sysdeps/sh/abort-instr.h: New file.
30644 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30645 process in case exit returns.
30647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30648 initialize the GOT register before use.
30650 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30651 calculation of ARGC > 4.
30653 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30654 meaningful names to some local labels.
30656 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30657 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30659 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30660 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30661 (__arch_compare_and_exchange_val_16_acq): Likewise.
30662 (__arch_compare_and_exchange_val_32_acq): Likewise.
30663 (atomic_exchange_and_add): Fix gUSA sequence.
30664 (atomic_add): Likewise.
30665 (atomic_add_negative): Likewise.
30666 (atomic_add_zero): Likewise.
30667 (atomic_bit_test_set): Likewise.
30669 2012-06-22 Andreas Schwab <schwab@redhat.com>
30672 * include/link.h (struct link_map): Add l_free_initfini.
30673 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30675 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30676 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30677 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30680 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30682 * configure.in: Use AC_LANG_SOURCE.
30683 * configure: Regenerate.
30685 2012-06-22 Roland McGrath <roland@hack.frob.com>
30687 * configure.in (libc_cv_localstatedir): New substituted variable.
30688 * configure: Regenerated.
30689 * config.make.in (localstatedir): New variable, substituted from
30690 libc_cv_localstatedir.
30691 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30692 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30693 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30694 * sysdeps/gnu/configure: Regenerated.
30696 2012-06-21 Jeff Law <law@redhat.com>
30699 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30700 free. Simplify list management for _LIBC case.
30702 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30705 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30706 Clear sign bit of 64-bit integer value before comparing against
30709 * sysdeps/mach/configure: Regenerated.
30711 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30714 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30716 2012-06-21 Jeff Law <law@redhat.com>
30719 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30720 uint16_t for elements in the "seen" array to avoid char overflows.
30721 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30722 * elf/dl-open.c (dl_open_worker): Likewise.
30724 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30726 * scripts/list-sources.sh: Scan PORTS for translations.
30727 * po/libc.pot: Regenerated.
30729 2012-06-21 Andreas Jaeger <aj@suse.de>
30732 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30734 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30735 * bits/byteswap-16.h (__bswap_16): Likewise.
30736 * bits/byteswap.h (__bswap_constant_16): Likewise.
30738 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30741 * sysdeps/i386/fpu_control.h: Removed.
30742 * sysdeps/x86_64/fpu_control.h: Moved to ...
30743 * sysdeps/x86/fpu_control.h: Here.
30745 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30746 (_FPU_SETCW): Likewise.
30748 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30751 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30752 * sysdeps/x86/fpu/bits/mathinline.h: This.
30753 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30757 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30758 functions if __x86_64__ is defined.
30760 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30762 * string/endian.h: Add !__ASSEMBLER__ condition for including
30763 conversion interfaces.
30765 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30769 of ABS(x) in calculating zero to negative powers other than odd
30771 * math/libm-test.inc (pow_test): Add more tests.
30773 2012-06-15 Andreas Jaeger <aj@suse.de>
30775 * manual/contrib.texi (Contributors): Update entry of Liubov
30776 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30779 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30781 * string/string.h: Add __wur to GNU version of strerror_r.
30783 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30786 * string/Makefile (tests): Add tst-strtok_r.
30787 * string/tst-strtok_r.c: New file.
30788 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30789 RAX_LP/RDX_LP on SAVE_PTR.
30791 2012-06-14 Roland McGrath <roland@hack.frob.com>
30793 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30795 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30797 * libm_test.inc (csqrt_test): Allow more spurious underflow
30799 (j0_test): Likewise.
30800 (j1_test): Likewise.
30801 (y0_test): Likewise.
30802 (y1_test): Likewise.
30804 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30806 * po/Makefile (libc.pot): Use UTF-8 charset.
30808 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30811 Suppress sign-conversion warning from FD_SET.
30812 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30813 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30814 not unsigned long int.
30815 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30817 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30821 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30822 __extern_always_inline instead of __extern_inline.
30823 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30824 (__signbit): Likewise.
30825 (__signbitl): Support C++ namespace.
30826 (lrintf): New inline function.
30828 (llrintf): Likewise.
30829 (llrint): Likewise.
30839 (floorf): Likewise.
30840 (nearbyint): Likewise.
30841 (nearbyintf): Likewise.
30843 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30846 non-default versions.
30848 2012-06-11 Roland McGrath <roland@hack.frob.com>
30851 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30853 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30855 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30856 (FE_UPWARD, FE_DOWNWARD): Don't define.
30857 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30860 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30862 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30863 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30865 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30867 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30870 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30872 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30875 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30876 * sysdeps/i386/fpu/Implies: New file.
30877 * sysdeps/x86_64/fpu/Implies: Likewise.
30878 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30879 * sysdeps/x86/fpu/bits/fenv.h: This.
30881 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30884 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30887 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30888 character 0xffff that matches the last element of the
30891 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30893 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30896 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30898 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30899 values higher than 25.6283.
30901 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30904 subnormal exponent extraction and add some __builtin_expect.
30905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30906 Fix for subnormal mantissa calculation.
30908 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30910 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30911 cpu2 is -1 and errno is not ENOSYS.
30913 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30916 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30917 * sysdeps/x86/bits/string.h: This.
30918 * sysdeps/x86_64/bits/string.h: Removed.
30920 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30921 if not compiling for x86-64, but compiling for >= i486.
30923 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30924 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30927 New macro from Linux kernel 3.4.0.
30928 (FP_XSTATE_MAGIC2): Likewise.
30929 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30930 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30931 (struct _fpx_sw_bytes): New struct.
30932 (struct _xsave_hdr): Likewise.
30933 (struct _ymmh_state): Likewise.
30934 (struct _xstate): Likewise.
30936 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30937 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30938 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30939 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30940 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30941 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30943 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30944 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30945 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30946 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30947 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30948 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30950 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30953 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30954 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30955 (sysdep_headers): Include sys/platform/ppc.h.
30956 * sysdeps/powerpc/test-gettimebase.c: Test for
30957 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30958 * manual/Makefile (appendices): Include platform.texi.
30959 * manual/contrib.texi (Contributors): Update @node pointers.
30960 * manual/maint.texi (Maintenance): Likewise.
30961 (Platform): New node.
30962 * manual/platform.texi: New file. Document the new features.
30964 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30965 Jakub Jelinek <jakub@redhat.com>
30968 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30969 where __builtin_expect is unavailable.
30971 2012-06-03 David S. Miller <davem@davemloft.net>
30973 * stdlib/longlong.h: Updated from GCC.
30975 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30978 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30979 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30982 (GLIBC_2.16): Likewise.
30984 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30986 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30988 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30991 (default-abi): New variable.
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30993 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30995 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30997 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30999 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31002 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31003 definition. Document in comment.
31005 2012-06-01 David S. Miller <davem@davemloft.net>
31007 * stdlib/longlong.h: Updated from GCC.
31009 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31012 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31013 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31014 sys/debugreg.h sys/io.h here.
31015 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31016 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31018 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31019 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31020 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31021 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31022 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31023 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31026 Define only if __x86_64__ is defined.
31028 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31032 Use int64_t for variable i.
31033 * math/libm-test.inc (fmod_test): Add more tests.
31035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31036 z computation is not scheduled after fetestexcept.
31037 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31038 Use math_force_eval instead of asm to ensure calculation scheduled
31039 before exception test.
31040 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31041 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31043 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31046 computation is not scheduled after fetestexcept.
31048 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31051 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31052 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31054 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31056 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31057 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31059 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31062 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31064 (__WCHAR_MIN): Support __WORDSIZE == 64.
31065 (__WCHAR_MAX): Likewise.
31067 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31072 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31075 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31076 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31078 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31079 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31082 Defined to 1 if __x86_64__ isn't defined.
31083 (_STAT_VER_LINUX_OLD): New.
31084 (st_atime): Remove duplicate.
31085 (st_mtime): Likewise.
31086 (st_ctime): Likewise.
31088 2012-05-31 David S. Miller <davem@davemloft.net>
31090 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31093 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31095 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31099 * elf/dl-reloc.c: Include <_itoa.h>.
31100 (_dl_reloc_bad_type): Remove use of INTUSE.
31101 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31102 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31103 * stdio-common/psiginfo.c (psiginfo): Likewise.
31104 * stdio-common/psignal.c (psignal): Likewise.
31105 * string/strsignal.c (strsignal): Likewise.
31106 * include/signal.h (_sys_siglist): Declare hidden proto.
31107 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31108 INTVARDEF with libc_hidden_data_def.
31109 * stdio-common/itoa-udigits.c: Likewise.
31110 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31111 (_itoa_lower_digits_internal): Remove declaration.
31112 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31113 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31114 (_sys_sigabbrev_internal): Remove aliases.
31115 (_sys_siglist): Define hidden alias.
31117 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31122 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31125 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31126 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31128 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31129 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31130 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31131 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31132 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31133 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31135 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31136 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31137 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31139 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31147 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31148 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31149 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31151 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31152 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31154 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31155 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31156 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31158 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31159 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31161 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31162 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31168 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31169 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31171 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31173 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31174 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31175 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31177 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31179 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31181 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31183 * math/math.h (M_El): Use two more decimal places.
31184 (M_LOG2El): Likewise.
31185 (M_LOG10El): Likewise.
31186 (M_LN2l): Likewise.
31187 (M_LN10l): Likewise.
31189 (M_PI_2l): Likewise.
31190 (M_PI_4l): Likewise.
31191 (M_1_PIl): Likewise.
31192 (M_2_PIl): Likewise.
31193 (M_2_SQRTPIl): Likewise.
31194 (M_SQRT2l): Likewise.
31195 (M_SQRT1_2l): Likewise.
31197 2012-05-31 David S. Miller <davem@davemloft.net>
31199 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31200 values between float registers.
31201 * sysdeps/sparc/sparc64/memset.S: Likewise.
31202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31204 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31206 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31207 -D_FORTIFY_SOURCE=1.
31208 (CPPFLAGS-tst-longjmp_chk.c): Define.
31209 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31210 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31211 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31212 CFLAGS-tst-wchar-h.c.
31214 2012-05-31 Marek Polacek <polacek@redhat.com>
31217 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31218 __endmntent_internal): Remove declaration.
31219 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31220 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31221 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31223 2012-05-30 David S. Miller <davem@davemloft.net>
31225 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31226 (___Q_simulate_exceptions): Use real FP ops rather than writing
31228 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31231 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31234 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31235 * sysdeps/x86/bits/xtitypes.h: This.
31237 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31238 * sysdeps/x86/bits/wordsize.h: This.
31240 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31241 * sysdeps/x86/bits/huge_vall.h: This.
31243 * sysdeps/i386/bits/select.h: Removed.
31244 * sysdeps/x86_64/bits/select.h: Renamed to ...
31245 * sysdeps/x86/bits/select.h: This.
31247 * sysdeps/i386/bits/setjmp.h: Removed.
31248 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31249 * sysdeps/x86/bits/setjmp.h: This.
31251 * sysdeps/i386/bits/mathdef.h: Removed.
31252 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31253 * sysdeps/x86/bits/mathdef.h: This.
31255 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31258 * include/sys/socket.h (__connect_internal)
31259 (__libc_sa_len_internal): Remove declaration.
31260 (__connect, __libc_sa_len): Declare hidden_proto.
31261 (SA_LEN): Remove use of INTUSE.
31262 * socket/connect.c: Add libc_hidden_def.
31263 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31264 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31265 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31267 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31268 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31269 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31270 of adding _internal alias.
31272 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31275 * sysdeps/i386/bits/link.h: Removed.
31276 * sysdeps/i386/bits/linkmap.h: Likewise.
31277 * sysdeps/x86_64/bits/link.h: Renamed to ...
31278 * sysdeps/x86/bits/link.h: This.
31279 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31280 * sysdeps/x86/bits/linkmap.h: This.
31282 * sysdeps/i386/bits/endian.h: Removed.
31283 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31284 * sysdeps/x86/bits/endian.h: This.
31286 * sysdeps/i386/bits/byteswap.h: Removed.
31287 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31288 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31289 * sysdeps/x86/bits/byteswap.h: This.
31290 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31291 * sysdeps/x86/bits/byteswap-16.h: This.
31292 * sysdeps/i386/Implies: Add x86.
31293 * sysdeps/x86_64/Implies: Likewise.
31295 2012-05-30 David S. Miller <davem@davemloft.net>
31297 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31298 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31300 (FP_TRAPPING_EXCEPTIONS): Define.
31301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31302 (FP_TRAPPING_EXCEPTIONS): Define.
31303 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31304 subnormals only when inexact has been signalled or underflow
31305 exceptions are enabled.
31306 (_FP_PACK_CANONICAL): Likewise.
31308 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31312 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31314 2012-05-30 Richard Henderson <rth@twiddle.net>
31316 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31317 with #ifndef NOT_IN_libc.
31319 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31320 marked to avoid plt entry.
31322 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31325 * Makeconfig (default-abi): New macro.
31326 (abi-includes): Likewise.
31327 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31328 $(abi-$(default-abi)-lib-soname) for soname if defined.
31329 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31331 * Makefile (installed-stubs): Likewise.
31332 * include/stubs-biarch.h: Removed.
31333 * scripts/lib-names.awk: Only handle one library at a time.
31334 * scripts/soversions.awk: Remove WORDSIZE support.
31335 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31337 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31339 (syscall-list-default-condition): Likewise.
31340 (syscall-list-default-condition): Likewise.
31341 (syscall-list-includes): Likewise.
31342 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31343 syscall-list-* with abi-*. Handle undefined abi-variants.
31344 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31345 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31346 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31347 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31348 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31349 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31351 (syscall-list-32-options): Likewise.
31352 (syscall-list-32-condition): Likewise.
31353 (syscall-list-64-options): Likewise.
31354 (syscall-list-64-condition): Likewise.
31355 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31357 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31360 (abi-64-ld-soname): New macro.
31361 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31362 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31365 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31366 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31368 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31370 * sysdeps/unix/sysv/linux/kernel-features.h
31371 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31372 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31373 include <kernel-features.h>.
31374 [!__NR_ftruncate64]: Remove conditional code.
31375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31376 [__NR_ftruncate64]: Make code unconditional.
31377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31378 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31379 include <kernel-features.h>.
31380 [!__NR_ftruncate64]: Remove conditional code.
31381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31382 [__NR_ftruncate64]: Make code unconditional.
31383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31385 include <kernel-features.h>.
31386 [!__NR_ftruncate64]: Remove conditional code.
31387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31388 [__NR_ftruncate64]: Make code unconditional.
31389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31391 include <kernel-features.h>.
31392 [!__NR_ftruncate64]: Remove conditional code.
31393 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31394 [__NR_ftruncate64]: Make code unconditional.
31395 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31397 * configure.in (libc_cv_fpie): Weaken to a compile test using
31398 LIBC_TRY_CC_OPTION.
31399 * configure: Regenerated.
31401 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31416 2012-05-27 David S. Miller <davem@davemloft.net>
31418 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31420 (__Q_simulate_exceptions): Return void. Change to simulate
31421 exceptions by writing into the %fsr.
31422 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31423 (__Qp_handle_exceptions): Likewise.
31425 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31426 __Qp_handle_exceptions.
31427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31428 __Qp_handle_exceptions.
31429 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31430 as unused and give dummy FP_RND_NEAREST initializer.
31431 (FP_INHIBIT_RESULTS): Define.
31432 (___Q_simulate_exceptions): Update declaration.
31433 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31436 as unused and give dummy FP_RND_NEAREST initializer.
31437 (__Qp_handle_exceptions): Update declaration.
31438 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31441 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31443 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31444 the temporary FPU control word.
31445 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31446 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31447 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31448 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31449 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31450 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31451 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31452 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31453 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31454 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31455 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31457 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31459 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31462 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31464 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31465 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31466 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31467 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31469 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31470 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31473 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31475 * po/h.po: Update from translation team.
31477 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31479 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31481 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31482 handling of denormals.
31483 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31484 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31485 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31486 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31492 2012-05-26 Marek Polacek <polacek@redhat.com>
31495 * math/libm-test.inc (fma_test): Don't always expect underflow
31498 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31501 * elf/tst-execstack.c: Include stackinfo.h.
31502 (do_test): Adjust test case to ensure that pthread_getattr_np
31503 behaviour remains the same after marking stack executable.
31505 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31507 * sysdeps/unix/sysv/linux/kernel-features.h
31508 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31509 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31511 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31512 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31513 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31515 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31516 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31518 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31520 * configure.in: Define the default includes to being none.
31521 * configure: Regenerated.
31523 2012-05-25 Roland McGrath <roland@hack.frob.com>
31525 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31526 * sysdeps/x86_64/setjmp.S: Likewise.
31527 * sysdeps/i386/bsd-setjmp.S: Likewise.
31528 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31529 * sysdeps/i386/setjmp.S: Likewise.
31530 * sysdeps/i386/__longjmp.S: Likewise.
31531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31532 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31534 * include/stap-probe.h: New file.
31535 * configure.in: Handle --enable-systemtap.
31536 * configure: Regenerated.
31537 * config.h.in (USE_STAP_PROBE): New #undef.
31538 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31539 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31540 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31542 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31546 to 2.4.0 where earlier.
31547 * sysdeps/unix/sysv/linux/configure: Regenerated.
31548 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31549 <kernel-features.h>.
31550 [__ASSUME_32BITUIDS]: Make code unconditional.
31551 [!__ASSUME_32BITUIDS]: Remove conditional code.
31552 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31553 <kernel-features.h>.
31554 [__ASSUME_32BITUIDS]: Make code unconditional.
31555 [!__ASSUME_32BITUIDS]: Remove conditional code.
31556 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31557 [__ASSUME_32BITUIDS]: Make code unconditional.
31558 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31559 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31560 <kernel-features.h>.
31561 [__ASSUME_32BITUIDS]: Make code unconditional.
31562 [!__ASSUME_32BITUIDS]: Remove conditional code.
31563 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31564 <kernel-features.h>.
31565 [__ASSUME_32BITUIDS]: Make code unconditional.
31566 [!__ASSUME_32BITUIDS]: Remove conditional code.
31567 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31568 <kernel-features.h>.
31569 [__ASSUME_32BITUIDS]: Make code unconditional.
31570 [!__ASSUME_32BITUIDS]: Remove conditional code.
31571 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31572 <kernel-features.h>.
31573 [__ASSUME_32BITUIDS]: Make code unconditional.
31574 [!__ASSUME_32BITUIDS]: Remove conditional code.
31575 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31576 <kernel-features.h>.
31577 [__ASSUME_32BITUIDS]: Make code unconditional.
31578 [!__ASSUME_32BITUIDS]: Remove conditional code.
31579 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31580 <kernel-features.h>.
31581 [__ASSUME_32BITUIDS]: Make code unconditional.
31582 [!__ASSUME_32BITUIDS]: Remove conditional code.
31583 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31584 <kernel-features.h>.
31585 [__ASSUME_32BITUIDS]: Make code unconditional.
31586 [!__ASSUME_32BITUIDS]: Remove conditional code.
31587 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31588 <kernel-features.h>.
31589 [__ASSUME_32BITUIDS]: Make code unconditional.
31590 [!__ASSUME_32BITUIDS]: Remove conditional code.
31591 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31592 <kernel-features.h>.
31593 [__ASSUME_32BITUIDS]: Make code unconditional.
31594 [!__ASSUME_32BITUIDS]: Remove conditional code.
31595 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31596 <kernel-features.h>.
31597 [__ASSUME_32BITUIDS]: Make code unconditional.
31598 [!__ASSUME_32BITUIDS]: Remove conditional code.
31599 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31600 <kernel-features.h>.
31601 [__NR_setresgid] (__setresgid): Do not declare.
31602 [__ASSUME_32BITUIDS]: Make code unconditional.
31603 [!__ASSUME_32BITUIDS]: Remove conditional code.
31604 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31605 <kernel-features.h>.
31606 [__NR_setresuid] (__setresuid): Do not declare.
31607 [__ASSUME_32BITUIDS]: Make code unconditional.
31608 [!__ASSUME_32BITUIDS]: Remove conditional code.
31609 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
31614 <kernel-features.h>.
31615 [__ASSUME_32BITUIDS]: Make code unconditional.
31616 [!__ASSUME_32BITUIDS]: Remove conditional code.
31617 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31618 <kernel-features.h>.
31619 [__ASSUME_32BITUIDS]: Make code unconditional.
31620 [!__ASSUME_32BITUIDS]: Remove conditional code.
31621 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31622 <kernel-features.h>.
31623 [__ASSUME_32BITUIDS]: Make code unconditional.
31624 [!__ASSUME_32BITUIDS]: Remove conditional code.
31625 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31626 <kernel-features.h>.
31627 [__ASSUME_32BITUIDS]: Make code unconditional.
31628 [!__ASSUME_32BITUIDS]: Remove conditional code.
31629 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31630 <kernel-features.h>.
31631 [__ASSUME_32BITUIDS]: Make code unconditional.
31632 [!__ASSUME_32BITUIDS]: Remove conditional code.
31633 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31634 <kernel-features.h>.
31635 [__ASSUME_32BITUIDS]: Make code unconditional.
31636 [!__ASSUME_32BITUIDS]: Remove conditional code.
31637 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31638 <kernel-features.h>.
31639 [__ASSUME_32BITUIDS]: Make code unconditional.
31640 [!__ASSUME_32BITUIDS]: Remove conditional code.
31641 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31642 <kernel-features.h>.
31643 [__ASSUME_32BITUIDS]: Make code unconditional.
31644 [!__ASSUME_32BITUIDS]: Remove conditional code.
31645 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31646 <kernel-features.h>.
31647 [__ASSUME_32BITUIDS]: Make code unconditional.
31648 [!__ASSUME_32BITUIDS]: Remove conditional code.
31649 * sysdeps/unix/sysv/linux/kernel-features.h
31650 (__ASSUME_SETRESUID_SYSCALL): Remove.
31651 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31652 (__ASSUME_32BITUIDS): Likewise.
31653 (__ASSUME_LDT_WORKS): Likewise.
31654 (__ASSUME_O_DIRECTORY): Likewise.
31655 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31656 architecture but not kernel version.
31657 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31658 (__ASSUME_MMAP2_SYSCALL): Likewise.
31659 (__ASSUME_STAT64_SYSCALL): Likewise.
31660 (__ASSUME_IPC64): Likewise.
31661 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31662 <kernel-features.h>.
31663 [__ASSUME_32BITUIDS]: Make code unconditional.
31664 [!__ASSUME_32BITUIDS]: Remove conditional code.
31665 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31666 <kernel-features.h>.
31667 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31668 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31669 132096]: Remove conditional code.
31670 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31671 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31672 <kernel-features.h>.
31673 [__ASSUME_32BITUIDS]: Make code unconditional.
31674 [!__ASSUME_32BITUIDS]: Remove conditional code.
31675 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31676 <kernel-features.h>.
31677 [__ASSUME_32BITUIDS]: Make code unconditional.
31678 [!__ASSUME_32BITUIDS]: Remove conditional code.
31679 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31680 <kernel-features.h>.
31681 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31683 (__setresgid): Do not declare.
31684 [__ASSUME_32BITUIDS]: Make code unconditional.
31685 [!__ASSUME_32BITUIDS]: Remove conditional code.
31686 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31687 <kernel-features.h>.
31688 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31690 (__setresuid): Do not declare.
31691 [__ASSUME_32BITUIDS]: Make code unconditional.
31692 [!__ASSUME_32BITUIDS]: Remove conditional code.
31693 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31694 <kernel-features.h>.
31695 [__ASSUME_32BITUIDS]: Make code unconditional.
31696 [!__ASSUME_32BITUIDS]: Remove conditional code.
31697 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31698 <kernel-features.h>.
31699 [__ASSUME_32BITUIDS]: Make code unconditional.
31700 [!__ASSUME_32BITUIDS]: Remove conditional code.
31702 2012-05-25 Richard Henderson <rth@twiddle.net>
31704 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31705 dl_hwcap to ifunc resolver.
31706 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31708 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31709 dl_hwcap to ifunc resolver.
31710 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31712 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31715 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31716 for |x| <= 2**-26, not 2**-57.
31717 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31720 2012-05-24 Jeff Law <law@redhat.com>
31722 * stdio-common/Makefile (tests): Add bug25.
31723 * stdio-common/bug25.c: New test.
31725 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31728 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31729 multiple of MALLOC_ALIGNMENT in size.
31730 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31732 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31734 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31736 (FILENAME_MAX): Use macro-int-constant.
31737 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31738 (_IOFBF): Use macro-int-constant.
31739 (_IOLBF): Likewise.
31740 (_IONBF): Likewise.
31741 (SEEK_CUR): Likewise.
31742 (SEEK_END): Likewise.
31743 (SEEK_SET): Likewise.
31744 (TMP_MAX): Likewise.
31745 (EOF): Use macro-int-constant. Require < 0.
31746 (NULL): Use macro-constant. Require == 0.
31747 (stdin): Require type to be FILE *.
31748 (stdout): Likewise.
31749 (stderr): Likewise.
31750 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31751 macro-int-constant.
31752 (EXIT_SUCCESS): Likewise.
31753 (NULL): Use macro-constant. Require == 0.
31754 (RAND_MAX): Use macro-int-constant.
31755 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31756 [C99-based standards] (strtof): Require function.
31757 [C99-based standards] (strtold): Likewise.
31758 [C99-based standards] (strtoll): Likewise.
31759 [C99-based standards] (strtoull): Likewise.
31760 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31761 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31762 [ISO || ISO99 || ISO11] (math.h): Likewise.
31763 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31764 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31767 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31770 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31771 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31772 * intl/dgettext.c (DCGETTEXT): Likewise.
31773 * intl/gettext.c (DCGETTEXT): Likewise.
31774 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31775 * posix/regex_internal.h (gettext): Likewise.
31776 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31777 Remove declaration.
31778 * include/argz.h (__argz_count_internal)
31779 (__argz_stringify_internal): Remove declaration.
31780 (__argz_count, __argz_stringify): Declare hidden proto.
31781 * intl/dcgettext.c: Remove use of INTDEF.
31782 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31783 * string/argz-stringify.c: Likewise.
31784 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31785 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31786 Declare hidden proto.
31787 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31788 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31789 Declare hidden proto.
31790 * include/stdio.h (__asprintf_internal): Don't declare.
31791 (__asprintf): Don't define as macro. Declare hidden proto.
31792 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31793 (__fsetlocking): Declare hidden proto.
31794 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31795 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31797 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31798 (_IO_setlinebuf): Remove use of INTUSE.
31799 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31800 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31801 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31802 Remove declaration.
31803 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31804 (_IO_do_flush): Remove use of INTUSE.
31805 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31806 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31807 (_IO_adjust_column, _IO_least_wmarker)
31808 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31809 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31810 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31811 (_IO_default_doallocate, _IO_wdefault_doallocate)
31812 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31813 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31814 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31815 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31816 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31817 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31818 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31819 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31820 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31821 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31822 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31823 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31824 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31826 (_IO_flush_all_internal, _IO_adjust_column_internal)
31827 (_IO_default_uflow_internal, _IO_default_finish_internal)
31828 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31829 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31830 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31831 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31832 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31833 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31834 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31835 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31836 (_IO_file_close_internal, _IO_file_close_it_internal)
31837 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31838 (_IO_file_init_internal, _IO_file_attach_internal)
31839 (_IO_file_fopen_internal, _IO_file_read_internal)
31840 (_IO_file_sync_internal, _IO_file_seek_internal)
31841 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31842 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31843 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31844 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31845 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31846 (_IO_list_all_internal, _IO_link_in_internal)
31847 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31848 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31849 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31850 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31851 (_IO_do_write_internal, _IO_padn_internal)
31852 (_IO_getline_info_internal, _IO_getline_internal)
31853 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31854 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31855 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31856 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31857 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31858 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31859 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31860 with libc_hidden_ver, remove use of INTUSE.
31861 * libio/genops.c: Likewise.
31862 * libio/freopen.c: Likewise.
31863 * libio/freopen64.c: Likewise.
31864 * libio/iofclose.c: Likewise.
31865 * libio/iofdopen.c: Likewise.
31866 * libio/iofflush.c: Likewise.
31867 * libio/iofflush_u.c: Likewise.
31868 * libio/iofgets.c: Likewise.
31869 * libio/iofgets_u.c: Likewise.
31870 * libio/iofopen.c: Likewise.
31871 * libio/iofopncook.c: Likewise.
31872 * libio/iofread.c: Likewise.
31873 * libio/iofread_u.c: Likewise.
31874 * libio/ioftell.c: Likewise.
31875 * libio/iofwrite.c: Likewise.
31876 * libio/iogetline.c: Likewise.
31877 * libio/iogets.c: Likewise.
31878 * libio/iogetwline.c: Likewise.
31879 * libio/iopadn.c: Likewise.
31880 * libio/iopopen.c: Likewise.
31881 * libio/ioseekoff.c: Likewise.
31882 * libio/ioseekpos.c: Likewise.
31883 * libio/iosetbuffer.c: Likewise.
31884 * libio/iosetvbuf.c: Likewise.
31885 * libio/ioungetc.c: Likewise.
31886 * libio/ioungetwc.c: Likewise.
31887 * libio/iovdprintf.c: Likewise.
31888 * libio/iovsprintf.c: Likewise.
31889 * libio/iovsscanf.c: Likewise.
31890 * libio/memstream.c: Likewise.
31891 * libio/obprintf.c: Likewise.
31892 * libio/oldfileops.c: Likewise.
31893 * libio/oldiofclose.c: Likewise.
31894 * libio/oldiofdopen.c: Likewise.
31895 * libio/oldiofopen.c: Likewise.
31896 * libio/oldiopopen.c: Likewise.
31897 * libio/oldstdfiles.c: Likewise.
31898 * libio/putc.c: Likewise.
31899 * libio/setbuf.c: Likewise.
31900 * libio/setlinebuf.c: Likewise.
31901 * libio/stdfiles.c: Likewise.
31902 * libio/strops.c: Likewise.
31903 * libio/vasprintf.c: Likewise.
31904 * libio/vscanf.c: Likewise.
31905 * libio/vsnprintf.c: Likewise.
31906 * libio/vswprintf.c: Likewise.
31907 * libio/wfiledoalloc.c: Likewise.
31908 * libio/wfileops.c: Likewise.
31909 * libio/wgenops.c: Likewise.
31910 * libio/wmemstream.c: Likewise.
31911 * libio/wstrops.c: Likewise.
31912 * libio/__fpurge.c: Likewise.
31913 * libio/__fsetlocking.c: Likewise.
31914 * assert/assert.c: Likewise.
31915 * debug/fgets_chk.c: Likewise.
31916 * debug/fgets_u_chk.c: Likewise.
31917 * debug/fread_chk.c: Likewise.
31918 * debug/fread_u_chk.c: Likewise.
31919 * debug/gets_chk.c: Likewise.
31920 * debug/obprintf_chk.c: Likewise.
31921 * debug/vasprintf_chk.c: Likewise.
31922 * debug/vdprintf_chk.c: Likewise.
31923 * debug/vsnprintf_chk.c: Likewise.
31924 * debug/vsprintf_chk.c: Likewise.
31925 * malloc/mtrace.c: Likewise.
31926 * misc/error.c: Likewise.
31927 * misc/syslog.c: Likewise.
31928 * stdio-common/asprintf.c: Likewise.
31929 * stdio-common/fxprintf.c: Likewise.
31930 * stdio-common/getw.c: Likewise.
31931 * stdio-common/isoc99_fscanf.c: Likewise.
31932 * stdio-common/isoc99_scanf.c: Likewise.
31933 * stdio-common/isoc99_vfscanf.c: Likewise.
31934 * stdio-common/isoc99_vscanf.c: Likewise.
31935 * stdio-common/isoc99_vsscanf.c: Likewise.
31936 * stdio-common/printf-prs.c: Likewise.
31937 * stdio-common/printf_fp.c: Likewise.
31938 * stdio-common/printf_fphex.c: Likewise.
31939 * stdio-common/printf_size.c: Likewise.
31940 * stdio-common/putw.c: Likewise.
31941 * stdio-common/scanf.c: Likewise.
31942 * stdio-common/sprintf.c: Likewise.
31943 * stdio-common/tmpfile.c: Likewise.
31944 * stdio-common/vfprintf.c: Likewise.
31945 * stdio-common/vfscanf.c: Likewise.
31946 * stdlib/strfmon_l.c: Likewise.
31947 * sunrpc/openchild.c: Likewise.
31948 * sunrpc/xdr_stdio.c: Likewise.
31949 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31950 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31952 2012-05-24 Roland McGrath <roland@hack.frob.com>
31954 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31956 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31957 in the third column, to generate for the shared library an IFUNC
31958 that uses _dl_vdso_vsym.
31959 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31960 * Makeconfig (object-suffixes-noshared): New variable.
31962 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31963 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31964 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31965 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31968 * include/sys/time.h (__gettimeofday): Remove macro.
31969 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31970 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31972 (__gettimeofday): Add libc_hidden_def.
31973 (gettimeofday): Add libc_hidden_weak.
31974 * sysdeps/mach/gettimeofday.c: Likewise.
31975 * sysdeps/posix/gettimeofday.c: Likewise.
31976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31977 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31979 (__gettimeofday_internal): Remove strong_alias.
31980 (__gettimeofday): Add libc_hidden_def.
31981 (gettimeofday): Add libc_hidden_weak.
31982 * sysdeps/unix/syscalls.list (gettimeofday):
31983 Remove __gettimeofday_internal alias.
31985 2012-05-24 Daniel Jacobowitz <drow@false.org>
31986 H.J. Lu <hongjiu.lu@intel.com>
31989 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31990 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31991 (largebin_index_32_big): New.
31992 (largebin_index): Use it for 16-byte alignment.
31993 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31994 correction with front_misalign.
31996 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32024 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32025 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32027 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32031 * math/libm-test.inc (exp_test): Add test from bug 14036.
32032 (pow_test): Add test from bug 10846.
32034 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32036 (special_function): Do not include flags in test name.
32037 (parse_args): Likewise.
32038 * sysdeps/i386/fpu/libm-test-ulps: Update.
32039 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32040 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32041 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32044 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32046 * math/libm-test.inc ("Philosophy"): Update comment about
32048 (UNDERFLOW_EXCEPTION): New macro.
32049 (UNDERFLOW_EXCEPTION_OK): Likewise.
32050 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32051 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32052 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32053 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32054 (INVALID_EXCEPTION_OK): Update value.
32055 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32056 (OVERFLOW_EXCEPTION_OK): Likewise.
32057 (IGNORE_ZERO_INF_SIGN): Likewise.
32058 (test_exceptions): Handle underflow exceptions.
32059 (acos_test): Update for underflow exception expectations.
32060 (cexp_test): Likewise.
32061 (clog_test): Likewise.
32062 (clog10_test): Likewise.
32063 (csqrt_test): Likewise.
32064 (ctan_test): Likewise.
32065 (ctanh_test): Likewise.
32066 (exp_test): Likewise.
32067 (exp10_test): Likewise.
32068 (exp2_test): Likewise.
32069 (expm1_test): Likewise.
32070 (fma_test): Likewise.
32071 (j0_test): Likewise.
32072 (jn_test): Likewise.
32073 (nexttoward_test): Likewise.
32074 (pow_test): Likewise.
32075 (scalbn_test): Likewise.
32076 (scalbln_test): Likewise.
32077 (tan_test): Likewise.
32078 (y1_test): Likewise.
32079 * sysdeps/i386/fpu/libm-test-ulps: Update.
32080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32082 2012-05-23 David S. Miller <davem@davemloft.net>
32084 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32085 (__libc_sigaction): Remove unused local variables.
32087 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32089 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32091 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32093 mktime: avoid signed integer overflow
32094 * time/mktime.c (__mktime_internal): Do not mishandle the case
32095 where diff == INT_MIN.
32097 mktime: simplify computation of average
32098 * time/mktime.c (ranged_convert): Use new time_t_avg function
32099 instead of rolling our own (probably-slower) code.
32101 mktime: do not assume signed right shift propagates sign bit
32102 * time/mktime.c (isdst_differ): New static function.
32103 (__mktime_internal): No need to normalize tm_isdst now.
32104 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32107 mktime: merge another wrapv change from gnulib
32108 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32109 from some compilers.
32111 mktime: remove incorrect attempt at unusual arithmetics
32112 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32113 The code didn't really work on such machines anyway.
32114 (TYPE_MINIMUM): Assume two's complement.
32115 (twos_complement_arithmetic): Verify that long_int and time_t
32116 are two's complement (or unsigned, in the latter case).
32118 mktime: check signed shifts on long_int and time_t, too
32119 * time/mktime.c (SHR): Check that shifts work as desired
32120 on the types long_int and time_t too, as SHR is used on
32123 mktime: do not assume 'long' is wide enough
32124 * time/mktime.c (verify): Move decl up.
32125 (long_int): New type.
32126 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32127 to remove assumption in the code that 'long' is wide enough to
32128 store year values. This assumption is not true on x32 and on
32129 some non-glibc platforms.
32131 mktime: merge wrapv change from gnulib
32132 * time/mktime.c (WRAPV): New macro.
32133 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32134 (guess_time_tm, __mktime_internal): Do not assume that signed
32135 integer overflow wraps around; modern compilers generate code
32136 where this assumption is no longer valid.
32138 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32140 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32141 Replace "jmp L(pseudo_end)" with "ret".
32142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32145 2012-05-23 Andreas Jaeger <aj@suse.de>
32147 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32148 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32150 2012-05-23 Andreas Jaeger <aj@suse.de>
32151 Maximilian Attems <max@stro.at>
32153 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32156 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32159 code so that pseudo_end is just ret and the stack pointer is
32160 correct also for static library in error case.
32162 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32164 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32165 move to syscalls.list.
32166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32171 * manual/install.texi (Running make install): Do not mention Linux
32172 kernel version for which pt_chown is not needed.
32173 (Linux): Do not mention problems with nscd with 2.0 kernels.
32174 * INSTALL: Regenerated.
32176 2012-05-23 Andreas Jaeger <aj@suse.de>
32178 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32179 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32181 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32183 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32185 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32191 * sysdeps/unix/sysv/linux/bits/in.h
32192 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32194 2012-05-22 Roland McGrath <roland@hack.frob.com>
32196 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32197 (PREPARE_VERSION): Just use assert instead, it will be elided
32198 under [NDEBUG] anyway.
32200 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32202 * sysdeps/unix/sysv/linux/Makefile: Include
32203 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32204 (sysdep_routines): Remove sysctl.
32205 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32206 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32207 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32208 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32209 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32211 2012-05-22 Andreas Jaeger <aj@suse.de>
32213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32214 that pseudo_end is just ret and the stack pointer is correct also
32215 for static library in error case.
32217 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32220 * nss/nsswitch.c (defconfig_entries): New variable.
32221 (__nss_database_lookup): Don't leak defconfig entries.
32222 (nss_parse_service_list): Don't leak on error paths.
32223 (free_database_entries): New function.
32224 (free_defconfig): New function.
32225 (free_mem): Move common code to free_database_entries.
32227 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32229 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32231 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32233 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32234 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32237 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32238 (INTERNAL_SYSCALL_TYPES): Likewise.
32239 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32240 (LOAD_REGS_TYPES_[1-6]): Likewise.
32241 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32242 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32244 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32246 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32247 copysignl for GLIBC_2_0.
32248 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32249 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32251 logbl for GLIBC_2_0.
32252 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32253 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32255 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32258 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32260 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32263 * time/mktime.c: Update copyright years.
32265 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32267 mktime: merge comment-quoting-style change from gnulib
32268 * time/mktime.c: Quote 'like this' in comments.
32269 The GNU coding standards suggest that we no longer quote `like this',
32270 as "`" and "'" are typically rendered asymmetrically nowadays.
32271 The typical gnulib style is to quote 'like this' when quoting
32272 code, and "like this" when quoting English.
32274 * time/mktime.c (compile-command): Add "-I.".
32276 mktime: merge mktime-internal.h change from gnulib
32277 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32279 mktime: merge time_r change from gnulib
32280 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32282 mktime: merge DEBUG change from gnulib
32283 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32284 case system <time.h> has a #define.
32286 mktime: merge <sys/types.h> change from gnulib
32287 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32288 since <time.t> is now guaranteed to define time_t.
32290 mktime: merge HAVE_CONFIG_H change from gnulib
32291 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32293 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32298 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32300 (struct rusage): Use anonymous union to pad each field to
32303 2012-05-21 David S. Miller <davem@davemloft.net>
32305 * Makefules (o-iterator): Remove .s cases.
32306 (compile-command.s): Delete.
32307 (COMPILE.s): Delete.
32308 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32310 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32312 * configure.in (libc_cv_predef_stack_protector): Only consider
32313 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32314 * configure: Regenerated.
32316 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32319 New macro. Use R*LP on int and pointer.
32320 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32321 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32322 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32323 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32325 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32326 [__WORDSIZE_TIME64_COMPAT32] instead of
32327 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32328 (struct utmp): Likewise.
32329 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32330 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32332 (__WORDSIZE_TIME64_COMPAT32): This.
32333 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32334 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32335 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32336 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32337 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32338 (__WORDSIZE_TIME64_COMPAT32): New macro.
32340 2012-05-21 Andreas Jaeger <aj@suse.de>
32342 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32343 only if [SHARED]. Add prototype for __wcschr_ia32.
32345 2012-05-21 Roland McGrath <roland@hack.frob.com>
32347 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32348 of %rbp unmolested in the jmp_buf while mangling the low bits.
32349 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32350 unmolested high bits of %rbp while demangling the low bits.
32351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32353 2012-05-21 Andreas Jaeger <aj@suse.de>
32355 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32356 * sunrpc/svc_simple.c: Use it for registerrpc.
32357 * sunrpc/xcrypt.c: Use it for passwd2des.
32359 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32361 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32363 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32364 Don't define if [__SYSCALL_WORDSIZE != 32].
32365 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32368 2012-05-21 Bruno Haible <bruno@clisp.org>
32369 Andreas Jaeger <aj@suse.de>
32371 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32372 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32373 inptr and inend for must_buffer_ch.
32374 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32375 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32376 * stdio-common/Makefile (tests): Remove bug15.
32377 (bug15-ENV): Remove macro.
32378 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32381 2012-05-19 Andreas Jaeger <aj@suse.de>
32382 Roland McGrath <roland@hack.frob.com>
32384 * manual/contrib.texi: Completely rewritten. It contains now an
32385 alphabetical list of contributors and their contributions.
32387 2012-05-21 Richard Henderson <rth@twiddle.net>
32389 * misc/getauxval.c (__getauxval): Use unsigned long int.
32390 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32391 (getauxval): Use unsigned long int.
32393 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32395 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32397 2012-05-21 Roland McGrath <roland@hack.frob.com>
32399 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32400 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32401 __alignof__ (long double).
32403 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32407 2012-05-20 Richard Henderson <rth@twiddle.net>
32409 * misc/getauxval.c: New file.
32410 * misc/sys/auxv.h: New file.
32411 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32412 (routines): Add getauxval.
32413 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32414 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32415 * elf/dl-sysdep.c (_dl_auxv): Remove.
32416 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32417 * elf/dl-support.c (_dl_auxv): New variable.
32418 (_dl_aux_init): Initialize it.
32419 * manual/startup.texi (Auxiliary Vector): New node.
32420 * sysdeps/generic/bits/hwcap.h: New file.
32421 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32422 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32423 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32424 * sysdeps/sparc/sysdep.h: ... here. Include it.
32425 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32438 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32442 2012-05-19 David S. Miller <davem@davemloft.net>
32444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32446 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32449 * math/s_ccosh.c: Include <float.h>
32450 (__ccosh): Avoid internal overflow calculating sinh and cosh
32451 values before multiplying by sin and cos values.
32452 * math/s_ccoshf.c: Likewise.
32453 * math/s_ccoshl.c: Likewise.
32454 * math/s_csin.c: Likewise.
32455 * math/s_csinf.c: Likewise.
32456 * math/s_csinl.c: Likewise.
32457 * math/s_csinh.c: Likewise.
32458 * math/s_csinhf.c: Likewise.
32459 * math/s_csinhl.c: Likewise.
32460 * math/libm-test.inc (ccos_test): Add more tests.
32461 (ccosh_test): Likewise.
32462 (csin_test): Likewise.
32463 (csinh_test): Likewise.
32464 * sysdeps/i386/fpu/libm-test-ulps: Update.
32465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32467 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32469 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32470 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32472 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32474 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32476 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32477 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32478 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32479 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32480 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32481 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32482 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32483 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32484 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32485 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32486 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32487 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32488 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32489 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32490 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32491 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32492 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32493 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32494 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32495 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32496 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32497 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32498 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32499 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32500 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32501 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32502 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32503 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32504 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32505 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32506 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32508 2012-05-18 Andreas Jaeger <aj@suse.de>
32510 * csu/.gitignore: Delete.
32512 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32514 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32515 (timex): Use __syscall_slong_t.
32517 2012-05-18 Andreas Jaeger <aj@suse.de>
32518 Carlos O'Donell <carlos_odonell@mentor.com>
32520 * manual/install.texi (Configuring and compiling): Update
32521 description about files modified in the source directory.
32522 * INSTALL: Regenerated.
32524 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32526 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32527 value. Use "or" to set return value to -1.
32528 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32529 negate return value.
32531 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32533 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32534 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32535 failure if the compiler has Graphite support disabled.
32536 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32538 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32539 (CFLAGS-memmove.c): Likewise.
32540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32543 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32545 * sysdeps/x86_64/x32/_itoa.h: New file.
32547 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32548 getdents system call only if kernel and user dirents have the
32549 same d_ino and d_off.
32551 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32552 LLONG_MAX != LONG_MAX.
32553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32554 (_fitoa_word): Likewise.
32556 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32559 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32560 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32562 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32563 include <bits/wordsize.h>. Check __x86_64__ instead of
32565 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32566 if __x86_64__ is defined. Use anonymous union on fpstate.
32568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32571 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32573 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32574 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32575 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32576 Refer to _rtld_local_ro instead of _rtld_global_ro.
32577 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32579 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32581 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32583 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32584 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32585 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32587 * sysdeps/powerpc/powerpc32/dl-machine.c
32588 (__elf_machine_runtime_setup) [PROF]: Don't reference
32591 2012-05-18 Andreas Jaeger <aj@suse.de>
32593 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32594 function only available for GCCs before 3.4 since GCC 3.4
32595 introduced a builtin.
32597 (llrintf): Likewise.
32598 (llrint): Likewise.
32605 (nearbyint): Likewise.
32606 (nearbyintf): Likewise.
32610 (floorf): Likewise.
32612 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32614 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32615 on both fields and cast pointer to __syscall_ulong_t.
32617 * bits/types.h (__fsword_t): New type.
32618 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32619 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32621 (__FSWORD_T_TYPE): Likewise.
32622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32623 (__FSWORD_T_TYPE): Likewise.
32624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32625 (__FSWORD_T_TYPE): Likewise.
32626 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32627 (__FSWORD_T_TYPE): Likewise.
32628 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32629 __SWORD_TYPE with __fsword_t.
32630 (statfs64): Likewise.
32632 2012-05-17 David S. Miller <davem@davemloft.net>
32634 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32636 2012-05-17 Andreas Jaeger <aj@suse.de>
32638 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32641 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32643 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32645 2012-05-17 Andreas Jaeger <aj@suse.de>
32647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32650 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32652 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32654 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32656 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32657 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32659 2012-05-17 Andreas Jaeger <aj@suse.de>
32660 Carlos O'Donell <carlos_odonell@mentor.com>
32663 * sysdeps/x86_64/multiarch/init-arch.h
32664 (bit_YMM_Usable): Rename to...
32665 (bit_AVX_Usable): ... this.
32666 (bit_FMA4_Usable): New macro.
32667 (bit_XMM_state): New macro.
32668 (bit_YMM_state): New macro.
32669 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32670 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32671 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32672 (CPUID_OSXSAVE): New macro.
32673 (CPUID_AVX): New macro.
32674 (CPUID_FMA4): New macro.
32675 (index_YMM_Usable): Rename to...
32676 (index_AVX_Usable): ... this.
32677 (HAS_AVX): Use HAS_ARCH_FEATURE.
32678 (HAS_FMA4): Likewise.
32679 (HAS_YMM_USABLE): Remove.
32680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32681 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32683 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32684 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32685 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32686 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32687 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32689 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32691 * math/libm-test.c: Support platforms without multiple rounding modes.
32692 * math/bug-nextafter.c: Support platforms without FP exceptions.
32693 * math/bug-nexttoward.c: Likewise.
32694 * math/test-fenv.c: Likewise.
32695 * math/test-misc.c: Likewise.
32696 * stdlib/bug-getcontext.c: Likewise.
32698 2012-05-17 Andreas Jaeger <aj@suse.de>
32700 * manual/examples/search.c (critter_cmp): Change signature to
32702 * manual/string.texi (Collation Functions): Likewise.
32704 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32706 * bits/types.h: Fold copyright years.
32707 * bits/typesizes.h: Likewise.
32708 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32710 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32712 * time/time.h: Likewise.
32714 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32717 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32718 in instead of returning them. Return void.
32719 (__libc_mallinfo): Accumulate over all arenas.
32720 (__malloc_stats): Adjust for change in int_mallinfo interface.
32722 2012-05-16 Roland McGrath <roland@hack.frob.com>
32725 * configure.in (NM): Add AC_CHECK_TOOL for it.
32726 (libc_extra_cflags): New substituted variable.
32727 Check for -fstack-protector being used implicitly.
32728 * configure: Regenerated.
32729 * config.make.in (config-extra-cflags): New variable,
32730 gets @libc_extra_cflags@.
32731 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32734 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32735 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32736 * configure: Regenerated.
32737 * config.make.in (CPPUNDEFS): New substituted variable.
32738 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32739 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32740 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32742 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32744 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32745 (mq_attr): Use __syscall_slong_t.
32747 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32749 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32750 Check __x86_64__ instead of __WORDSIZE.
32751 (_STAT_VER_LINUX): Likewise.
32752 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32753 __syscall_ulong_t and __syscall_slong_t.
32754 (stat64): Likewise.
32756 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32758 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32762 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32764 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32766 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32769 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32770 include <bits/wordsize.h>. Check __x86_64__ instead of
32772 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32774 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32777 include <bits/wordsize.h>. Check __x86_64__ instead of
32779 (user_regs_struct): Use "__extension__ unsigned long long"
32780 instead of "unsigned long" if __x86_64__ is defined.
32781 (user): Likewise. Pad after pointer field if __ILP32__ is
32784 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32786 * configure.in (makeinfo): Require version 4.5 or later. Allow
32788 * configure: Regenerated.
32789 * manual/install.texi (texinfo): Increase version requirement to
32791 * INSTALL: Regenerated.
32793 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32795 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32797 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32799 * sysdeps/x86_64/x32/ffs.c: New file.
32801 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32803 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32804 defined. Use __syscall_ulong_t.
32805 (shminfo): Use __syscall_ulong_t.
32806 (shm_info): Likewise.
32808 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32811 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32813 (msgqnum_t): Use __syscall_ulong_t.
32814 (msglen_t): Likewise.
32815 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32818 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32819 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32821 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32823 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32824 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32826 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32829 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32830 include <bits/wordsize.h>. Check __x86_64__ instead of
32833 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32834 "unsigned long long int" if __x86_64__ is defined.
32835 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32838 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32839 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32841 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32843 (GET_PC): Cast to uintptr_t first.
32844 (GET_FRAME): Likewise.
32845 (GET_STACK): Likewise.
32847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32848 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32850 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32852 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32853 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32854 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32855 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32856 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32857 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32863 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32865 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32866 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32867 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32868 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32870 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32872 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32873 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32874 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32875 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32877 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32879 * Makerules (+depfiles): Also collect depfiles from .oS in
32881 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32882 .oS, $(libnldbl-routines)).
32884 * Makerules (native-compile-mkdep-flags): Define.
32885 * sunrpc/Makefile (extra-objs): Add $(addprefix
32886 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32887 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32888 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32889 calling $(make-target-directory).
32891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32893 * bits/types.h (__snseconds_t): Removed.
32894 * time/time.h (struct timespec): Replace __snseconds_t with
32896 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32897 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32900 (__SNSECONDS_T_TYPE): Likewise.
32901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32902 (__SNSECONDS_T_TYPE): Likewise.
32903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32904 (__SNSECONDS_T_TYPE): Likewise.
32906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32908 * sysdeps/mach/hurd/bits/typesizes.h
32909 (__SYSCALL_SLONG_TYPE): New macro.
32910 (__SYSCALL_ULONG_TYPE): Likewise.
32912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32914 * bits/types.h (__syscall_slong_t): New type.
32915 (__syscall_ulong_t): Likewise.
32917 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32918 (__SYSCALL_ULONG_TYPE): Likewise.
32919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32920 (__SYSCALL_SLONG_TYPE): Likewise.
32921 (__SYSCALL_ULONG_TYPE): Likewise.
32922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32923 (__SYSCALL_SLONG_TYPE): Likewise.
32924 (__SYSCALL_ULONG_TYPE): Likewise.
32925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32926 (__SYSCALL_SLONG_TYPE): Likewise.
32927 (__SYSCALL_ULONG_TYPE): Likewise.
32929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32931 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32932 Add sigaltstack-offsets.sym.
32933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32934 <sigaltstack-offsets.h>.
32935 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32936 longjmp_msg pointer.
32937 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32938 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32940 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32942 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32944 * elf/stackguard-macros.h: Remove file.
32945 * sysdeps/generic/stackguard-macros.h: New file.
32946 * sysdeps/i386/stackguard-macros.h: Likewise.
32947 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32948 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32949 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32950 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32951 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32952 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32953 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32954 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32955 <elf/stackguard-macros.h>.
32958 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32959 __aligned__ in attribute.
32960 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32961 (gregset_t): Likewise.
32963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32965 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32966 * sysdeps/x86_64/64/Implies-after: Here. New file.
32967 * sysdeps/x86_64/x32/Implies-after: New file.
32969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32971 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32972 and access return value for _dl_profile_fixup. Use R10_LP to
32975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32977 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32981 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32982 * sysdeps/x86_64/x32/sysdep.h: New file.
32984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32986 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32987 * sysdeps/x86_64/setjmp.S: Likewise.
32989 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32992 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32993 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32994 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32995 remove unused global constant.
32997 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32999 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33000 include of <not-cancel.h>.
33002 2012-05-15 Roland McGrath <roland@hack.frob.com>
33004 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33006 2012-05-15 Jeff Law <law@redhat.com>
33007 Andreas Jaeger <aj@suse.de>
33010 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33012 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33013 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33014 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33015 code changing __hst_map_handle.map.
33017 2012-05-15 Roland McGrath <roland@hack.frob.com>
33019 * configure.in (sysnames): Look for Implies-before and Implies-after
33021 * configure: Regenerated.
33023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33025 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33026 8-byte data alignment with LP_SIZE alignment.
33028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33030 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33035 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33040 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33041 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33043 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33047 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33048 (stackinfo_sub_sp): Likewise.
33050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33067 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33071 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33072 into R11_LP and load __x86_64_shared_cache_size_half into
33075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33077 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33080 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33089 powerpc32/power7/fpu/s_logb.c via #include.
33090 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33091 powerpc32/power7/fpu/s_logbf.c via #include.
33092 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33093 powerpc32/power7/fpu/s_logbl.c via #include.
33095 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33097 * README.libm: Remove file.
33099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33101 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33102 count for x32. Use R*_LP and omit operand-size suffix.
33104 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33106 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33107 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33108 * sysdeps/x86_64/x32/shlib-versions: New file.
33110 2012-05-14 Roland McGrath <roland@hack.frob.com>
33112 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33113 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33114 Use _dl_fatal_printf instead.
33116 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33118 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33119 set if not set by the user. Do not allow for being unset.
33120 * sysdeps/unix/sysv/linux/configure: Regenerated.
33122 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33124 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33125 the `q' suffix from lea and replace .quad with ASM_ADDR.
33127 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33130 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33132 (PTR_DEMANGLE): Likewise.
33134 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33136 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33138 (ASM_ADDR): Likewise.
33139 (RAX_LP): Likewise.
33140 (RBP_LP): Likewise.
33141 (RBX_LP): Likewise.
33142 (RCX_LP): Likewise.
33143 (RDI_LP): Likewise.
33144 (RSI_LP): Likewise.
33145 (RSP_LP): Likewise.
33148 (R10_LP): Likewise.
33149 (R10_LP): Likewise.
33150 (R11_LP): Likewise.
33151 (R12_LP): Likewise.
33152 (R13_LP): Likewise.
33153 (R14_LP): Likewise.
33154 (R15_LP): Likewise.
33156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33158 * sysdeps/x86_64/x32/dl-machine.h: New file.
33160 2012-05-14 Andreas Jaeger <aj@suse.de>
33162 * manual/Makefile (subdir): Remove export of subdir.
33163 (all): Remove target.
33164 (.PHONY): Remove all from list.
33165 (mkinstalldirs): Remove.
33166 (.PHONY): Remove installdirs from list.
33167 ($(inst_infodir)/libc.info): Use make-target-directory.
33168 (installdirs): Remove.
33169 (subdir_%): Remove.
33170 (glibc-targets): Remove.
33173 ($(objpfx)stubs ../po/manual.pot): Remove.
33174 ($(objpfx)stamp%): Remove.
33175 (make-target-directory): Remove.
33176 (subdir_install): Remove.
33177 (routines): Remove.
33184 * manual/.gitignore: Remove, it's not needed anymore.
33185 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33187 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33189 (texis): Renamed to $(objpfx)texis.
33190 (texis-path): New, contains path to generated files.
33191 (chapters.%): Use texis-path for complete path, add extra argument
33193 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33194 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33195 (summary,texi, stamp-summary): Use complete path of
33196 files. Generate files in build dir.
33197 (dir-add.texi): Build in build dir.
33198 (libm-err.texi,stamp-libm-err): Likewise.
33199 (version.texi, stamp-version): Likewise.
33200 (.%c.texi): Likewise.
33201 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33202 (mostlyclean): Remove target.
33203 (realclean): Remove target.
33204 (generated): Add new variable with contents from mostlyclean and
33205 realclean, remove entries duplicated in common-mostlyclean, add
33206 stamp-libm-err and stamp-version.
33207 (generated-dirs): Add libc directory.
33208 ($(inst_infodir)/libc.info): Install files from build dir.
33210 * manual/install.texi (Configuring and compiling): Adjust since
33211 the info files are not part of the tar ball anymore.
33213 2012-05-14 Andreas Jaeger <aj@suse.de>
33215 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33218 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33221 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33222 to 2.2.0 where earlier.
33223 * sysdeps/unix/sysv/linux/configure: Regenerated.
33224 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33225 Remove conditional code.
33226 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33227 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33228 Remove conditional code.
33229 [!__NR_lchown]: Likewise.
33230 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33231 [__NR_lchown]: Likewise.
33232 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33233 comment referencing __ASSUME_LCHOWN_SYSCALL.
33234 * sysdeps/unix/sysv/linux/i386/sigaction.c
33235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33237 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33238 Remove conditional code.
33239 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33240 (__protocol_available): Remove #if 0 code.
33241 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33243 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33244 * sysdeps/unix/sysv/linux/kernel-features.h
33245 (__ASSUME_GETCWD_SYSCALL): Don't define.
33246 (__ASSUME_REALTIME_SIGNALS): Likewise.
33247 (__ASSUME_PREAD_SYSCALL): Likewise.
33248 (__ASSUME_PWRITE_SYSCALL): Likewise.
33249 (__ASSUME_POLL_SYSCALL): Likewise.
33250 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33251 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33253 (__ASSUME_SIOCGIFNAME): Don't define.
33254 (__ASSUME_MSG_NOSIGNAL): Likewise.
33255 (__ASSUME_SENDFILE): Define unconditionally.
33256 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33257 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33259 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33260 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33261 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33262 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33263 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33264 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33265 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33279 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33290 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33291 Remove conditional code.
33292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33293 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33294 Remove conditional code.
33295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33296 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33297 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33298 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33299 Remove conditional code.
33300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33301 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33302 Remove conditional code.
33303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33304 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33305 Remove conditional code.
33306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33307 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33308 Remove conditional code.
33309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33310 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33311 Remove conditional code.
33312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33313 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33316 * sysdeps/unix/sysv/linux/sigaction.c
33317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33319 * sysdeps/unix/sysv/linux/sigpending.c
33320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33322 * sysdeps/unix/sysv/linux/sigprocmask.c
33323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33325 * sysdeps/unix/sysv/linux/sigsuspend.c
33326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33329 (__libc_missing_rt_sigs): Remove.
33330 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33331 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33332 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33333 Remove conditional code.
33334 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33335 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33338 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33339 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33340 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33342 2012-05-14 Andreas Jaeger <aj@suse.de>
33344 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33345 it's not used in glibc.
33346 (__coshm1): Likewise.
33347 (__acosh1p): Likewise.
33350 * manual/string.texi (Copying and Concatenation): Add missing
33351 variable in concat example.
33352 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33354 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33358 __builtin_clzl with __builtin_clzll.
33360 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33363 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33366 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33368 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33369 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33370 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33371 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33373 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33375 * NEWS: Update ia64 info.
33377 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33379 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33382 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33384 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33385 * sysdeps/unix/syscalls.list (dup3): Likewise.
33386 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33387 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33389 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33391 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33392 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33394 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33396 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33398 (TLS_IE): Use mov/add instead of movq/addq to load thread
33400 (TLS_GD_PREFIX): New.
33403 2012-05-11 David S. Miller <davem@davemloft.net>
33405 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33406 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33407 (_FPU_SETCW): Likewise.
33409 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33411 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33412 is 32-byte aligned.
33414 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33417 * iconvdata/gb18030.c: Update tables.
33418 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33419 characters specially.
33420 (BODY for TO_LOOP): Add encoding of missing ranges.
33422 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33425 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33426 * sysdeps/mach/hurd/dup3.c: Likewise.
33427 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33428 * sysdeps/powerpc/memmove.c:: Likewise.
33430 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33432 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33433 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33435 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33437 * elf/elf.h (R_X86_64_RELATIVE64): New.
33438 (R_X86_64_NUM): Updated.
33439 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33440 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33441 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33442 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33443 tst-quad1pie tst-quad2pie
33444 (modules-names): Add tst-quadmod1 tst-quadmod2.
33445 ($(objpfx)tst-quad1): New dependency.
33446 ($(objpfx)tst-quad2): Likewise.
33447 ($(objpfx)tst-quad1pie): Likewise.
33448 ($(objpfx)tst-quad2pie): Likewise.
33449 * sysdeps/x86_64/tst-quad1.c: New file.
33450 * sysdeps/x86_64/tst-quad1pie.c: New file.
33451 * sysdeps/x86_64/tst-quad2.c: Likewise.
33452 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33453 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33454 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33455 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33456 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33460 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33461 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33462 * streams/stropts.h (t_scalar_t): Define type.
33464 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33465 (_PATH_PRESERVE): Set to "/var/lib".
33466 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33468 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33471 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33472 if __dir_mkfile succeeded.
33474 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33475 checking for _hurd_dtablesize. Unlock it right after having
33476 finished _hurd_dtable allocation.
33478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33480 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33481 * sysdeps/mach/hurd/configure: Regenerated.
33482 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33483 special-casing to...
33484 * sysdeps/gnu/configure.in: ... this new file.
33485 * sysdeps/unix/sysv/linux/configure: Regenerated.
33486 * sysdeps/gnu/configure: New generated file.
33488 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33489 for Linux: use nsec instead of usec, as well as:
33490 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33491 members of type struct timespec.
33492 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33494 (struct stat64): Likewise.
33495 (_STATBUF_ST_NSEC): New macro.
33496 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33498 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33499 __strtoul_internal rather than strtoul.
33501 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33503 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33508 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33509 which preserves existing values.
33510 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33512 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33514 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33515 TIMEOUT values. Return EINVAL for NFDS values either negative or
33516 greater than FD_SETSIZE.
33518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33520 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33521 allocated, call __vm_protect to finish enabling the existing space, and
33522 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33523 allocate the remainder.
33525 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33527 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33528 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33532 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33533 sysdeps/mach/hurd/readlink.c.
33535 * posix/tst-sysconf.c (posix_options): Only use
33536 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33537 _POSIX_SYNCHRONIZED_IO when they are defined
33538 * sysdeps/mach/hurd/bits/posix_opt.h:
33539 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33540 (_XOPEN_REALTIME): Undefine macro.
33541 (_XOPEN_REALTIME_THREADS): Undefine macro.
33542 (_XOPEN_SHM): Undefine macro.
33543 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33545 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33547 (_POSIX_ASYNC_IO): Undefine macro.
33548 (_POSIX_PRIORITIZED_IO): Undefine macro.
33549 (_POSIX_SPIN_LOCKS): Define macro to -1.
33551 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33552 SA_NODEFER, SA_RESETHAND.
33553 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33554 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33559 * elf/Makefile (pldd-modules): Define unconditionally.
33561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33563 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33565 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33567 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33568 Return ENOENT when name is empty.
33569 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33573 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33575 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33579 Fix mlock in all cases except non-readable pages.
33580 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33581 instead of VM_PROT_ALL as parameter to __vm_wire function.
33583 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33584 (__mkdir): When path is `/', just fail with EEXIST.
33585 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33589 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33590 <sys/uio.h> (for writev).
33591 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33592 and <sys/param.h> (for MIN).
33594 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33596 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33597 REQUESTED_TIME. Properly set the remaining time and return EINTR
33600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33602 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33603 Depend on against $(link-rpcuserlibs).
33605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33607 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33608 (__libc_stack_end): Do not use attribute_relro.
33609 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33610 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33611 to libthread-provided value.
33612 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33618 * bits/libc-lock.h (__libc_once_get): New macro.
33619 * sysdeps/mach/bits/libc-lock.h: Likewise.
33620 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33621 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33622 instead of using implementation details.
33624 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33625 * libio/freopen.c: Likewise.
33626 * libio/freopen64.c: Likewise.
33627 * misc/syslog.c: Likewise.
33628 * nscd/connections.c: Likewise.
33629 * nscd/netgroupcache.c: Likewise.
33630 * sysdeps/posix/getcwd.c: Likewise.
33632 2012-05-10 Roland McGrath <roland@hack.frob.com>
33634 * math/w_ilogbf.c: Add #include <limits.h>.
33636 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33638 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33639 path instead of returning without unlocking.
33641 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33642 immediate-write ioctls.
33643 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33647 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33648 __builtin_frame_address instead of making assumptions about the
33649 location of the return address relative to DATA. Force early load of
33650 the return address.
33651 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33652 __builtin_frame_address.
33655 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33656 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33657 implement dup3 and do some further code clean-ups.
33658 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33659 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33661 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33663 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33665 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33666 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33667 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33668 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33669 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33672 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33673 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33674 when handler == SIG_ERR, not when handler != SIG_ERR.
33676 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33678 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33679 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33682 accept4 for GNU Hurd.
33683 * include/sys/socket.h (__libc_accept4): New prototype.
33684 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33685 to implement __libc_accept4.
33686 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33688 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33690 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33691 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33692 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33693 signal-defines.sym.
33695 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33697 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33699 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33701 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33702 assertion on O_CLOEXEC flag.
33703 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33704 * hurd/intern-fd.c: Likewise.
33705 * hurd/port2fd.c: Likewise.
33707 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33710 * bits/in.h (IPV6_PKTINFO): Define new macro.
33711 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33713 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33718 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33720 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33721 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33723 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33724 * math/libm-test.inc (logb_test) : Additional logb tests.
33726 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33727 Andreas Jaeger <aj@suse.de>
33729 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33730 * configure: Regenerated.
33731 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33732 * config.make.in (link-obsolete-rpc): New substituted variable.
33733 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33734 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33735 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33736 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33737 so that libc.a contains the symbols.
33738 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33739 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33740 * sunrpc/auth_none.c: Likewise.
33741 * sunrpc/auth_unix.c: Likewise.
33742 * sunrpc/authdes_prot.c: Likewise.
33743 * sunrpc/authuxprot.c: Likewise.
33744 * sunrpc/clnt_gen.c: Likewise.
33745 * sunrpc/clnt_perr.c: Likewise.
33746 * sunrpc/clnt_raw.c: Likewise.
33747 * sunrpc/clnt_simp.c: Likewise.
33748 * sunrpc/clnt_tcp.c: Likewise.
33749 * sunrpc/clnt_udp.c: Likewise.
33750 * sunrpc/clnt_unix.c: Likewise.
33751 * sunrpc/des_crypt.c: Likewise.
33752 * sunrpc/des_soft.c: Likewise.
33753 * sunrpc/get_myaddr.c: Likewise.
33754 * sunrpc/key_call.c: Likewise.
33755 * sunrpc/key_prot.c: Likewise.
33756 * sunrpc/netname.c: Likewise.
33757 * sunrpc/pm_getmaps.c: Likewise.
33758 * sunrpc/pm_getport.c: Likewise.
33759 * sunrpc/pmap_clnt.c: Likewise.
33760 * sunrpc/pmap_prot.c: Likewise.
33761 * sunrpc/pmap_prot2.c: Likewise.
33762 * sunrpc/pmap_rmt.c: Likewise.
33763 * sunrpc/publickey.c: Likewise.
33764 * sunrpc/rpc_cmsg.c: Likewise.
33765 * sunrpc/rpc_common.c: Likewise.
33766 * sunrpc/rpc_dtable.c: Likewise.
33767 * sunrpc/rpc_prot.c: Likewise.
33768 * sunrpc/rpc_thread.c: Likewise.
33769 * sunrpc/rtime.c: Likewise.
33770 * sunrpc/svc.c: Likewise.
33771 * sunrpc/svc_auth.c: Likewise.
33772 * sunrpc/svc_raw.c: Likewise.
33773 * sunrpc/svc_run.c: Likewise.
33774 * sunrpc/svc_tcp.c: Likewise.
33775 * sunrpc/svc_udp.c: Likewise.
33776 * sunrpc/svc_unix.c: Likewise.
33777 * sunrpc/svcauth_des.c: Likewise.
33778 * sunrpc/xcrypt.c: Likewise.
33779 * sunrpc/xdr.c: Likewise.
33780 * sunrpc/xdr_array.c: Likewise.
33781 * sunrpc/xdr_float.c: Likewise.
33782 * sunrpc/xdr_intXX_t.c: Likewise.
33783 * sunrpc/xdr_mem.c: Likewise.
33784 * sunrpc/xdr_rec.c: Likewise.
33785 * sunrpc/xdr_ref.c: Likewise.
33786 * sunrpc/xdr_sizeof.c: Likewise.
33787 * sunrpc/xdr_stdio.c: Likewise.
33789 2012-05-10 Roland McGrath <roland@hack.frob.com>
33791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33792 change. Update copyright years.
33794 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33796 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33798 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33799 Joseph Myers <joseph@codesourcery.com>
33800 Paul Pluzhnikov <ppluzhnikov@google.com>
33803 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33805 [cross-compiling] (extra-libs): Likewise.
33806 [cross-compiling] (extra-libs-others): Likewise.
33807 [cross-compiling] (librpcsvc-routines): Likewise.
33808 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33809 [cross-compiling] (omit-deps): Likewise.
33810 (sunrpc-CPPFLAGS): New variable.
33811 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33812 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33813 (cross-rpcgen-objs): New variable.
33814 (extra-objs): Append $(cross-rpcgen-objs).
33815 ($(cross-rpcgen-objs)): New rule.
33816 ($(objpfx)cross-rpcgen): Likewise.
33817 (rpcgen-cmd): Define to use $(built-program-file). Expand
33819 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33820 ($(objpfx)x%.stmp): Likewise.
33821 * sunrpc/proto.h [IS_IN_build] (_): Define.
33822 [IS_IN_build] (_libc_intl_domainname): Likewise.
33824 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33826 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33827 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33828 and R_X86_64_TPOFF64.
33830 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33832 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33833 sysdeps/unix/sysv/syscalls.list.
33836 * sysdeps/unix/sysv/syscalls.list: Remove file.
33838 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33841 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33842 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33843 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33844 (__LC_IDENTIFICATION): Make these macros useful in #if
33845 expressions, as required by C99.
33847 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33849 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33850 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33853 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33855 * stdlib/longlong.h: Updated from GCC.
33857 2012-05-09 Andreas Jaeger <aj@suse.de>
33859 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33860 default is first entry.
33861 (run_mode): Set type.
33862 (main): Remove informal message about syslog.
33863 (options): Fix typo.
33866 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33869 (llrintf): Likewise.
33870 (llrint): Likewise.
33873 (nearbyint): Likewise.
33874 (nearbyintf): Likewise.
33876 2012-05-09 Andreas Jaeger <aj@suse.de>
33877 Pedro Alves <palves@redhat.com>
33879 * nscd/nscd.c (run_mode): Use enum.
33880 (main): Cleanup coding style issue.
33882 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33883 Andreas Jaeger <aj@suse.de>
33885 * nscd/nscd.c (go_background): Replaced with...
33886 (run_mode): ... this.
33887 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33888 (options): Add -F --foreground.
33889 (main): Implement it.
33890 (parse_opt): Parse it.
33892 2012-05-09 Andreas Jaeger <aj@suse.de>
33895 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33896 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33897 -Wconversion warning.
33898 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33901 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33903 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33905 (LC_ALL): Use macro-int-constant.
33906 (LC_COLLATE): Likewise.
33907 (LC_CTYPE): Likewise.
33908 (LC_MESSAGES): Likewise.
33909 (LC_MONETARY): Likewise.
33910 (LC_NUMERIC): Likewise.
33911 (LC_TIME): Likewise.
33912 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33913 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33915 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33917 [C99-based standards] (float_t): Expect type.
33918 [C99-based standards] (double_t): Expect type.
33919 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33921 [C99-based standards] (HUGE_VALL): Likewise.
33922 [C99-based standards] (INFINITY): Likewise.
33923 [C99-based standards] (NAN): Likewise.
33924 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33925 [C99-based standards] (FP_NAN): Likewise.
33926 [C99-based standards] (FP_NORMAL): Likewise.
33927 [C99-based standards] (FP_SUBNORMAL): Likewise.
33928 [C99-based standards] (FP_ZERO): Likewise.
33929 [C99-based standards] (FP_FAST_FMA): Use
33930 optional-macro-int-constant. Specify type. Require == 1.
33931 [C99-based standards] (FP_FAST_FMAF): Likewise.
33932 [C99-based standards] (FP_FAST_FMAL): Likewise.
33933 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33934 [C99-based standards] (FP_ILOGBNAN): Likewise.
33935 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33937 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33938 [C99-based standards] (math_errhandling): Specify type.
33939 [ISO99 || ISO11] (signgam): Do not allow.
33940 [non-C99-based standards] (copysignf): Do not allow.
33941 [non-C99-based standards] (exp2f): Likewise.
33942 [non-C99-based standards] (log2f): Likewise.
33943 [non-C99-based standards] (modff): Allow.
33944 [non-C99-based standards] (erff): Do not allow.
33945 [non-C99-based standards] (erfcf): Likewise.
33946 [non-C99-based standards] (gammaf): Likewise.
33947 [non-C99-based standards] (hypotf): Likewise.
33948 [non-C99-based standards] (j0f): Likewise.
33949 [non-C99-based standards] (j1f): Likewise.
33950 [non-C99-based standards] (jnf): Likewise.
33951 [non-C99-based standards] (lgammaf): Likewise.
33952 [non-C99-based standards] (tgammaf): Likewise.
33953 [non-C99-based standards] (y0f): Likewise.
33954 [non-C99-based standards] (y1f): Likewise.
33955 [non-C99-based standards] (ynf): Likewise.
33956 [non-C99-based standards] (isnanf): Likewise.
33957 [non-C99-based standards] (acoshf): Likewise.
33958 [non-C99-based standards] (asinhf): Likewise.
33959 [non-C99-based standards] (atanhf): Likewise.
33960 [non-C99-based standards] (cbrtf): Likewise.
33961 [non-C99-based standards] (expm1f): Likewise.
33962 [non-C99-based standards] (ilogbf): Likewise.
33963 [non-C99-based standards] (log1pf): Likewise.
33964 [non-C99-based standards] (logbf): Likewise.
33965 [non-C99-based standards] (nextafterf): Likewise.
33966 [non-C99-based standards] (remainderf): Likewise.
33967 [non-C99-based standards] (rintf): Likewise.
33968 [non-C99-based standards] (scalbf): Likewise.
33969 [non-C99-based standards] (copysignl): Likewise.
33970 [non-C99-based standards] (exp2l): Likewise.
33971 [non-C99-based standards] (log2l): Likewise.
33972 [non-C99-based standards] (modfl): Allow.
33973 [non-C99-based standards] (erfl): Do not allow.
33974 [non-C99-based standards] (erfcl): Likewise.
33975 [non-C99-based standards] (gammal): Likewise.
33976 [non-C99-based standards] (hypotl): Likewise.
33977 [non-C99-based standards] (j0l): Likewise.
33978 [non-C99-based standards] (j1l): Likewise.
33979 [non-C99-based standards] (jnl): Likewise.
33980 [non-C99-based standards] (lgammal): Likewise.
33981 [non-C99-based standards] (tgammal): Likewise.
33982 [non-C99-based standards] (y0l): Likewise.
33983 [non-C99-based standards] (y1l): Likewise.
33984 [non-C99-based standards] (ynl): Likewise.
33985 [non-C99-based standards] (isnanl): Likewise.
33986 [non-C99-based standards] (acoshl): Likewise.
33987 [non-C99-based standards] (asinhl): Likewise.
33988 [non-C99-based standards] (atanhl): Likewise.
33989 [non-C99-based standards] (cbrtl): Likewise.
33990 [non-C99-based standards] (expm1l): Likewise.
33991 [non-C99-based standards] (ilogbl): Likewise.
33992 [non-C99-based standards] (log1pl): Likewise.
33993 [non-C99-based standards] (logbl): Likewise.
33994 [non-C99-based standards] (nextafterl): Likewise.
33995 [non-C99-based standards] (remainderl): Likewise.
33996 [non-C99-based standards] (rintl): Likewise.
33997 [non-C99-based standards] (scalbl): Likewise.
33998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33999 [non-C99-based standards] (FP_*): Do not allow.
34000 [C99-based standards] (FP_*): Change to
34001 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34002 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34004 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34005 (SIG_ERR): Likewise.
34006 [X/Open-based standards] (SIG_HOLD): Likewise.
34007 (SIG_IGN): Likewise.
34008 (SIGABRT): Use macro-int-constant. Specify type. Require
34010 (SIGFPE): Likewise.
34011 (SIGILL): Likewise.
34012 (SIGINT): Likewise.
34013 (SIGSEGV): Likewise.
34014 (SIGTER): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34033 [X/Open-based standards] (SIGTRAP): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34038 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34041 2012-05-08 Ian Wienand <ianw@vmware.com>
34044 * time/tzset.c (__tzset_parse_tz): Update default rules for
34045 daylight time changes in the Energy Policy Act of 2005.
34047 2012-05-09 Andreas Jaeger <aj@suse.de>
34050 * elf/ldconfig.c (parse_conf): Change string to make clear that
34051 ldconfig only issued a warning if ld.so.conf does not exist.
34053 2012-05-08 David S. Miller <davem@davemloft.net>
34055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34056 movxtod instead of popping the value on the stack.
34058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34060 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34062 * config.h.in: Add HAVE_ARM_PCS_VFP.
34064 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34067 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34068 checking but the checks are disabled for any reason.
34070 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34072 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34073 and ELF64_R_TYPE with ELFW(R_TYPE).
34075 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34077 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34078 (ulimit): Likewise.
34080 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34081 (settimeofday): Likewise.
34083 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34085 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34086 a struct th_u2 inside the union, and move tu_block/tu_code into
34087 a new th_u3 union of tu_block/tu_code inside of that. Move
34088 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34089 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34090 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34091 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34092 (th_stuff): Change to th_u1.tu_stuff.
34094 (th_msg): Change to th_u1.th_u2.tu_data.
34096 2012-05-07 David S. Miller <davem@davemloft.net>
34098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34101 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34102 (SETUP_PIC_REG): Use it.
34103 (SETUP_PIC_REG_LEAF): Use it.
34105 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34111 (EXPL_FINITE): Likewise.
34112 (FLDLOG): Likewise.
34113 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34114 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34118 (EXPL_FINITE): Likewise.
34119 (FLDLOG): Likewise.
34120 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34121 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34123 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34124 test of -max_value argument for long double.
34125 * sysdeps/i386/fpu/libm-test-ulps: Update.
34126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34128 2012-05-06 David S. Miller <davem@davemloft.net>
34130 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34131 quad soft-float symbols whose references which are compiler
34133 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34135 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34141 (EXPL_FINITE): Likewise.
34142 (FLDLOG): Likewise.
34145 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34146 Adjust comments for base varying.
34147 (__expl_finite): Change alias to EXPL_FINITE.
34148 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34150 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34151 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34153 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34154 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34156 (EXPL_FINITE): Likewise.
34157 (FLDLOG): Likewise.
34160 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34161 Adjust comments for base varying.
34162 (__expl_finite): Change alias to EXPL_FINITE.
34163 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34168 * math/libm-test.inc (check_float_internal): Correct ulp
34169 calculation for subnormal expected results.
34171 2012-05-06 Andreas Jaeger <aj@suse.de>
34173 * Makeconfig (+math-flags): New, set to -frounding-math.
34174 (+cflags): Add +math-flags so that all of glibc gets compiled with
34177 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34179 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34181 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34187 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34188 (__ieee754_expl): Allow for and saturate large arguments.
34189 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34190 (u_threshold): Likewise.
34191 (__exp): Call __ieee754_exp before checking for overflow and
34193 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34194 (u_threshold): Likewise.
34195 (__expf): Call __ieee754_expf before checking for overflow and
34197 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34198 (u_threshold): Likewise.
34199 (__expl): Call __ieee754_expl before checking for overflow and
34201 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34202 (__ieee754_expl): Allow for and saturate large arguments.
34203 * math/libm-test.inc (exp_test): Add another test. Do not allow
34204 missing overflow exception on overflow.
34205 (expm1_test): Do not allow missing overflow exception on overflow.
34207 * sysdeps/i386/fpu/e_expl.c: Move to ...
34208 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34209 rather than using inline asm.
34210 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34211 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34212 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34214 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34217 (signal): Likewise.
34221 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34223 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34224 sysdeps/unix/common/syscalls.list.
34225 (fchmod): Likewise.
34226 (fchown): Likewise.
34227 (ftruncate): Likewise.
34228 (getrusage): Likewise.
34229 (gettimeofday): Likewise.
34230 (setpgid): Likewise.
34231 (setregid): Likewise.
34232 (setreuid): Likewise.
34233 (sigaction): Likewise.
34234 (truncate): Likewise.
34235 (vhangup): Likewise.
34236 * sysdeps/unix/common/syscalls.list: Remove file.
34237 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34238 * sysdeps/unix/sysv/linux/Implies: Likewise.
34240 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34242 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34244 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34248 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34251 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34254 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34257 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34260 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34263 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34266 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34270 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34274 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34277 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34281 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34285 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34287 * sysdeps/unix/common/bits/dirent.h: Remove file.
34288 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34290 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34291 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34292 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34293 * sysdeps/unix/bsd/isatty.c: Likewise.
34294 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34295 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34296 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34298 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34301 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34302 long double comparison inaccuracies.
34303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34306 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34308 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34311 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34314 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34315 nonzero digits before rounding a hex value.
34316 * stdlib/tst-strtod.c (tests): Add another test.
34318 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34320 * sysdeps/s390/fpu/libm-test-ulps: Update.
34322 2012-05-03 Andreas Jaeger <aj@suse.de>
34324 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34325 does not get optimized out.
34326 (malloc_opt_barrier): New.
34328 2012-05-03 Andreas Jaeger <aj@suse.de>
34329 Roland McGrath <roland@hack.frob.com>
34331 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34332 intermediate file deletion.
34333 (generated): Add .symlist files.
34335 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34338 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34339 Redirect under this condition.
34340 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34341 [__USE_GNU] (__dprintf_chk): Not under this condition.
34342 [__USE_GNU] (__vdprintf_chk): Likewise.
34343 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34344 under this condition.
34345 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34346 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34347 [__USE_XOPEN2K8] (vdprintf): Likewise.
34348 [__USE_GNU] (__dprintf_chk): Not under this condition.
34349 [__USE_GNU] (__vdprintf_chk): Likewise.
34350 [__USE_GNU] (dprintf): Likewise.
34351 [__USE_GNU] (vdprintf): Likewise.
34353 2012-05-03 Roland McGrath <roland@hack.frob.com>
34355 * elf/Makefile (common-generated): Set this instead of generated for
34356 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34357 $(all-built-dso)-derived lists.
34359 2012-05-03 Andreas Jaeger <aj@suse.de>
34361 * sysdeps/i386/fpu/libm-test-ulps: Update.
34364 * FAQ.in: Likewise.
34365 * scripts/gen-FAQ.pl: Likewise.
34366 * manual/install.texi (Installation): Point to online location of
34368 * Makefile (files-for-dist): Remove FAQ.
34371 2012-05-02 Allan McRae <allan@archlinux.org>
34373 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34374 (LDFLAGS-reldepmod5.so): Likewise.
34375 (LDFLAGS-reldep6mod1.so): Likewise.
34376 (LDFLAGS-reldep6mod4.so): Likewise.
34377 (LDFLAGS-reldep8mod3.so): Likewise.
34378 (LDFLAGS-unload4mod1.so): Likewise.
34379 (LDFLAGS-unload4mod2.so): Likewise.
34380 (LDFLAGS-tst-initorder): Likewise.
34381 (LDFLAGS-tst-initordera2.so): Likewise.
34382 (LDFLAGS-tst-initordera3.so): Likewise.
34383 (LDFLAGS-tst-initordera4.so): Likewise.
34384 (LDFLAGS-tst-initorderb2.so): Likewise.
34385 (LDFLAGS-noload): Likewise.
34386 (LDFLAGS-next): Likewise.
34387 (LDFLAGS-order2mod1.so): Likewise.
34388 (LDFLAGS-order2mod2.so): Likewise.
34389 (LDFLAGS-tst-initorder2): Likewise.
34390 (LDFLAGS-tst-initorder2a.so): Likewise.
34391 (LDFLAGS-tst-initorder2b.so): Likewise.
34392 (LDFLAGS-tst-initorder2c.so): Likewise.
34393 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34395 2012-05-02 David S. Miller <davem@davemloft.net>
34397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34399 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34402 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34404 2012-05-02 Andreas Jaeger <aj@suse.de>
34406 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34407 since we manipulate rounding mode.
34408 (CPPFLAGS-test-idouble.c): Likewise.
34409 (CPPFLAGS-test-ifloat.c): Likewise.
34410 (CFLAGS-test-ldouble.c): Likewise.
34411 (CFLAGS-test-double.c): Likewise.
34412 (CFLAGS-test-float.c): Likewise.
34413 (CFLAGS-test-misc.c): Likewise.
34414 (CFLAGS-test-test-fenv.c): Likewise.
34416 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34420 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34421 comparisons to determine direction to adjust input.
34423 2012-05-01 Roland McGrath <roland@hack.frob.com>
34425 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34426 output to the target.
34428 * scripts/localplt.awk: New file.
34429 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34430 (check-localplt-CFLAGS): Variable removed.
34431 ($(all-built-dso:=.jmprel)): New static pattern rule.
34432 (generated): Add those targets.
34433 (localplt-built-dso): New variable.
34434 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34436 * elf/check-localplt.c: File removed.
34438 * scripts/check-execstack.awk: New file.
34439 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34440 (check-execstack-CFLAGS): Variable removed.
34441 ($(objpfx)check-execstack.h): Target removed.
34442 ($(objpfx)execstack-default): New target.
34443 (generated): Add that instead of check-execstack.h.
34444 ($(all-built-dso:=.phdr)): New static pattern rule.
34445 (generated): Add those targets.
34446 * elf/check-execstack.c: File removed.
34448 * scripts/check-textrel.awk: New file.
34449 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34450 (check-textrel-CFLAGS): Variable removed.
34451 (all-built-dso): Use := to define.o
34452 ($(all-built-dso:=.dyn)): New static pattern rule.
34453 (generated): Add those targets.
34454 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34455 * config.make.in (READELF): New substituted variable.
34456 * elf/check-textrel.c: File removed.
34458 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34460 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34462 * conform/data/ctype.h-data [C99-based standards] (isblank):
34464 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34465 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34467 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34468 Specify type. Require positive value.
34469 (EILSEQ): Likewise.
34470 (ERANGE): Likewise.
34471 [ISO || POSIX] (EILSEQ): Do not expect.
34472 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34473 Specify type. Require positive value.
34474 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34475 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34476 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34477 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34478 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34479 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34480 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34481 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34482 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34483 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34484 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34485 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34486 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34487 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34488 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34489 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34490 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34491 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34492 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34493 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34494 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34495 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34496 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34497 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34498 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34499 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34500 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34501 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34502 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34503 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34504 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34505 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34506 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34507 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34508 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34509 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34510 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34511 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34512 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34513 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34514 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34515 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34516 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34517 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34518 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34519 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34520 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34521 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34523 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34525 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34526 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34527 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34528 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34529 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34530 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34531 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34532 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34533 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34534 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34535 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34536 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34537 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34538 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34539 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34540 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34541 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34542 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34543 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34544 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34545 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34546 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34547 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34548 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34549 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34550 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34552 (FLT_ROUNDS): Expect as macro, not constant.
34553 (FLT_MANT_DIG): Use macro-int-constant.
34554 (DBL_MANT_DIG): Likewise.
34555 (LDBL_MANT_DIG): Likewise.
34556 (FLT_DIG): Likewise.
34557 (DBL_DIG): Likewise.
34558 (LDBL_DIG): Likewise.
34559 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34560 (DBL_MIN_EXP): Likewise.
34561 (LDBL_MIN_EXP): Likewise.
34562 (FLT_MAX_EXP): Use macro-int-constant.
34563 (DBL_MAX_EXP): Likewise.
34564 (LDBL_MAX_EXP): Likewise.
34565 (FLT_MAX_10_EXP): Likewise.
34566 (DBL_MAX_10_EXP): Likewise.
34567 (LDBL_MAX_10_EXP): Likewise.
34568 (FLT_MAX): Use macro-constant.
34569 (DBL_MAX): Likewise.
34570 (LDBL_MAX): Likewise.
34571 (FLT_EPSILON): Use macro-constant. Give upper bound.
34572 (DBL_EPSILON): Likewise.
34573 (LDBL_EPSILON): Likewise.
34574 (FLT_MIN): Likewise.
34575 (DBL_MIN): Likewise.
34576 (LDBL_MIN): Likewise.
34577 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34578 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34579 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34580 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34581 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34582 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34583 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34584 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34585 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34586 [ISO11] (FLT_TRUE_MIN): Likewise.
34587 [ISO11] (LDBL_TRUE_MIN): Likewise.
34588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34589 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34590 (SCHAR_MIN): Use macro-int-constant. Specify type.
34591 (SCHAR_MAX): Likewise.
34592 (UCHAR_MAX): Likewise.
34593 (CHAR_MIN): Likewise.
34594 (CHAR_MAX): Likewise.
34595 (MB_LEN_MAX): Use macro-int-constant.
34596 (SHRT_MIN): Use macro-int-constant. Specify type.
34597 (SHRT_MAX): Likewise.
34598 (USHRT_MAX): Likewise.
34599 (INT_MAX): Likewise.
34600 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34602 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34604 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34606 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34607 bound negative. Suffix upper bound with "L".
34608 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34610 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34612 [C99-based standards] (LLONG_MAX): Likewise.
34613 [C99-based standards] (ULLONG_MAX): Likewise.
34614 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34616 [ISO11] (max_align_t): Require type.
34617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34619 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34620 from $CFLAGS, without defining away __attribute__ calls.
34621 (checknamespace): Use $CFLAGS_namespace.
34623 * conform/conformtest.pl (@keywords): Only include C99 keywords
34624 for standards based on C99 or C11.
34626 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34628 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34631 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34632 usability of symbols in #if.
34634 * conform/conformtest.pl: If macro or constant types start
34635 "promoted:", expect the symbol to be of the following type
34636 promoted by the integer promotions.
34638 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34639 in one place. Also handle "macro-constant".
34641 * conform/conformtest.pl: Only accept expected macro values with
34642 "==". Parse all "macro" lines in one place.
34643 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34645 * conform/conformtest.pl: Handle braced types on "constant" lines
34646 instead of handling "typed-constant".
34647 * conform/data/signal.h-data: Use "constant" instead of
34650 * conform/conformtest.pl: Handle "optional-" at start of lines in
34651 one place rather than duplicating several cases. Handle each
34652 format of "macro" line with initial "optional-".
34654 * conform/conformtest.pl: Only accept expected constant or
34655 optional-constant values with "==". Parse all "constant" lines in
34656 one place. Parse all "optional-constant" lines in one place.
34657 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34658 * conform/data/fmtmsg.h-data: Likewise.
34659 * conform/data/netinet/in.h-data: Likewise.
34660 * conform/data/tar.h-data: Likewise.
34661 * conform/data/limits.h-data: Use "==" form on "constant" and
34662 "optional-constant" lines.
34664 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34665 Use -std=c99 for XOPEN2K.
34666 (@knownproblems): Remove.
34667 (newtoken): Don't check %isknown.
34669 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34670 Do not expect macro.
34671 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34672 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34673 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34674 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34675 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34676 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34677 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34678 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34679 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34680 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34681 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34682 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34683 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34684 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34685 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34686 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34689 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34690 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34692 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34693 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34697 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34698 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34699 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34700 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34701 [XPG3] (acosh): Likewise.
34702 [XPG3] (asinh): Likewise.
34703 [XPG3] (atanh): Likewise.
34704 [XPG3] (cbrt): Likewise.
34705 [XPG3] (expm1): Likewise.
34706 [XPG3] (ilogb): Likewise.
34707 [XPG3] (log1p): Likewise.
34708 [XPG3] (logb): Likewise.
34709 [XPG3] (nextafter): Likewise.
34710 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34711 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34712 [XPG3] (remainder): Likewise.
34713 [XPG3] (rint): Likewise.
34714 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34715 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34716 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34717 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34718 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34719 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34720 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34721 [UNIX98 || XOPEN2K] (scalb): Expect.
34722 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34723 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34726 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34727 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34728 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34729 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34763 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34807 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34808 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34809 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34810 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34811 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34812 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34813 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34828 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34829 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34831 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34832 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34833 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34834 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34835 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34836 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34837 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34838 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34839 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34840 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34841 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34842 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34843 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34844 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34845 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34846 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34847 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34848 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34849 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34850 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34852 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34853 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34854 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34855 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34856 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34857 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34858 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34860 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34861 _XOPEN_SOURCE_EXTENDED for XPG4.
34863 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34865 * Makeconfig (localtime): Remove variable.
34866 (inst_localtime-file): Likewise.
34868 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34889 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34893 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34894 comparisons to determine direction to adjust input.
34895 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34896 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34897 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34901 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34906 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34908 * math/libm-test.inc (nexttoward_test): Add more tests.
34910 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34914 in version GLIBC_2.1, not GLIBC_2.0.
34915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34918 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34921 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34923 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34924 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34925 * math/libm-test.inc (acos_test): Add more tests.
34926 (asin_test): Likewise.
34927 * sysdeps/i386/fpu/libm-test-ulps: Update.
34928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34931 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34933 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34934 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34935 * math/libm-test.inc (acos_test_tonearest): New function.
34936 (acos_test_towardzero): Likewise.
34937 (acos_test_downward): Likewise.
34938 (acos_test_upward): Likewise.
34939 (asin_test_tonearest): Likewise.
34940 (asin_test_towardzero): Likewise.
34941 (asin_test_downward): Likewise.
34942 (asin_test_upward): Likewise.
34943 (main): Call the new functions.
34944 * sysdeps/i386/fpu/libm-test-ulps: Update.
34945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34949 * math/e_exp10.c: Include <float.h>.
34950 (__ieee754_exp10): Handle underflow here rather than multiplying
34951 large negative argument by M_LN10.
34952 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34954 * math/e_exp10l.c: Include <float.h>.
34955 (__ieee754_exp10l): Handle underflow here rather than multiplying
34956 large negative argument by M_LN10l.
34957 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34958 spurious overflow exception on underflow.
34960 2012-04-29 Marek Polacek <polacek@redhat.com>
34962 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34963 (__fortify_function): New macro.
34964 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34965 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34966 __extern_always_inline.
34967 * libio/bits/stdio2.h: Likewise.
34968 * libio/bits/stdio.h: Likewise.
34969 * string/string.h: Likewise.
34970 * string/bits/string3.h: Likewise.
34971 * include/stdio.h: Likewise.
34972 * stdlib/bits/stdlib.h: Likewise.
34973 * stdlib/stdlib.h: Likewise.
34974 * rt/bits/mqueue2.h: Likewise.
34975 * rt/mqueue.h: Likewise.
34976 * posix/bits/unistd.h: Likewise.
34977 * posix/unistd.h: Likewise.
34978 * io/bits/poll2.h: Likewise.
34979 * io/bits/fcntl2.h: Likewise.
34980 * io/fcntl.h: Likewise.
34981 * io/sys/poll.h: Likewise.
34982 * misc/bits/syslog.h: Likewise.
34983 * misc/bits/syslog-ldbl.h: Likewise.
34984 * misc/sys/syslog.h: Likewise.
34985 * socket/bits/socket2.h: Likewise.
34986 * socket/sys/socket.h: Likewise.
34987 * debug/tst-chk1.c: Likewise.
34988 * wcsmbs/bits/wchar2.h: Likewise.
34989 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34990 * wcsmbs/wchar.h: Likewise.
34992 2012-04-29 Andreas Jaeger <aj@suse.de>
34994 * Makerules (tests): Remove enable-check-abi protection.
34995 (check-abi-warn): Remove.
34996 (check-abi-%): Remove check-abi-warn usage.
34998 * configure.in: Remove check-abi configure option.
34999 * configure: Regenerated.
35000 * config.make.in (enable-check-abi): Remove.
35002 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35005 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35006 double functions to double *_finite functions.
35009 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35010 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35012 * stdio-common/Makefile (tests): Add tst-sprintf3.
35013 * stdio-common/tst-sprintf3.c: New file.
35015 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35016 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35018 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35020 * conform/conformtest.pl: Remove duplicate typed-constant
35023 2012-04-28 David S. Miller <davem@davemloft.net>
35025 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35026 (check-abi-%): Remove AWK script prerequisite and explicit
35028 (check-abi): Rewrite to just diff the symlist with the abilist.
35029 (config-tls, config-abi-config): Delete, no longer used.
35030 (update-abi-%): Remove AWK script and explicit abilist directory.
35031 (update-abi): Rewrite to simply compare and conditionally copy the
35032 symlist and the sysdep abilist file. Remove update-abi-config
35034 * abilist/ld.abilist: Remove.
35035 * abilist/libBrokenLocale.abilist: Remove.
35036 * abilist/libanl.abilist: Remove.
35037 * abilist/libcrypt.abilist: Remove.
35038 * abilist/libdl.abilist: Remove.
35039 * abilist/librt.abilist: Remove.
35040 * abilist/libthread_db.abilist: Remove.
35041 * abilist/libutil.abilist: Remove.
35042 * scripts/extract-abilist.awk: Remove.
35043 * scripts/merge-abilist.awk: Remove.
35044 * sysdeps/generic/libcidn.abilist: New file.
35045 * sysdeps/generic/libnss_compat.abilist: New file.
35046 * sysdeps/generic/libnss_db.abilist: New file.
35047 * sysdeps/generic/libnss_dns.abilist: New file.
35048 * sysdeps/generic/libnss_files.abilist: New file.
35049 * sysdeps/generic/libnss_hesiod.abilist: New file.
35050 * sysdeps/generic/libnss_nis.abilist: New file.
35051 * sysdeps/generic/libnss_nisplus.abilist: New file.
35052 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35053 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35054 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35056 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35057 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35058 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35059 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35060 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35062 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35063 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35064 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35066 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35067 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35068 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35069 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35071 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35072 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35073 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35074 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35075 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35076 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35078 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35079 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35080 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35185 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35186 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35187 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35189 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35190 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35191 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35192 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35193 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35194 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35195 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35196 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35197 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35198 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35250 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35252 * conform/conformtest.pl: Fix typo in handling typed-constant from
35255 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35257 * README: Cut down references to pre-2.6 Linux kernels and
35258 Linuxthreads. Update lists of configurations in libc and ports
35259 and sort alphabetically. Say "or newer" with Linux kernel version
35262 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35264 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35267 * math/libm-test.inc (logb_test_downward): New test to expose
35268 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35271 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35274 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35276 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35277 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35279 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35281 * sysdeps/unix/i386/brk.S: Remove file.
35282 * sysdeps/unix/i386/dl-brk.S: Likewise.
35283 * sysdeps/unix/i386/pipe.S: Likewise.
35284 * sysdeps/unix/i386/sigreturn.S: Likewise.
35285 * sysdeps/unix/i386/syscall.S: Likewise.
35286 * sysdeps/unix/i386/vfork.S: Likewise.
35287 * sysdeps/unix/i386/wait.S: Likewise.
35289 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35290 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35292 * configure.in (arm*-none*): Do not allow without
35293 --enable-hacker-mode.
35294 (netbsd*): Remove case setting base_os.
35295 (386bsd*): Likewise.
35296 (freebsd*): Likewise.
35299 (sunos*): Likewise.
35300 (ultrix*): Likewise.
35301 (newsos*): Likewise.
35302 (dynix*): Likewise.
35308 (minix*): Likewise.
35309 (irix4*): Likewise.
35310 (irix6*): Likewise.
35311 (solaris[2-9]*): Likewise.
35313 * configure: Regenerated.
35315 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35318 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35319 overflow or cancellation in calculating denominator.
35320 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35322 down expression to avoid unexpected rounding in newer GCCs.
35323 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35325 2012-04-26 David S. Miller <davem@davemloft.net>
35327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35328 long-double compat symbols.
35329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35343 2012-04-25 David S. Miller <davem@davemloft.net>
35345 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35346 HWCAP_* values only after the memory barriers have been defined.
35347 (atomic_full_barrier): Define.
35348 (atomic_read_barrier): Define.
35349 (atomic_write_barrier): Define.
35351 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35353 * shlib-versions: Add libgcc_s version information.
35354 * sysdeps/generic/libgcc_s.h: Remove.
35355 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35357 * sysdeps/gnu/unwind-resume.c: Likewise.
35358 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35360 2012-04-25 David S. Miller <davem@davemloft.net>
35362 * sysdeps/unix/sparc/brk.S: Delete.
35363 * sysdeps/unix/sparc/dl-brk.S: Delete.
35364 * sysdeps/unix/sparc/pipe.S: Delete.
35365 * sysdeps/unix/sparc/sysdep.S: Delete.
35366 * sysdeps/unix/sparc/sysdep.h: Delete.
35367 * sysdeps/unix/sparc/vfork.S: Delete.
35368 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35369 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35370 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35371 (ret_ERRVAL, r0, r1, MOVE): Define.
35372 (JUMPTARGET): Remove.
35373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35374 sysdeps/unix/sparc/sysdep.h
35375 (ENTRY, END): Remove.
35376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35378 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35380 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35381 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35384 * timezone/README: Update upstream location and email address for
35386 * timezone/zdump.c: Update from tzcode 2012b.
35387 * timezone/zic.c: Likewise.
35389 * configure.in (libc_cv_as_needed): Remove test.
35390 * configure: Regenerated.
35391 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35392 conditional definition.
35393 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35394 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35395 * config.make.in (have-as-needed): Remove variable.
35397 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35398 Paul Pluzhnikov <ppluzhnikov@google.com>
35400 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35403 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35405 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35406 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35407 * sysdeps/sh/strlen.S: Likewise.
35409 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35411 * sysdeps/unix/fork.S: Remove file.
35412 * sysdeps/unix/i386/fork.S: Likewise.
35413 * sysdeps/unix/sparc/fork.S: Likewise.
35415 * sysdeps/unix/system.c: Remove file.
35416 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35418 * sysdeps/unix/getegid.S: Remove file.
35419 * sysdeps/unix/geteuid.S: Likewise.
35421 2012-04-24 Roland McGrath <roland@hack.frob.com>
35423 * scripts/check-localplt.awk: New file.
35424 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35426 * scripts/data/localplt-generic.data: Add a comment.
35428 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35429 NODE when __dir_mkfile failed.
35430 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35431 Reported by Ludovic Courtès <ludo@gnu.org>.
35433 2012-04-24 Andreas Jaeger <aj@suse.de>
35435 * Makerules (common-clean): Also remove gen-as-const-headers
35438 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35440 * Makerules (native-compile): Do not change working directory for
35441 build. Use $(OUTPUT_OPTION) in command.
35442 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35444 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35447 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35448 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35449 * math/libm-test.inc (floor_test): Add more tests.
35450 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35452 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35454 * sysdeps/unix/getdents.c: Remove file.
35455 * sysdeps/unix/sysv/getdents.c: Likewise.
35456 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35458 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35459 sysdeps/unix/mman/syscalls.list.
35461 (mprotect): Likewise.
35463 (munmap): Likewise.
35464 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35465 * sysdeps/unix/mman/syscalls.list: Remove.
35466 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35468 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35469 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35470 * configure: Regenerated.
35471 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35472 $(libgcc_s_suffix).
35473 * config.make.in (libgcc_s_suffix): Remove variable.
35475 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35477 * sysdeps/unix/sysv/gethostname.c: Move to ...
35478 * sysdeps/posix/gethostname.c: ... here.
35480 * sysdeps/unix/execve.S: Remove file.
35482 * sysdeps/unix/_exit.S: Remove file.
35484 2012-04-23 Andreas Jaeger <aj@suse.de>
35487 * manual/Makefile: Remove make dist support, there's no
35488 need for a stand-alone documentation tar ball.
35489 (TEXI2DVI): Define always, it's not in Makeconfig.
35492 (edition): Removed.
35493 (glibc-doc-$(edition).tar): Removed
35497 (ETAGS): Remove, it's in Makeconfig.
35498 (move-if-change): Remove, it's in Makeconfig.
35500 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35503 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35504 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35505 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35506 (strtod_l, strtof_l, strtold_l): Remove __wur.
35507 It is not necessarily an error to ignore strtol's return value.
35508 One can reliably look at the stored endptr to decide whether
35509 the number had valid syntax.
35511 2012-04-21 Andreas Jaeger <aj@suse.de>
35514 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35516 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35518 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35519 * sysdeps/unix/sysv/Versions: Remove file.
35521 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35526 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35529 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35530 version from __vm86.
35532 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35534 * sysdeps/unix/common/lxstat.c: Remove file.
35535 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35537 * sysdeps/unix/sysv/Makefile: Remove file.
35539 * sysdeps/unix/sysv/direct.h: Remove file.
35541 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35542 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35543 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35544 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35545 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35546 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35547 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35549 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35551 * sysdeps/unix/xmknod.c: Remove file.
35552 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35554 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35556 * sysdeps/unix/sysv/i386/time.S: Remove file.
35558 * sysdeps/unix/fxstat.c: Remove file.
35559 * sysdeps/unix/xstat.c: Likewise.
35560 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35562 * sysdeps/unix/sysv/sigaction.c: Remove file.
35564 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35565 (sysdep_headers): Remove variable.
35566 [termio.h not in sysdep_headers] (generated): Likewise.
35567 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35568 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35569 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35570 * sysdeps/unix/sysv/tcflow.c: Likewise.
35571 * sysdeps/unix/sysv/tcflush.c: Likewise.
35572 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35573 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35574 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35575 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35576 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35578 * sysdeps/unix/siglist.c: Remove file.
35580 * sysdeps/unix/getppid.S: Remove file.
35582 * sysdeps/unix/mkdir.c: Remove file.
35583 * sysdeps/unix/rmdir.c: Likewise.
35585 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35587 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35589 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35590 errlist-compat value.
35592 2012-04-18 David S. Miller <davem@davemloft.net>
35594 * sysdeps/generic/memcopy.h (reg_char): Delete.
35595 * debug/strcat_chk.c: Use char, not reg_char.
35596 * debug/strcpy_chk.c: Likewise.
35597 * debug/strncat_chk.c: Likewise.
35598 * debug/strncpy_chk.c: Likewise.
35599 * string/memchr.c: Likewise.
35600 * string/memrchr.c: Likewise.
35601 * string/rawmemchr.c: Likewise.
35602 * string/strcat.c: Likewise.
35603 * string/strchr.c: Likewise.
35604 * string/strchrnul.c: Likewise.
35605 * string/strcmp.c: Likewise.
35606 * string/strcpy.c: Likewise.
35607 * string/strncat.c: Likewise.
35608 * string/strncmp.c: Likewise.
35609 * string/strncpy.c: Likewise.
35611 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35613 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35614 __builtin_memcopy is called when src and dest ranges are known to not
35617 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35620 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35621 fwd_align_merge macro call.
35622 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35623 bwd_align_merge macro call.
35624 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35626 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35628 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35629 bwd_align_merge macros.
35630 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35631 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35634 2012-04-18 David S. Miller <davem@davemloft.net>
35636 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35638 2012-04-18 Andreas Jaeger <aj@suse.de>
35641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35642 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35643 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35645 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35646 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35647 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35649 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35650 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35651 Adjust for changed ldbl-128 files.
35653 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35654 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35657 2012-04-17 David S. Miller <davem@davemloft.net>
35659 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35661 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35663 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35664 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35665 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35666 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35667 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35668 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35670 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35673 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35674 * math/libm-test.inc: Add ilogb errno and exception tests.
35675 * math/w_ilogb.c: New file: ilogb wrapper.
35676 * math/w_ilogbf.c: New file: ilogbf wrapper.
35677 * math/w_ilogbl.c: New file: ilogbl wrapper.
35678 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35679 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35680 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35681 exception being thrown with 0.0 as argument.
35682 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35683 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35684 exception being thrown with 0.0 as argument.
35685 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35686 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35687 exception being thrown with 0.0 as argument.
35688 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35689 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35690 exception being thrown with 0.0 as argument.
35691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35692 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35694 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35695 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35697 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35698 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35699 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35701 2012-04-17 Petr Baudis <pasky@ucw.cz>
35703 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35706 2012-04-16 Marek Polacek <polacek@redhat.com>
35708 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35710 2012-04-16 Marek Polacek <polacek@redhat.com>
35712 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35713 operands of fdivp instruction.
35715 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35717 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35718 * elf/tst-auditmod3b.c: Likewise.
35719 * elf/tst-auditmod4b.c: Likewise.
35720 * elf/tst-auditmod5b.c: Likewise.
35721 * elf/tst-auditmod6b.c: Likewise.
35722 * elf/tst-auditmod6c.c: Likewise.
35723 * elf/tst-auditmod7b.c: Likewise.
35724 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35725 * sysdeps/x86_64/preconfigure.in: Likewise.
35726 * sysdeps/x86_64/preconfigure: Regenerated.
35728 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35730 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35733 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35736 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35738 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35741 * locale/iso-639.def: Fix gl language name. Spotted by
35744 2012-04-12 Roland McGrath <roland@hack.frob.com>
35747 * libio/libio.h (__io_write_fn): Update comment.
35749 2012-04-12 Petr Baudis <pasky@ucw.cz>
35752 * stdio.texi (Hook Functions): The user provided writer function
35753 is not allowed to return -1.
35755 2012-04-11 David S. Miller <davem@davemloft.net>
35757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35759 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35761 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35762 Add a leading slash to rtkaio.
35764 2012-04-11 Jim Meyering <meyering@redhat.com>
35767 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35768 It is not necessarily an error to ignore fwrite's return
35769 value. One can reliably use ferror to test for errors after
35772 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35774 * bits/types.h (__snseconds_t): New type.
35775 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35777 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35779 (__SNSECONDS_T_TYPE): Likewise.
35780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35781 (__SNSECONDS_T_TYPE): Likewise.
35782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35783 (__SNSECONDS_T_TYPE): Likewise.
35785 2012-04-10 Andreas Jaeger <aj@suse.de>
35788 * manual/time.texi (Processor Time): Return type of times is
35789 elapsed real time since an arbitrary point in the past.
35790 (CPU Time): Move CLK_TCK from here...
35791 (Processor Time): ...to here. Correct description.
35792 * manual/conf.texi (Constants for Sysconf): Correct description of
35795 2012-04-10 David S. Miller <davem@davemloft.net>
35798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35799 where the is a gap between DT_REL(A) and DT_JMPREL.
35801 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35803 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35804 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35805 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35807 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35809 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35810 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35811 (dl_main): Handle --inhibit-cache.
35812 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35814 * elf/dl-load.c (_dl_map_object): Use it.
35815 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35817 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35820 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35821 (__ieee754_powl): Saturate large exponents rather than testing for
35822 overflow of y*log2(x).
35823 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35824 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35828 * math/s_ctan.c: Include <float.h>.
35829 (__ctan): Avoid internal overflow or cancellation in calculating
35831 * math/s_ctanf.c: Likewise.
35832 * math/s_ctanl.c: Likewise.
35833 * math/s_ctanh.c: Likewise.
35834 * math/s_ctanhf.c: Likewise.
35835 * math/s_ctanhl.c: Likewise.
35836 * math/libm-test.inc (ctan_test): Add more tests.
35837 (ctanh_test): Likewise.
35838 * sysdeps/i386/fpu/libm-test-ulps: Update.
35839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35841 2012-04-09 Andreas Jaeger <aj@suse.de>
35844 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35845 is an optional BSD extension.
35848 * manual/stdio.texi (Opening Streams): Document additional fopen
35851 2012-04-09 Roland McGrath <roland@hack.frob.com>
35853 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35854 %eax without telling the compiler.
35856 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35859 * manual/install.texi: Use sourceware.org.
35861 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35864 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35865 (__ieee754_pow): Generate overflow and underflow using huge*huge
35866 and tiny*tiny rather than just returning constant infinity or zero
35867 for large exponents.
35868 * math/libm-test.inc (pow_test): Require overflow exceptions for
35869 applicable cases of large exponents.
35872 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35873 (__ieee754_pow): Use iterative multiplication algorithm only for
35874 integer exponents with absolute value below 1024. Check for odd
35875 integer exponents when using algorithm for real exponents.
35876 * math/libm-test.inc (pow_test): Add more tests.
35877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35879 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35882 * math/libm-test.inc (exp_test): Do not allow overflow exception
35885 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35888 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35889 instead of __kernel_standard_f.
35891 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35893 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35894 * sysdeps/x86_64/memset_chk.S: Likewise.
35896 2012-04-08 Andreas Jaeger <aj@suse.de>
35899 * manual/startup.texi (Environment Access): Describe return value
35900 for putenv and setenv.
35903 * manual/filesys.texi (Directory Entries): Add description for
35907 * manual/filesys.texi (Directory Entries): Clarify that it's file
35908 system not operating system in the description of DT_UNKNOWN.
35911 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35913 2012-04-08 Stephen Compall <s11@member.fsf.org>
35916 * manual/llio.texi (Opening and Closing Files): Add cross
35917 reference to explain mode argument.
35919 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35921 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35922 * sysdeps/x86_64/memset_chk.S: Likewise.
35924 2012-04-07 David S. Miller <davem@davemloft.net>
35926 * elf/elf.h (R_SPARC_WDISP10): Define.
35927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35930 R_SPARC_SIZE64 and R_SPARC_H34.
35932 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35935 conditions and remove no longer applicable assertion.
35937 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35939 * bits/byteswap.h: Include <features.h>.
35940 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35941 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35943 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35945 * bits/byteswap.h (__bswap_16): Removed.
35946 Include <bits/byteswap-16.h> to get __bswap_16.
35947 * sysdeps/i386/bits/byteswap.h: Likewise.
35948 * sysdeps/s390/bits/byteswap.h: Likewise.
35949 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35950 * bits/byteswap-16.h: New file.
35951 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35952 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35953 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35954 * string/Makefile (headers): Add bits/byteswap-16.h.
35956 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35959 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35961 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35962 * nss/tst-nss-static.c: New.
35964 2012-04-06 Robert Millan <rmh@gnu.org>
35967 * manual/llio.texi (File Position Primitive): lseek
35968 refers to WHENCE when it really means OFFSET.
35970 2012-04-06 Andreas Jaeger <aj@suse.de>
35972 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35973 strncmp declarations.
35975 * abilist/libc.abilist: Add __poll and __ppoll.
35977 2012-04-05 David S. Miller <davem@davemloft.net>
35979 * scripts/check-local-headers.sh: Accept a host triplet in the
35980 path matched by the exclude regexp.
35982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35984 * sysdeps/powerpc/powerpc32/dl-machine.h
35985 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35986 * sysdeps/s390/s390-32/dl-machine.h
35987 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35988 * sysdeps/sparc/sparc32/dl-machine.h
35989 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35990 * sysdeps/sparc/sparc64/dl-machine.h
35991 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35993 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35995 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35996 undefined symbol errors.
35998 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36001 2012-04-05 Michael Matz <matz@suse.de>
36004 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36006 2012-04-05 Andreas Jaeger <aj@suse.de>
36009 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36012 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36014 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36015 which ROUND is no valid rounding mode.
36017 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36019 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36021 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36023 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36025 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36026 an exception using FPU order intentionally.
36028 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36030 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36031 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36032 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36033 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36035 2012-04-05 Simon Josefsson <simon@josefsson.org>
36038 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36039 EINVAL when BUFLEN is too smal.
36041 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36044 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36045 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36047 2012-04-03 Andreas Jaeger <aj@suse.de>
36050 * manual/setjmp.texi (System V contexts): Fix sentence.
36053 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36054 New macro for this case.
36055 [!__GNUC__] (__bswap_64): New inline function for this case.
36056 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36057 * bits/byteswap.h: Likewise.
36058 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36059 ull, guard with __GLIBC_HAVE_LONG_LONG.
36061 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36062 __GLIBC_HAVE_LONG_LONG.
36064 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36065 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36067 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36070 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36071 inptr and inend, rather than using last_ch.
36073 2012-04-02 David S. Miller <davem@davemloft.net>
36075 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36076 * stdio-common/printf-parse.h (read_int): Change return type to
36077 'int', return -1 on INT_MAX overflow.
36078 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36079 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36080 overflows INT_MAX. Check for overflow of in-format-string precision
36081 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36082 SIZE_MAX not INT_MAX for integer overflow test.
36083 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36084 skip the construct in the format string but do not record anything.
36085 * stdio-common/bug22.c: Adjust to test both width/prevision
36086 INT_MAX overflow as well as total length INT_MAX overflow. Check
36087 explicitly for proper errno values.
36089 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36091 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36093 * string/test-strcmp.c [! WIDE]: Likewise.
36094 * time/tst-mktime2.c: Likewise for INT_MAX.
36095 * string/test-string.h: #include <sys/param.h> for MIN.
36097 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36098 * sysdeps/i386/init-first.c (init): Likewise.
36099 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36100 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36101 * sysdeps/sh/init-first.c (init): Likewise.
36103 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36105 * po/ru.po: Update from translation team.
36106 * po/vi.po: Likewise.
36108 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36110 * resolv/nss_dns/dns-host.c: Merge copyright years.
36112 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36115 Optimize memcpy with prefetch if
36116 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36117 src, dst pointers have unequal 16 byte alignments.
36119 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36122 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36123 from a CNAME entry and return the minimum ttl for the query.
36124 (gaih_getanswer_slice): Likewise.
36126 2012-03-30 Jeff Law <law@redhat.com>
36128 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36130 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36131 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36133 * resolv/nss_dns/dns-host.c: Update copyright year.
36135 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36137 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36138 requests to save a system call. Fix check that all bytes are sent.
36140 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36141 comments for sendmmsg.
36143 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36146 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36147 with only 1 character between 0x0041 and 0x01b0.
36148 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36149 * wcsmbs/tst-mbsnrtowcs.c: New file.
36151 2012-03-29 David S. Miller <davem@davemloft.net>
36153 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36154 small copies by hand.
36156 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36159 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36160 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36163 2012-03-28 David S. Miller <davem@davemloft.net>
36165 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36166 that branches into memcpy.
36167 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36170 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36173 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36174 implementation too.
36175 * sysdeps/sparc/mempcpy.S: New file.
36177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36178 the IFUNC routine in the libc case.
36179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36181 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36182 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36183 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36184 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36185 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36186 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36187 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36188 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36190 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36191 loop to 256 bytes instead of 64 bytes and fix test signedness.
36193 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36194 * sysdeps/sparc/sparc32/Makefile: rather than here...
36195 * sysdeps/sparc/sparc64/Makefile: and here.
36197 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36199 * malloc/mallocbug.c: Avoid warnings about unused variables.
36201 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36204 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36205 in the right place. Discard and retry query if response is
36206 larger than input buffer size.
36208 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36213 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36214 x for large integer exponent.
36215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36217 sign of result as needed afterwards.
36218 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36219 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36220 result for underflowing pow the same as for overflow.
36221 (__kernel_standard_l): Handle powl overflow and underflow here
36222 rather than calling __kernel_standard.
36223 * math/libm-test.inc (pow_test): Add more tests.
36238 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36239 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36240 (__kernel_standard_l): New function.
36241 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36243 * math/w_acosl.c (__acosl): Likewise.
36244 * math/w_asinl.c (__asinl): Likewise.
36245 * math/w_atan2l.c (__atan2l): Likewise.
36246 * math/w_atanhl.c (__atanhl): Likewise.
36247 * math/w_coshl.c (__coshl): Likewise.
36248 * math/w_exp10l.c (__exp10l): Likewise.
36249 * math/w_exp2l.c (__exp2l): Likewise.
36250 * math/w_fmodl.c (__fmodl): Likewise.
36251 * math/w_hypotl.c (__hypotl): Likewise.
36252 * math/w_j0l.c (__j0l, __y0l): Likewise.
36253 * math/w_j1l.c (__j1l, __y1l): Likewise.
36254 * math/w_jnl.c (__jnl, __ynl): Likewise.
36255 * math/w_lgammal.c (__lgammal): Likewise.
36256 * math/w_log10l.c (__log10l): Likewise.
36257 * math/w_log2l.c (__log2l): Likewise.
36258 * math/w_logl.c (__logl): Likewise.
36259 * math/w_powl.c (__powl): Likewise.
36260 * math/w_remainderl.c (__remainderl): Likewise.
36261 * math/w_scalbl.c (sysv_scalbl): Likewise.
36262 * math/w_sinhl.c (__sinhl): Likewise.
36263 * math/w_sqrtl.c (__sqrtl): Likewise.
36264 * math/w_tgammal.c (__tgammal): Likewise.
36265 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36266 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36267 * math/libm-test.inc (acos_test): Add more tests.
36268 (acosh_test): Likewise.
36269 (asin_test): Likewise.
36270 (atanh_test): Likewise.
36271 (exp_test): Likewise.
36272 (exp10_test): Likewise.
36273 (exp2_test): Likewise.
36274 (expm1_test): Likewise.
36275 (lgamma_test): Likewise.
36276 (log_test): Likewise.
36277 (log10_test): Likewise.
36278 (log1p_test): Likewise.
36279 (log2_test): Likewise.
36280 (pow_test): Do not allow some spurious overflow exceptions.
36281 (sqrt_test): Add more tests.
36282 (tgamma_test): Likewise.
36283 (y0_test): Likewise.
36284 (y1_test): Likewise.
36285 (yn_test): Likewise.
36287 2012-03-27 Anton Blanchard <anton@samba.org>
36289 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36292 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36295 2012-03-27 David S. Miller <davem@davemloft.net>
36297 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36299 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36300 have-as-vis3 check.
36302 2012-03-27 Andreas Jaeger <aj@suse.de>
36304 * sysdeps/x86_64/elf/configure.in: Moved to ...
36305 * sysdeps/x86_64/configure.in: ... here.
36306 * sysdeps/x86_64/elf/start.S: Moved to ...
36307 * sysdeps/x86_64/start.S: ... here.
36308 * sysdeps/x86_64/elf/configure: Delete.
36310 * sysdeps/x86_64/configure.in: Merge contents from
36311 sysdeps/i386/configure.in (without i686 check).
36313 * sysdeps/i386/elf/Versions: Merge into ...
36314 * sysdeps/i386/Versions: ... this.
36315 * sysdeps/i386/elf/Versions: Delete file.
36316 * sysdeps/i386/elf/start.S: Moved to ...
36317 * sysdeps/i386/start.S: ...here.
36318 * sysdeps/i386/elf/configure.in: Merge into...
36319 * sysdeps/i386/configure.in: ...here.
36320 * sysdeps/i386/elf/configure.in: Delete file.
36321 * sysdeps/i386/elf/configure: Delete file.
36323 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36324 * debug/backtracesyms.c: ... here.
36325 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36326 * debug/backtracesymsfd.c: ... here.
36327 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36328 * sysdeps/generic/ifunc-sel.h: ... here.
36330 * sysdeps/unix/i386/start.c: Delete file.
36331 * sysdeps/unix/sparc/start.c: Delete file.
36332 * sysdeps/unix/start.c: Delete file.
36334 * sysdeps/sh/elf/configure.in: Moved to ...
36335 * sysdeps/sh/configure.in: ... here.
36336 * sysdeps/sh/elf/start.S: Moved to ...
36337 * sysdeps/sh/start.S: ... here.
36338 * sysdeps/sh/elf/configure: Delete file.
36340 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36341 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36342 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36343 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36344 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36345 * sysdeps/powerpc/powerpc64/start.S: here.
36346 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36347 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36348 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36349 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36350 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36352 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36353 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36354 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36355 * sysdeps/powerpc/powerpc32/start.S: ... here.
36356 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36357 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36358 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36360 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36361 * sysdeps/powerpc/ifunc-sel.h: ... here.
36362 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36363 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36365 * sysdeps/sparc/elf/configure.in: Moved to ...
36366 * sysdeps/sparc/configure.in: ... here.
36367 * sysdeps/sparc/elf/configure: Delete file.
36368 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36369 * sysdeps/sparc/sparc32/start.S: ... here.
36370 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36371 * sysdeps/sparc/sparc64/start.S: ... here.
36372 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36373 * sysdeps/sparc/sparc32/Makefile: ... this.
36374 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36375 * sysdeps/sparc/sparc64/Makefile: ... this.
36377 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36378 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36379 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36380 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36381 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36382 * sysdeps/s390/s390-32/setjmp.S: ... here.
36383 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36384 * sysdeps/s390/s390-32/configure.in: ... here.
36385 * sysdeps/s390/s390-32/elf/configure: Delete file.
36386 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36387 * sysdeps/s390/s390-32/start.S: ... here.
36389 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36390 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36391 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36392 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36393 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36394 * sysdeps/s390/s390-64/setjmp.S: ... here.
36395 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36396 * sysdeps/s390/s390-64/configure.in: ... here
36397 * sysdeps/s390/s390-64/elf/configure: Delete file.
36398 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36399 * sysdeps/s390/s390-64/start.S: ... here.
36400 * sysdeps/s390/s390-64/elf/configure: Delete.
36402 * configure.in: Remove support for elf directories in sysdeps.
36404 * configure: Regenerated.
36405 * sysdeps/i386/configure: Regenerated.
36406 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36407 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36408 * sysdeps/s390/s390-32/configure: Regenerated.
36409 * sysdeps/s390/s390-64/configure: Regenerated.
36410 * sysdeps/sh/configure: Regenerated.
36411 * sysdeps/sparc/configure: Regenerated.
36412 * sysdeps/x86_64/configure: Regenerated.
36414 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36419 denormal result into account.
36421 2012-03-25 Roland McGrath <roland@hack.frob.com>
36423 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36424 Reported by Allan McRae <allan@archlinux.org>.
36426 2012-03-23 Jeff Law <law@redhat.com>
36428 * nss/getnssent.c (__nss_getent): Fix typo.
36430 2012-03-23 David S. Miller <davem@davemloft.net>
36432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36434 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36436 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36437 to pad to uint64_t for each field.
36438 (dl_tls_index): Replace unsigned long with uint64_t.
36440 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36441 Paul Pluzhnikov <ppluzhnikov@google.com>
36444 * grp/Makefile (otherlibs): Don't set it.
36445 * inet/Makefile (otherlibs): Likewise.
36446 * login/Makefile (otherlibs): Likewise.
36447 * nscd/Makefile (otherlibs): Likewise.
36448 * posix/Makefile (otherlibs): Likewise.
36449 * pwd/Makefile (otherlibs): Likewise.
36450 * rt/Makefile (otherlibs): Likewise.
36451 * sunrpc/Makefile (otherlibs): Likewise.
36452 * nss/Makefile (otherlibs): Likewise.
36453 Add libnss_files to routines and static-only-routines.
36454 ($(objpfx)getent): Remove rule.
36455 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36456 static-only-routines.
36458 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36461 * math/s_cexp.c: Include <float.h>.
36462 (__cexp): Handle exp result overflowing not necessarily
36463 overflowing both real and imaginary parts of result.
36464 * math/s_cexpf.c: Likewise.
36465 * math/s_cexpl.c: Likewise.
36466 * math/libm-test.inc (cexp_test): Add more tests.
36467 * sysdeps/i386/fpu/libm-test-ulps: Update.
36468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36470 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36472 * include/link.h (ELFW): New macro.
36473 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36474 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36476 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36478 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36481 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36483 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36485 (struct La_x32_retval): Likewise.
36487 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36489 * sysdeps/x86_64/preconfigure.in: New file.
36490 * sysdeps/x86_64/preconfigure: New generated file.
36492 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36495 * math/e_exp2l.c: Include <float.h>.
36496 (__ieee754_exp2l): Handle overflow and underflow cases
36497 separately. Only pass fractional part of argument to
36499 * math/libm-test.inc (exp2_test): Add more tests.
36501 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36502 negating x to take absolute value.
36503 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36505 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36506 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36508 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36509 computing low part if x was negated.
36510 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36512 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36514 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36515 la_x32_gnu_pltexit.
36516 (pltexit): Cast int_retval to ptrdiff_t.
36517 * elf/tst-auditmod3b.c: Likewise.
36518 * elf/tst-auditmod4b.c: Likewise.
36519 * elf/tst-auditmod5b.c: Likewise.
36520 * elf/tst-auditmod6b.c: Likewise.
36521 * elf/tst-auditmod6c.c: Likewise.
36522 * elf/tst-auditmod7b.c: Likewise.
36524 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36525 and x32_gnu_pltexit.
36527 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36528 __ELF_NATIVE_CLASS.
36529 (La_x32_regs): New macro.
36530 (La_x32_retval): Likewise.
36531 (la_x32_gnu_pltenter): New function prototype.
36532 (la_x32_gnu_pltexit): Likewise.
36534 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36541 * configure.in (libc_cv_cc_nofma): Check for option to disable
36542 generation of FMA instructions.
36543 * configure: Regenerate.
36544 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36545 * sysdeps/ieee754/dbl-64/Makefile: New file.
36546 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36547 Remove brandred-fma4.
36548 (CFLAGS-brandred-fma4.c): Remove.
36549 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36550 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36552 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36555 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36557 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36558 LLONG_MAX != LONG_MAX.
36559 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36560 (_fitoa_word): Likewise.
36561 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36562 LLONG_MAX != LONG_MAX.
36563 * stdio-common/_itowa.h: Include <_itoa.h>.
36564 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36565 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36566 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36567 only if not defined.
36568 (_ITOA_WORD_TYPE): Likewise.
36569 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36570 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36572 2012-03-21 David S. Miller <davem@davemloft.net>
36574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36576 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36578 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36579 of x86_64 when setting libc_cv_slibdir, libdir and
36581 * sysdeps/unix/sysv/linux/configure: Regenerated.
36583 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36585 * manual/lang.texi (Old Varargs): Remove section.
36586 (How Variadic): Update menu.
36587 (va_start): Do not mention varargs.h.
36589 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36590 Joseph Myers <joseph@codesourcery.com>
36592 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36594 * configure: Regenerated.
36596 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36598 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36599 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36602 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36605 * Makefile (files-for-dist): Remove NOTES.
36606 (NOTES): Remove rule.
36607 * README: Don't refer to NOTES.
36608 * manual/creature.texi: Don't include macros.texi.
36609 * manual/intro.texi (creature.texi): Remove comment referring to
36612 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36613 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36614 * configure: Regenerated.
36615 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36616 LIBC_TRY_CC_OPTION.
36617 (libc_cv_as_i686): Likewise.
36618 (libc_cv_cc_avx): Likewise.
36619 (libc_cv_cc_sse2avx): Likewise.
36620 (libc_cv_cc_fma4): Likewise.
36621 (libc_cv_cc_novzeroupper): Likewise.
36622 * sysdeps/i386/configure: Regenerated.
36625 * sysdeps/i386/fpu/s_cexp.S: Remove.
36626 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36627 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36628 * math/libm-test.inc (cexp_test): Add more tests.
36629 * sysdeps/i386/fpu/libm-test-ulps: Update.
36630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36632 2012-03-21 Allan McRae <allan@archlinux.org>
36634 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36636 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36639 * math/w_exp2.c: Do not include <float.h>.
36640 (o_threshold, u_threshold): Remove.
36641 (__exp2): Calculate result before checking finiteness and calling
36643 * math/w_exp2f.c: Likewise.
36644 * math/w_exp2l.c: Likewise.
36645 * math/libm-test.inc (exp2_test): Require overflow exception for
36649 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36650 range of signed 64-bit integers before using fistpll. Remove
36651 checks for whether integers fit in mantissa bits.
36652 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36653 the range of signed 32-bit integers before using fistpl. Remove
36654 checks for whether integers fit in mantissa bits.
36655 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36656 (__ieee754_powl): Test for y outside the range of signed 64-bit
36657 integers before using fistpll. Reduce 64-bit values to 63-bit
36659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36660 divide-by-zero is raised for zero to large negative powers.
36661 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36662 (__ieee754_powl): Test for y outside the range of signed 64-bit
36663 integers before using fistpll. Reduce 64-bit values to 63-bit
36665 * math/libm-test.inc (pow_test): Add more tests.
36667 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36669 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36670 <stdio-common/_itoa.h>.
36671 * debug/segfault.c: Likewise.
36672 * elf/dl-cache.c: Likewise.
36673 * elf/dl-minimal.c: Likewise.
36674 * elf/dl-misc.c: Likewise.
36675 * elf/dl-sysdep.c: Likewise.
36676 * elf/dl-version.c: Likewise.
36677 * elf/rtld.c: Likewise.
36678 * hurd/hurdsock.c: Likewise.
36679 * hurd/lookup-retry.c: Likewise.
36680 * malloc/malloc.c: Likewise.
36681 * malloc/mtrace.c: Likewise.
36682 * nscd/nscd_getgr_r.c: Likewise.
36683 * nscd/nscd_getpw_r.c: Likewise.
36684 * nscd/nscd_getserv_r.c: Likewise.
36685 * posix/getopt_init.c: Likewise.
36686 * posix/wordexp.c: Likewise.
36687 * stdio-common/_itoa.c: Likewise.
36688 * stdio-common/printf_fphex.c: Likewise.
36689 * stdio-common/vfprintf.c: Likewise.
36690 * string/_strerror.c: Likewise.
36691 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36692 * sysdeps/i386/i686/hp-timing.h: Likewise.
36693 * sysdeps/mach/_strerror.c: Likewise.
36694 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36695 * sysdeps/mach/hurd/sethostid.c: Likewise.
36696 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36697 * sysdeps/mach/xpg-strerror.c: Likewise.
36698 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36699 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36700 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36701 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36702 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36703 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36704 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36705 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36706 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36707 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36708 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36709 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36710 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36711 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36712 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36713 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36714 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36715 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36716 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36717 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36718 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36720 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36722 * stdio-common/_itoa.h: Moved to ...
36723 * sysdeps/generic/_itoa.h: Here.
36725 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36727 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36728 instead of "_itoa.h" and "_itowa.h".
36729 * stdio-common/vfprintf.: Likewise.
36731 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36733 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36735 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36736 (__signbit): Likwise.
36737 (llrintf): Likwise.
36740 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36742 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36745 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36747 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36748 OVERFLOW_EXCEPTION_OK.
36749 * math/libm-test.inc ("Philosophy"): Update comment about
36751 (OVERFLOW_EXCEPTION): Define.
36752 (OVERFLOW_EXCEPTION_OK): Likewise.
36753 (INVALID_EXCEPTION_OK): Renumber.
36754 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36755 (IGNORE_ZERO_INF_SIGN): Likewise.
36756 (test_exceptions): Handle FE_OVERFLOW.
36757 (exp10_test): Expect overflow exceptions.
36758 (exp2_test): Likewise.
36759 (expm1_test): Likewise.
36760 (nextafter_test): Likewise.
36761 (pow_test): Likewise.
36762 (scalbn_test): Likewise.
36763 (scalbln_test): Likewise.
36765 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36767 * sysdeps/x86_64/bits/atomic.h
36768 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36770 (atomic_exchange_acq): Likewise.
36771 (__arch_exchange_and_add_body): Likewise.
36772 (__arch_add_body): Likewise.
36773 (atomic_add_negative): Likewise.
36774 (atomic_add_zero): Likewise.
36776 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36778 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36779 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36781 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36783 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36784 Check __x86_64__ instead of __WORDSIZE.
36786 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36788 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36790 2012-03-19 David S. Miller <davem@davemloft.net>
36792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36794 * sysdeps/sparc/fpu/fenv_private.h: New file.
36795 * sysdeps/sparc/fpu/math_private.h: Use it.
36796 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36798 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36799 (libc_feholdexcept_setroundl): Remove.
36800 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36802 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36803 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36807 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36808 int64_t instead of long int.
36809 (INSERT_WORDS64): Likwise.
36811 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36813 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36814 _Unwind_GetCFA return to _Unwind_Ptr first.
36816 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36819 * math/s_clog.c: Include <float.h>.
36820 (__clog): Scale large or subnormal inputs.
36821 * math/s_clogf.c: Likewise.
36822 * math/s_clogl.c: Likewise.
36823 * math/s_clog10.c: Include <float.h>.
36824 (M_LOG10_2): Define.
36825 (__clog10): Scale large or subnormal inputs.
36826 * math/s_clog10f.c: Likewise.
36827 * math/s_clog10l.c: Likewise.
36828 * math/libm-test.inc (clog_test): Add more tests.
36829 (clog10_test): Likewise.
36830 * sysdeps/i386/fpu/libm-test-ulps: Update.
36831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36834 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36836 * math/libm-test.inc (atan2_test): Add another test.
36838 * Makerules (common-objdir-compile): Remove.
36839 * sysdeps/unix/Makefile (config-generated): Do not add
36840 $(unix-generated) to variable.
36841 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36842 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36844 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36846 [generic bits/local_lim.h] (before-compile): Do not append to
36848 [generic bits/local_lim.h] (common-generated): Likewise.
36849 [generic sys/param.h] (before-compile): Do not append to variable.
36850 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36851 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36852 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36853 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36855 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36856 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36857 [generic sys/param.h] ($(addprefix
36858 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36859 [generic sys/param.h] (common-generated): Do not append to
36861 [generic sys/param.h] (sysdep_headers): Likewise.
36862 [generic bits/errno.h] (before-compile): Do not append to
36864 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36866 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36867 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36868 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36869 [generic bits/errno.h] (common-generated): Do not append to
36871 [generic bits/ioctls.h] (before-compile): Do not append to
36873 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36875 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36876 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36877 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36879 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36880 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36881 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36882 [generic bits/ioctls.h] (common-generated): Do not append to
36884 [generic sys/syscall.h] (syscall.h): Remove variable.
36885 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36887 [generic sys/syscall.h] (before-compile): Do not append to
36889 [generic sys/syscall.h] (common-generated): Likewise.
36890 * sysdeps/unix/errnos-tmpl.c: Remove file.
36891 * sysdeps/unix/errnos.awk: Likewise.
36892 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36893 * sysdeps/unix/ioctls.awk: Likewise.
36894 * sysdeps/unix/mk-local_lim.c: Likewise.
36895 * sysdeps/unix/snarf-ioctls: Likewise.
36897 2012-03-19 Richard Henderson <rth@twiddle.net>
36899 * sysdeps/i386/fpu/fenv_private.h: New file.
36900 * sysdeps/i386/fpu/math_private.h: Use it.
36901 (math_opt_barrier, math_force_eval): Remove.
36902 (libc_feholdexcept_setround_53bit): Remove.
36903 (libc_feupdateenv_53bit): Remove.
36904 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36905 (math_opt_barrier, math_force_eval): Remove.
36906 (libc_feholdexcept): Remove.
36907 (libc_feholdexcept_setround): Remove.
36908 (libc_fetestexcept, libc_fesetenv): Remove.
36909 (libc_feupdateenv_test): Remove.
36910 (libc_feupdateenv, libc_feholdsetround): Remove.
36911 (libc_feresetround): Remove.
36913 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36914 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36916 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36917 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36918 (libc_feupdateenv_testl): New.
36919 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36920 (libc_feupdateenv_testf): New.
36921 (libc_feupdateenv): Use libc_feupdateenv_test.
36922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36925 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36926 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36927 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36928 (libc_feresetround_noex): New.
36929 (libc_feresetround_noexf): New.
36930 (libc_feresetround_noexl): New.
36931 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36932 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36933 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36934 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36936 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36939 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36940 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36941 SET_RESTORE_ROUND_NOEX.
36942 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36943 SET_RESTORE_ROUND_NOEXF.
36944 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36945 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36946 (libc_feholdsetroundf): New.
36947 (libc_feresetround, libc_feresetroundf): New.
36949 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36950 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36951 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36953 * sysdeps/generic/math_private.h: Include <fenv.h>.
36954 (default_libc_feholdexcept): New.
36955 (default_libc_feholdexcept_setround): New.
36956 (default_libc_fesetenv, default_libc_feupdateenv): New.
36957 (libc_feholdexcept): Only define if undefined.
36958 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36959 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36960 (libc_feholdexcept_setroundl): Likewise.
36961 (libc_feholdexcept_setround_53bit): Likewise.
36962 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36963 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36964 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36965 (libc_feupdateenv_53bit): Likewise.
36966 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36967 (libc_feholdexcept): Convert from macro to inline function.
36968 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36969 (libc_fesetenv, libc_feupdateenv): Likewise.
36971 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36972 not previously defined.
36973 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36974 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36975 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36976 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36977 * sysdeps/ieee754/flt-32/math_private.h: New file.
36978 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36979 math_private.h below SET_FLOAT_WORD.
36980 (__isnan, __isinf_ns, __finite): Remove.
36981 (__isnanf, __isinf_nsf, __finitef): Remove.
36983 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36987 2012-03-17 David S. Miller <davem@davemloft.net>
36990 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36993 2012-03-16 David S. Miller <davem@davemloft.net>
36995 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37001 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37002 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37003 sysdep_routines when subdir is sysvipc.
37004 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37005 __getshmlba helper.
37007 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37009 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37011 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37014 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37016 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37017 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37018 (__lround): Renamed to ...
37019 (__llround): This. Replace long int with long long int.
37020 Define lround functions as aliases of llround functions.
37021 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37023 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37025 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37026 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37027 adresses to uintptr_t. Replace "long int" and "unsigned long
37028 int" with "greg_t" on va_arg.
37030 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37032 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37033 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37035 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37036 Move e_machine check before EI_CLASS check. Handle x32
37037 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37038 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37039 SKIP_EM_IA_64 and include
37040 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37042 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37043 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37044 (add_system_dir): New macro.
37046 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37047 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37049 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37060 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37062 * math/w_j0f.c (j0f): Likewise.
37064 * math/w_j0l.c (__j0l): Likewise.
37066 * math/w_j1.c (j1): Likewise.
37068 * math/w_j1f.c (j1f): Likewise.
37070 * math/w_j1l.c (__j1l): Likewise.
37072 * math/w_jn.c (jn): Likewise.
37074 * math/w_jnf.c (jnf): Likewise.
37076 * math/w_jnl.c (__jnl): Likewise.
37078 * math/libm-test.inc (j0_test): Add more tests.
37079 (j1_test): Likewise.
37080 (jn_test): Likewise. Add trailing semicolon to existing test.
37081 (y0_test): Likewise.
37082 (y1_test): Likewise.
37083 * sysdeps/i386/fpu/libm-test-ulps: Update.
37084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37088 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37089 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37090 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37092 (__tanl): Set errno for infinite argument.
37093 * sysdeps/i386/fpu/mptan.c: Remove.
37094 * sysdeps/i386/fpu/s_tan.S: Likewise.
37095 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37096 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37097 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37098 * math/libm-test.inc (tan_test): Add more tests and enable more
37099 tests for double and long double.
37100 * sysdeps/i386/fpu/libm-test-ulps: Update.
37101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37103 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37105 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37106 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37108 2012-03-16 Roland McGrath <roland@hack.frob.com>
37110 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37111 * configure.in: Use it for both main tree and add-ons.
37112 * configure: Regenerated.
37114 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37116 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37118 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37120 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37124 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37125 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37130 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37132 != 0 for prec == 2.
37133 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37134 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37135 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37136 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37137 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37138 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37139 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37140 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37141 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37142 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37143 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37144 * math/libm-test.inc (cos_test): Add more tests and enable more
37145 tests for long double.
37146 (sin_test): Likewise.
37147 (sincos_test): Likewise.
37148 * sysdeps/i386/fpu/libm-test-ulps: Update.
37149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37151 2012-03-16 David S. Miller <davem@davemloft.net>
37153 * sysdeps/sparc/fpu/math_private.h: New file.
37155 2012-03-15 David S. Miller <davem@davemloft.net>
37157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37171 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37172 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37174 * sysdeps/sparc/sparc-ifunc.h: New file.
37175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37220 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37222 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37226 2012-03-15 Andreas Jaeger <aj@suse.de>
37229 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37230 ieee754/flt-32 implementation for sin, cos and sincos.
37231 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37232 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37233 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37234 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37235 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37236 ieee754/flt-32 implementation for tan.
37238 * math/libm-test.inc (cos_test): Enable some large input tests for
37240 (sin_test): Likewise.
37241 (sincos_test): Likewise.
37242 (tan_test): Add tests for large input.
37244 * sysdeps/i386/fpu/libm-test-ulps: Update.
37246 2012-03-15 Andreas Jaeger <aj@suse.de>
37249 * math/libm-test.inc (cos_test): Add more test cases.
37250 (sin_test): Likewise.
37251 (sincos_test): Likewise.
37253 2012-03-15 Andreas Jaeger <aj@suse.de>
37256 * math/libm-test.inc (cos_test): Add a test case for large input
37258 (sin_test): Likewise.
37259 (sincos_test): Likewise.
37261 2012-03-15 Andreas Jaeger <aj@suse.de>
37262 Joseph Myers <joseph@codesourcery.com>
37265 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37266 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37267 * sysdeps/i386/fpu/branred.c: Likewise.
37268 * sysdeps/i386/fpu/dosincos.c: Likewise.
37269 * sysdeps/i386/fpu/mpa.c: Likewise.
37270 * sysdeps/i386/fpu/s_cos.S: Likewise.
37271 * sysdeps/i386/fpu/s_sin.S: Likewise.
37272 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37273 * sysdeps/i386/fpu/sincos32.c: Likewise.
37275 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37277 (libc_feupdateenv_53bit): Define.
37278 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37280 (libc_feupdateenv_53bit): Define.
37282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37283 53 bit (without extend i386 double precision).
37285 * math/libm-test.inc (sincos_test): Add tests for large input.
37289 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37291 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37295 2012-03-15 David S. Miller <davem@davemloft.net>
37297 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37298 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37299 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37300 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37325 fmin/fmax sysdep routines.
37326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37328 2012-03-14 David S. Miller <davem@davemloft.net>
37330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37402 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37407 * sysdeps/sparc/configure.in: New file.
37408 * sysdeps/sparc/configure: Generate.
37409 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37410 * configure: Regenerate.
37411 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37412 * config.make.in (have-as-vis3): New.
37413 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37414 available use -Av9d instead of -Av9a.
37415 * sysdeps/sparc/sparc64/Makefile: Likewise.
37416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37431 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37432 fzeros/fnegs to load 0x80000000 into a float register instead of
37434 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37436 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37440 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37441 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37442 ($(inst_includedir)/bits/syscall.h): Remove rule.
37443 ($(objpfx)bits/syscall.d): Include instead of
37444 $(objpfx)syscall-list.d.
37445 (generated): Change syscall-list.h and syscall-list.d to
37446 bits/syscall.h and bits/syscall.d.
37448 2012-03-14 Roland McGrath <roland@hack.frob.com>
37451 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37453 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37456 * math/s_csqrt.c: Include <float.h>.
37457 (__csqrt): Scale large or subnormal inputs.
37458 * math/s_csqrtf.c: Likewise.
37459 * math/s_csqrtl.c: Likewise.
37460 * math/libm-test.inc (csqrt_test): Add more tests.
37461 * sysdeps/i386/fpu/libm-test-ulps: Update.
37462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37465 * math/libm-test.inc (hypot_test): Add more tests.
37467 2012-03-13 David S. Miller <davem@davemloft.net>
37470 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37471 double-precision for the calculation instead of scaling.
37473 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37475 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37476 manipulate bits before adding and subtracting TWO52[sx].
37477 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37478 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37480 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37482 2012-03-13 David S. Miller <davem@davemloft.net>
37484 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37485 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37487 rtld-global-offsets.h
37488 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37490 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37493 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37495 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37496 'err' in the ifdef scope in which it is actually used.
37498 * nss/nss_db/db-init.c: Include string.h
37500 2012-03-12 David S. Miller <davem@davemloft.net>
37502 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37503 masking out of the most significant byte of random value used.
37504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37505 Fix coding style in previous change.
37507 * sysdeps/unix/sysv/linux/kernel-features.h
37508 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37509 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37511 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37514 2012-03-11 David S. Miller <davem@davemloft.net>
37516 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37517 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37519 for 'resultvar' otherwise things get truncated on 64-bit.
37521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37522 Fix masking out of the most significant byte of random value used.
37524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37526 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37530 2012-03-09 David S. Miller <davem@davemloft.net>
37532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37533 variables with appropriate CPP guards.
37534 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37535 from the frame pointer, not the stack pointer. Correct layout
37536 comments. Fix test on resulting framesize and the management of
37537 the outregs buffer for pltexit. Preserve floating point return
37538 values across _dl_call_pltexit call.
37539 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37540 framesize and the management of the outregs buffer for pltexit.
37541 Preserve floating point return values across _dl_call_pltexit
37543 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37544 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37545 (la_sparc64_gnu_pltexit): New functions.
37546 (print_exit): Fix format string for return register value.
37548 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37550 * sunrpc/Makefile (others): Add rpcgen.
37551 ($(objpfx)rpcgen): Remove special build rule and dependency on
37553 * sunrpc/rpcgen.c: New file.
37555 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37558 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37559 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37560 * sysdeps/i386/crti.S: Likewise.
37561 * sysdeps/i386/crtn.S: Likewise.
37562 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37563 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37564 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37565 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37566 * sysdeps/sh/crti.S: Likewise.
37567 * sysdeps/sh/crtn.S: Likewise.
37568 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37571 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37573 * locale/programs/locfile-kw.gperf: Likewise.
37574 * locale/programs/charmap-kw.h: Regenerated.
37575 * locale/programs/locfile-kw.h: Likewise.
37578 * intl/plural.y: Replace FSF snail mail address with URL.
37579 * intl/plural.c: Regenerated.
37581 2012-03-09 Richard Henderson <rth@twiddle.net>
37583 * include/math_private.h: Remove file.
37584 * math/math_private.h: Move file ...
37585 * sysdeps/generic/math_private.h: ... here.
37587 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37588 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37589 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37591 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37592 and <math_private.h>.
37593 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37594 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37595 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37596 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37597 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37642 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37648 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37650 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37651 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37652 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37675 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37676 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37681 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37682 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37683 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37684 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37686 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37687 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37688 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37689 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37690 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37691 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37692 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37693 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37694 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37695 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37696 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37697 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37698 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37699 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37700 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37701 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37703 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37704 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37705 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37706 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37707 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37708 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37709 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37710 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37712 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37713 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37714 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37715 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37716 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37717 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37718 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37719 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37720 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37721 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37722 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37723 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37724 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37725 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37726 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37727 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37728 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37729 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37730 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37731 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37732 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37733 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37734 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37735 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37736 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37737 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37738 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37739 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37740 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37741 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37742 * sysdeps/ieee754/k_standard.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37836 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37858 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37862 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37863 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37865 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37868 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37869 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37870 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37875 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37876 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37880 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37881 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37882 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37883 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37884 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37887 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37889 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37891 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37892 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37893 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37896 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37897 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37899 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37903 * sysdeps/ieee754/s_lib_version.c: Likewise.
37904 * sysdeps/ieee754/s_matherr.c: Likewise.
37905 * sysdeps/ieee754/s_signgam.c: Likewise.
37906 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37908 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37909 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37910 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37911 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37912 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37913 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37914 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37915 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37917 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37918 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37919 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37920 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37921 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37922 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37923 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37924 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37928 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37930 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37931 * sunrpc/rpc_main.c: Likewise.
37932 * sunrpc/rpc_svcout.c: Likewise.
37934 2012-03-09 David S. Miller <davem@davemloft.net>
37936 * include/math_private.h: New file.
37938 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37940 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37941 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37942 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37943 from <bits/socket_type.h>.
37944 (enum __socket_type): Don't define here.
37945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37947 bits/socket_type.h.
37950 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37951 checking __USE_GNU.
37953 * Makerules ($(inst_includedir)/%.h): New rule.
37954 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37955 (install-others): Remove variable setting.
37956 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37958 2012-03-08 Richard Henderson <rth@twiddle.net>
37960 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37961 from macro to inline function; merge with the
37962 !__LIBC_INTERNAL_MATH_INLINES version.
37963 (__ieee754_sqrtf): Likewise.
37965 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37966 to inline function.
37967 (__rintf, __floor, __floorf): Likewise.
37969 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37970 macro to inline function.
37971 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37973 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37974 not <math/math_private.h>.
37976 2012-03-08 David S. Miller <davem@davemloft.net>
37978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37980 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37982 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37984 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37986 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37987 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37989 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37991 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37992 be defined individually, they must be defined as a block. Define
37993 S for printing a string instead of hidint the different by using a
37994 macro for adding the 'l'.
37995 * stdio-common/tst-fphex-wide.c: Adjust.
37997 2012-03-07 Marek Polacek <polacek@redhat.com>
37999 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38001 2012-03-08 Marek Polacek <polacek@redhat.com>
38004 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38005 * stdio-common/tst-fphex.c: Define a few macros to make the
38006 test reusable. Use them.
38007 * stdio-common/tst-fphex-wide.c: New file.
38009 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38012 * manual/macros.texi (gnusystems): New macro.
38013 (nongnusystems): Likewise.
38014 (gnulinuxhurdsystems): Likewise.
38015 (gnuhurdsystems): Likewise..
38016 (gnulinuxsystems): Likewise.
38017 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38018 variants of the GNU system, not "GNU system".
38019 * manual/conf.texi: Likewise.
38020 * manual/errno.texi: Likewise. Update example of errno macro
38022 * manual/filesys.texi: Likewise.
38023 (getumask): Document as specific to GNU/Hurd.
38024 * manual/install.texi: Likewise. Reword some references to
38026 * manual/intro.texi: Likewise.
38027 * manual/io.texi: Likewise.
38028 (File Name Portability): Detail which constraints are inapplicable
38029 to all GNU systems and which are only inapplicable to GNU/Hurd.
38030 * manual/job.texi: Likewise.
38031 * manual/llio.texi: Likewise.
38032 (O_NOCTTY): Document as present on GNU/Linux.
38033 * manual/maint.texi: Likewise.
38034 * manual/memory.texi: Likewise.
38035 * manual/pattern.texi: Likewise.
38036 * manual/pipe.texi: Likewise.
38037 * manual/process.texi: Likewise.
38038 * manual/resource.texi: Likewise.
38039 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38041 * manual/setjmp.texi: Likewise.
38042 * manual/signal.texi: Likewise.
38043 * manual/startup.texi: Likewise.
38044 * manual/stdio.texi: Likewise.
38045 * manual/terminal.texi: Likewise.
38046 (ONLCR): Document as POSIX.
38047 (OXTABS): Document availability on GNU/Linux as XTABS.
38048 (ONOEOT): Document availability separately from other bits.
38049 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38050 * manual/time.texi: Likewise.
38051 * manual/users.texi: Likewise.
38052 * INSTALL: Regenerated.
38053 * sysdeps/gnu/errlist.c: Regenerated.
38055 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38056 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38057 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38059 * configure: Regenerated.
38061 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38063 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38064 default includes instead of AC_HEADER_CHECK.
38065 * sysdeps/i386/configure: Regenerated.
38068 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38069 * math/s_cacoshf.c (__cacoshf): Likewise.
38070 * math/s_cacoshl.c (__cacoshl): Likewise.
38071 * math/s_casinh.c (__casinh): Set signs of result from argument.
38072 * math/s_casinhf.c (__casinhf): Likewise.
38073 * math/s_casinhl.c (__casinhl): Likewise.
38074 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38075 (casinh_test): Add more tests.
38076 * sysdeps/i386/fpu/libm-test-ulps: Update.
38077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38079 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38081 * po/zh_TW.po: Update from translation team.
38083 * login/Makefile (distribute): Remove variable.
38084 * catgets/Makefile: Likewise.
38085 * mach/Makefile: Likewise.
38086 * malloc/Makefile: Likewise.
38087 * misc/Makefile: Likewise.
38088 * iconv/Makefile: Likewise.
38089 * nscd/Makefile: Likewise.
38090 * hurd/Makefile: Likewise.
38091 * manual/Makefile: Likewise.
38092 * locale/Makefile: Likewise.
38093 * intl/Makefile: Likewise.
38094 * conform/Makefile: Likewise.
38095 * nss/Makefile: Likewise.
38096 * time/Makefile: Likewise.
38097 * soft-fp/Makefile: Likewise.
38098 * dirent/Makefile: Likewise.
38099 * gmon/Makefile: Likewise.
38100 * po/Makefile: Likewise.
38101 * rt/Makefile: Likewise.
38102 * socket/Makefile: Likewise.
38103 * math/Makefile: Likewise.
38104 * signal/Makefile: Likewise.
38105 * debug/Makefile: Likewise.
38106 * elf/Makefile: Likewise.
38107 * timezone/Makefile: Likewise.
38108 * stdlib/Makefile: Likewise.
38109 * iconvdata/Makefile: Likewise.
38110 * sunrpc/Makefile: Likewise.
38111 * io/Makefile: Likewise.
38112 * argp/Makefile: Likewise.
38113 * inet/Makefile: Likewise.
38114 * hesiod/Makefile: Likewise.
38115 * grp/Makefile: Likewise.
38116 * csu/Makefile: Likewise.
38117 * wctype/Makefile: Likewise.
38118 * crypt/Makefile: Likewise.
38119 * libio/Makefile: Likewise.
38120 * string/Makefile: Likewise.
38121 * nis/Makefile: Likewise.
38122 * resolv/Makefile: Likewise.
38123 * stdio-common/Makefile: Likewise.
38124 * wcsmbs/Makefile: Likewise.
38125 * dlfcn/Makefile: Likewise.
38126 * posix/Makefile: Likewise.
38129 * timezone/Makefile: Don't install timezone files, just the programs
38132 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38134 * nss/databases.def: Add missing gshadow entry.
38136 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38138 2012-03-06 Marek Polacek <polacek@redhat.com>
38141 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38142 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38143 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38144 * stdio-common/tst-long-dbl-fphex.c: New file.
38146 2012-03-06 David S. Miller <davem@davemloft.net>
38148 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38149 (set_obp_int): New function.
38150 (get_obp_int): New function.
38151 (__get_clockfreq_via_dev_openprom): Likewise.
38152 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38153 Avoid unused variable warnings on 'val' and use builtin_expect.
38154 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38156 (INLINE_CLONE_SYSCALL): Likewise.
38158 2012-03-05 David S. Miller <davem@davemloft.net>
38160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38162 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38166 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38167 only for |x| >= 40.
38168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38170 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38173 Replace gettimeofday with __vdso_gettimeofday.
38175 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38176 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38177 __vdso_clock_gettime and __vdso_getcpu.
38179 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38180 time with __vdso_time.
38182 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38184 * manual/lang.texi (size_t): Note types to which size_t may be
38185 equivalent with the GNU C Library, but do not describe when
38186 differences between them are significant.
38188 2012-03-05 Andreas Jaeger <aj@suse.de>
38190 * sysdeps/i386/fpu/libm-test-ulps: Update.
38192 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38195 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38196 (__ieee754_pow): Save and restore rounding mode and use
38197 round-to-nearest for main computations.
38198 * math/libm-test.inc (pow_test_tonearest): New function.
38199 (pow_test_towardzero): Likewise.
38200 (pow_test_downward): Likewise.
38201 (pow_test_upward): Likewise.
38202 (main): Call the new functions.
38203 * sysdeps/i386/fpu/libm-test-ulps: Update.
38204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38207 * math/libm-test.inc (cosh_test_tonearest): New function.
38208 (cosh_test_towardzero): Likewise.
38209 (cosh_test_downward): Likewise.
38210 (cosh_test_upward): Likewise.
38211 (sinh_test_tonearest): Likewise.
38212 (sinh_test_towardzero): Likewise.
38213 (sinh_test_downward): Likewise.
38214 (sinh_test_upward): Likewise.
38215 (main): Call the new functions.
38216 * sysdeps/i386/fpu/libm-test-ulps: Update.
38217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38219 2012-03-05 Tom de Vries <tom@codesourcery.com>
38221 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38222 default stack guard is set in last bytes.
38223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38225 2012-03-05 Kees Cook <keescook@chromium.org>
38227 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38230 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38231 possibly allocate from heap instead of stack.
38232 * stdio-common/bug-vfprintf-nargs.c: New file.
38233 * stdio-common/Makefile (tests): Add nargs overflow test.
38235 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38239 2012-03-03 Marek Polacek <polacek@redhat.com>
38241 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38242 * math/math_private.h: Likewise.
38243 * stdlib/tst-strtod.c: Likewise.
38244 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38245 * sysdeps/x86_64/bits/atomic.h: Likewise.
38247 2012-03-02 David S. Miller <davem@davemloft.net>
38249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38253 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38254 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38255 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38256 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38258 2012-03-02 Roland McGrath <roland@hack.frob.com>
38261 * manual/examples/README: New file, says the example source files
38262 can be used under GPL>=2.
38263 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38264 line containing just "*/".
38265 * manual/examples/add.c: Add copyright header (GPL>=2).
38266 * manual/examples/argp-ex1.c: Likewise.
38267 * manual/examples/argp-ex2.c: Likewise.
38268 * manual/examples/argp-ex3.c: Likewise.
38269 * manual/examples/argp-ex4.c: Likewise.
38270 * manual/examples/atexit.c: Likewise.
38271 * manual/examples/db.c: Likewise.
38272 * manual/examples/dir.c: Likewise.
38273 * manual/examples/dir2.c: Likewise.
38274 * manual/examples/execinfo.c: Likewise.
38275 * manual/examples/filecli.c: Likewise.
38276 * manual/examples/filesrv.c: Likewise.
38277 * manual/examples/fmtmsgexpl.c: Likewise.
38278 * manual/examples/genpass.c: Likewise.
38279 * manual/examples/inetcli.c: Likewise.
38280 * manual/examples/inetsrv.c: Likewise.
38281 * manual/examples/isockad.c: Likewise.
38282 * manual/examples/longopt.c: Likewise.
38283 * manual/examples/memopen.c: Likewise.
38284 * manual/examples/memstrm.c: Likewise.
38285 * manual/examples/mkfsock.c: Likewise.
38286 * manual/examples/mkisock.c: Likewise.
38287 * manual/examples/mygetpass.c: Likewise.
38288 * manual/examples/pipe.c: Likewise.
38289 * manual/examples/popen.c: Likewise.
38290 * manual/examples/rprintf.c: Likewise.
38291 * manual/examples/search.c: Likewise.
38292 * manual/examples/select.c: Likewise.
38293 * manual/examples/setjmp.c: Likewise.
38294 * manual/examples/sigh1.c: Likewise.
38295 * manual/examples/sigusr.c: Likewise.
38296 * manual/examples/stpcpy.c: Likewise.
38297 * manual/examples/strdupa.c: Likewise.
38298 * manual/examples/strftim.c: Likewise.
38299 * manual/examples/strncat.c: Likewise.
38300 * manual/examples/subopt.c: Likewise.
38301 * manual/examples/swapcontext.c: Likewise.
38302 * manual/examples/termios.c: Likewise.
38303 * manual/examples/testopt.c: Likewise.
38304 * manual/examples/testpass.c: Likewise.
38305 * manual/examples/timeval_subtract.c: Likewise.
38308 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38310 * manual/timeval_subtract.c.texi: ... here, new file.
38312 2012-03-02 David S. Miller <davem@davemloft.net>
38314 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38316 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38319 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38320 (__sin): Save and restore rounding mode and use round-to-nearest
38321 for all computations.
38322 (__cos): Save and restore rounding mode and use round-to-nearest
38323 for all computations.
38324 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38326 (tan): Save and restore rounding mode and use round-to-nearest for
38328 * math/libm-test.inc (cos_test_tonearest): New function.
38329 (cos_test_towardzero): Likewise.
38330 (cos_test_downward): Likewise.
38331 (cos_test_upward): Likewise.
38332 (sin_test_tonearest): Likewise.
38333 (sin_test_towardzero): Likewise.
38334 (sin_test_downward): Likewise.
38335 (sin_test_upward): Likewise.
38336 (tan_test_tonearest): Likewise.
38337 (tan_test_towardzero): Likewise.
38338 (tan_test_downward): Likewise.
38339 (tan_test_upward): Likewise.
38340 (main): Call the new functions.
38341 * sysdeps/i386/fpu/libm-test-ulps: Update.
38342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38345 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38346 small n, then large n, before computing and testing k+n.
38347 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38350 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38352 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38353 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38358 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38359 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38360 * math/libm-test.inc (scalbn_test): Add more tests.
38361 (scalbln_test): Likewise.
38363 * manual/filesys.texi (mode_t): Describe constraints on size and
38364 signedness, not exact equivalence to a particular type.
38366 (ino64_t): Likewise.
38368 (nlink_t): Likewise.
38369 (blkcnt_t): Likewise.
38370 (blkcnt64_t): Likewise.
38371 * manual/llio.texi (off_t): Likewise.
38374 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38375 (__ieee754_exp): Save and restore rounding mode and use
38376 round-to-nearest for all computations.
38377 * math/libm-test.inc (exp_test_tonearest): New function.
38378 (exp_test_towardzero): Likewise.
38379 (exp_test_downward): Likewise.
38380 (exp_test_upward): Likewise.
38381 (main): Call the new functions.
38382 * sysdeps/i386/fpu/libm-test-ulps: Update.
38383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38385 2012-03-01 Chris Demetriou <cgd@google.com>
38387 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38388 have predictable order.
38390 2012-03-01 David S. Miller <davem@davemloft.net>
38392 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38394 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38395 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38396 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38397 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38399 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38400 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38401 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38403 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38404 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38405 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38406 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38407 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38412 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38413 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38415 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38416 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38417 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38418 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38419 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38422 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38423 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38424 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38425 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38428 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38429 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38431 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38432 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38433 * sysdeps/sparc/elf/configure: Regenerated.
38435 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38437 * configure.in (AS, LD): Require binutils 2.20 or later.
38438 * configure: Regenerated.
38439 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38440 as required minimum version.
38441 * INSTALL: Regenerated.
38445 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38446 before squaring exponent.
38447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38448 bottom long double and 27 bits of top long double before squaring
38450 * math/libm-test.inc (erfc_test): Add more tests.
38451 * sysdeps/i386/fpu/libm-test-ulps: Update.
38452 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38455 2012-03-01 Kai Tietz <ktietz@redhat.com>
38457 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38458 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38459 containing bit-fields.
38460 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38461 * soft-fp/single.h (_FP_UNION_S): Likewise.
38462 * soft-fp/double.h (_FP_UNION_D): Likewise.
38464 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38467 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38468 not include ../strcmp.S.
38469 [USE_AS_STRNCASECMP_L]: Likewise.
38470 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38471 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38472 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38473 (__strncasecmp_l_ia32): Define as alias to
38474 __strncasecmp_l_nonascii.
38477 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38478 * sysdeps/i386/fpu/libm-test-ulps: Update.
38479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38481 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38484 2012-02-29 Jeff Law <law@redhat.com>
38486 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38487 out of bounds read.
38489 2012-02-29 Marek Polacek <polacek@redhat.com>
38492 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38493 * elf/Makefile: Add rules to run tst-unused-dep.out.
38495 2012-02-28 David S. Miller <davem@davemloft.net>
38497 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38498 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38501 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38502 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38504 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38506 * math/libm-test.inc (llround_test): Move one test from
38507 lround_test. Use TEST_f_L in moved test.
38508 (lround_test): Move misplaced test to llround_test. Add testcase
38511 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38513 * sysdeps/x86_64/fpu/e_expf.S: New file.
38514 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38516 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38519 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38520 of remain_len that may cause incomplete multi-byte character and
38522 * posix/bug-regex33.c: New file.
38523 * posix/Makefile (tests): Add bug-regex33.
38525 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38527 * manual/macros.texi: New file.
38528 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38529 * manual/libc.texinfo: Include macros.texi.
38530 * manual/creatute.texi: Likewise.
38531 * manual/install.texi: Likewise.
38532 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38533 @glibcadj{} in references to the GNU C Library.
38534 * manual/charset.texi: Likewise.
38535 * manual/conf.texi: Likewise.
38536 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38537 when not using those macros.
38538 * manual/creature.texi: Likewise.
38539 * manual/crypt.texi: Likewise.
38540 * manual/errno.texi: Likewise.
38541 * manual/filesys.texi: Likewise.
38542 * manual/header.texi: Likewise.
38543 * manual/install.texi: Likewise.
38544 * manual/intro.texi: Likewise.
38545 * manual/io.texi: Likewise.
38546 * manual/job.texi: Likewise.
38547 * manual/lang.texi: Likewise.
38548 * manual/libc.texiinfo: Likewise.
38549 * manual/llio.texi: Likewise.
38550 * manual/locale.texi: Likewise.
38551 * manual/maint.texi: Likewise.
38552 * manual/math.texi: Likewise.
38553 * manual/memory.texi: Likewise.
38554 * manual/message.texi: Likewise.
38555 * manual/nss.texi: Likewise.
38556 * manual/pattern.texi: Likewise.
38557 * manual/process.texi: Likewise.
38558 * manual/resource.texi: Likewise.
38559 * manual/search.texi: Likewise.
38560 * manual/setjmp.texi: Likewise.
38561 * manual/signal.texi: Likewise.
38562 * manual/socket.texi: Likewise.
38563 * manual/startup.texi: Likewise.
38564 * manual/stdio.texi: Likewise.
38565 * manual/string.texi: Likewise.
38566 * manual/sysinfo.texi: Likewise.
38567 * manual/syslog.texi: Likewise.
38568 * manual/terminal.texi: Likewise.
38569 * manual/time.texi: Likewise.
38570 * manual/users.texi: Likewise.
38571 * INSTALL: Regenerated.
38572 * NOTES: Regenerated.
38573 * sysdeps/gnu/errlist.c: Regenerated.
38575 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38577 * include/dirent.h: Include <dirstream.h> before
38580 2012-02-28 David S. Miller <davem@davemloft.net>
38582 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38583 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38584 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38585 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38587 2012-02-27 David S. Miller <davem@davemloft.net>
38589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38591 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38592 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38595 frame pointer instead of stack pointer relative arg slot.
38596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38597 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38598 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38600 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38603 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38605 2012-02-27 David S. Miller <davem@davemloft.net>
38607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38611 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38612 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38613 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38614 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38616 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38618 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38619 later. Allow versions 5-9.
38620 * configure: Regenerated.
38621 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38622 required minimum version and 4.6 as recommended version. Do not
38623 mention bugs in GCC 2.7 and 2.8.
38624 * INSTALL: Regenerated.
38626 2012-02-27 David S. Miller <davem@davemloft.net>
38628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38632 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38633 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38634 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38635 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38638 manipulate bits before adding and subtracting TWO112[sx].
38639 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38641 2012-02-27 Roland McGrath <roland@hack.frob.com>
38644 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38645 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38646 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38647 being in POSIX, because they are in 1003.1-2008.
38649 * rt/tst-aio.c: Include <fcntl.h>.
38650 * rt/tst-aio7.c: Likewise.
38651 * rt/tst-aio64.c: Likewise.
38653 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38655 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38657 * manual/install.texi (--with-headers): Describe headers as
38658 interface headers, not private headers.
38659 (Specific advice for GNU/Linux systems): Describe use of headers
38660 from "make headers_install", not private headers from older
38662 * INSTALL: Regenerated.
38663 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38665 * sysdeps/unix/sysv/linux/configure: Regenerated.
38667 * manual/llio.texi (fclean): Remove documentation.
38669 * manual/Makefile (libc-texi-generated): New variable. Include
38671 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38672 $(libc-texi-generated), not duplicated list of files.
38673 (version.texi, stamp-version): New rules.
38674 (realclean): Remove $(libc-texi-generated), not individual files
38675 from that list. Do not remove dir-add.texinfo.
38676 * manual/libc.texinfo: Comment out uses of edition numbers and
38677 references to printed manual. Remove last-updated dates.
38678 (EDITION): Comment out.
38680 (VERSION, UPDATED): Remove.
38681 (version.texi): Include.
38683 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38685 * sysdeps/posix/spawni.c: Include <signal.h>.
38686 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38687 * sysdeps/pthread/aio_fsync.c: Likewise.
38689 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38691 * conform/Makefile (tests): Run only when not cross-compiling and
38692 when fast-check is not defined.
38694 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38695 * conform/data/limits.h-data: Fixes for POSIX2008.
38696 * conform/run-conformtest.sh: Run all tests.
38697 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38699 * include/bits/dlfcn.h: Likewise.
38700 * include/langinfo.h: Likewise.
38701 * include/monetary.h: Likewise.
38702 * include/sys/poll.h: Likewise.
38704 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38706 * posix/spawn.h: Define __need_sigset_t.
38707 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38708 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38709 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38710 to get sigevent_t only.
38711 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38712 only for __USE_GNU.
38713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38714 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38715 process_vm_writev only for __USE_GNU.
38716 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38718 * conform/Makefile: For now ignore errors from run-conformtest.
38719 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38720 POSIX to avoid namespace pollution. Don't prepend headers.
38721 * conform/data/aio.h-data: Fixes for POSIX testing.
38722 * conform/data/fcntl.h-data: Likewise.
38723 * conform/data/glob.h-data: Likewise.
38724 * conform/data/grp.h-data: Likewise.
38725 * conform/data/pthread.h-data: Likewise.
38726 * conform/data/pwd.h-data: Likewise.
38727 * conform/data/signal.h-data: Likewise.
38728 * conform/data/spawn.h-data: Likewise.
38729 * conform/data/stdio.h-data: Likewise.
38730 * conform/data/stdlib.h-data: Likewise.
38731 * conform/data/stropts.h-data: Likewise.
38732 * conform/data/sys/mman.h-data: Likewise.
38733 * conform/data/sys/stat.h-data: Likewise.
38734 * conform/data/sys/types.h-data: Likewise.
38735 * conform/data/sys/wait.h-data: Likewise.
38736 * conform/data/time.h-data: Likewise.
38737 * conform/data/unistd.h-data: Likewise.
38738 * conform/data/utime.h-data: Likewise.
38740 * io/sys/stat.h: fchmod was always in POSIX.
38741 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38742 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38743 * rt/aio.h: Define __need_timespec before including <time.h>.
38744 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38745 struct. Add forward declaration of pthread_attr_t and use it in
38747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38749 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38750 always remove CLK_TCK definition.
38752 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38754 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38756 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38758 * conform/run-conformtest.sh: New file.
38759 * conform/Makefile: Run run-conformtest for tests.
38760 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38763 * conform/data/uchar.h-data: New file.
38764 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38765 * conform/data/arpa/inet.h-data: Likewise.
38766 * conform/data/assert.h-data: Likewise.
38767 * conform/data/complex.h-data: Likewise.
38768 * conform/data/cpio.h-data: Likewise.
38769 * conform/data/ctype.h-data: Likewise.
38770 * conform/data/dirent.h-data: Likewise.
38771 * conform/data/dlfcn.h-data: Likewise.
38772 * conform/data/errno.h-data: Likewise.
38773 * conform/data/fcntl.h-data: Likewise.
38774 * conform/data/float.h-data: Likewise.
38775 * conform/data/fmtmsg.h-data: Likewise.
38776 * conform/data/fnmatch.h-data: Likewise.
38777 * conform/data/ftw.h-data: Likewise.
38778 * conform/data/glob.h-data: Likewise.
38779 * conform/data/grp.h-data: Likewise.
38780 * conform/data/iconv.h-data: Likewise.
38781 * conform/data/inttypes.h-data: Likewise.
38782 * conform/data/langinfo.h-data: Likewise.
38783 * conform/data/libgen.h-data: Likewise.
38784 * conform/data/limits.h-data: Likewise.
38785 * conform/data/locale.h-data: Likewise.
38786 * conform/data/math.h-data: Likewise.
38787 * conform/data/monetary.h-data: Likewise.
38788 * conform/data/mqueue.h-data: Likewise.
38789 * conform/data/ndbm.h-data: Likewise.
38790 * conform/data/net/if.h-data: Likewise.
38791 * conform/data/netdb.h-data: Likewise.
38792 * conform/data/netinet/in.h-data: Likewise.
38793 * conform/data/nl_types.h-data: Likewise.
38794 * conform/data/poll.h-data: Likewise.
38795 * conform/data/pthread.h-data: Likewise.
38796 * conform/data/pwd.h-data: Likewise.
38797 * conform/data/regex.h-data: Likewise.
38798 * conform/data/sched.h-data: Likewise.
38799 * conform/data/search.h-data: Likewise.
38800 * conform/data/semaphore.h-data: Likewise.
38801 * conform/data/setjmp.h-data: Likewise.
38802 * conform/data/signal.h-data: Likewise.
38803 * conform/data/spawn.h-data: Likewise.
38804 * conform/data/stdarg.h-data: Likewise.
38805 * conform/data/stdio.h-data: Likewise.
38806 * conform/data/stdlib.h-data: Likewise.
38807 * conform/data/string.h-data: Likewise.
38808 * conform/data/strings.h-data: Likewise.
38809 * conform/data/stropts.h-data: Likewise.
38810 * conform/data/sys/ipc.h-data: Likewise.
38811 * conform/data/sys/mman.h-data: Likewise.
38812 * conform/data/sys/msg.h-data: Likewise.
38813 * conform/data/sys/resource.h-data: Likewise.
38814 * conform/data/sys/select.h-data: Likewise.
38815 * conform/data/sys/sem.h-data: Likewise.
38816 * conform/data/sys/shm.h-data: Likewise.
38817 * conform/data/sys/socket.h-data: Likewise.
38818 * conform/data/sys/stat.h-data: Likewise.
38819 * conform/data/sys/statvfs.h-data: Likewise.
38820 * conform/data/sys/time.h-data: Likewise.
38821 * conform/data/sys/timeb.h-data: Likewise.
38822 * conform/data/sys/times.h-data: Likewise.
38823 * conform/data/sys/types.h-data: Likewise.
38824 * conform/data/sys/uio.h-data: Likewise.
38825 * conform/data/sys/un.h-data: Likewise.
38826 * conform/data/sys/utsname.h-data: Likewise.
38827 * conform/data/sys/wait.h-data: Likewise.
38828 * conform/data/syslog.h-data: Likewise.
38829 * conform/data/tar.h-data: Likewise.
38830 * conform/data/termios.h-data: Likewise.
38831 * conform/data/utime.h-data: Likewise.
38832 * conform/data/utmpx.h-data: Likewise.
38833 * conform/data/varargs.h-data: Likewise.
38834 * conform/data/wchar.h-data: Likewise.
38835 * conform/data/wctype.h-data: Likewise.
38836 * conform/data/wordexp.h-data: Likewise.
38838 * include/stropts.h: New file.
38839 * include/uchar.h: New file.
38840 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38841 * include/assert.h: Likewise.
38842 * include/ctype.h: Likewise.
38843 * include/dirent.h: Likewise.
38844 * include/dlfcn.h: Likewise.
38845 * include/fcntl.h: Likewise.
38846 * include/fnmatch.h: Likewise.
38847 * include/glob.h: Likewise.
38848 * include/grp.h: Likewise.
38849 * include/libio.h: Likewise.
38850 * include/locale.h: Likewise.
38851 * include/math.h: Likewise.
38852 * include/net/if.h: Likewise.
38853 * include/netdb.h: Likewise.
38854 * include/netinet/in.h: Likewise.
38855 * include/pthread.h: Likewise.
38856 * include/pwd.h: Likewise.
38857 * include/regex.h: Likewise.
38858 * include/sched.h: Likewise.
38859 * include/search.h: Likewise.
38860 * include/setjmp.h: Likewise.
38861 * include/signal.h: Likewise.
38862 * include/stdio.h: Likewise.
38863 * include/stdlib.h: Likewise.
38864 * include/string.h: Likewise.
38865 * include/sys/cdefs.h: Likewise.
38866 * include/sys/mman.h: Likewise.
38867 * include/sys/msg.h: Likewise.
38868 * include/sys/resource.h: Likewise.
38869 * include/sys/select.h: Likewise.
38870 * include/sys/socket.h: Likewise.
38871 * include/sys/stat.h: Likewise.
38872 * include/sys/statvfs.h: Likewise.
38873 * include/sys/time.h: Likewise.
38874 * include/sys/times.h: Likewise.
38875 * include/sys/uio.h: Likewise.
38876 * include/sys/utsname.h: Likewise.
38877 * include/sys/wait.h: Likewise.
38878 * include/termios.h: Likewise.
38879 * include/time.h: Likewise.
38880 * include/ulimit.h: Likewise.
38881 * include/unistd.h: Likewise.
38882 * include/utime.h: Likewise.
38883 * include/wchar.h: Likewise.
38884 * include/wctype.h: Likewise.
38885 * include/wordexp.h: Likewise.
38887 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38889 * time/time.h: TIME_UTC must be a macro.
38890 Make timespec_get available for ISO C11 only as well.
38892 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38894 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38895 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38897 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38899 * configure.in: Use -o not -a in test for unsupported multi-arch.
38901 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38903 * manual/texinfo.tex: Update to version 2012-01-19.16.
38905 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38907 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38909 2012-02-24 Roland McGrath <roland@hack.frob.com>
38912 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38913 * manual/fdl-1.3.texi: New file.
38914 * manual/fdl-1.1.texi: File removed.
38917 * manual/libc.texinfo (FDL_VERSION): New @set.
38918 Use it for mention of FDL in cover text.
38919 (Documentation License): Use it in @include file name.
38921 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38922 Roland McGrath <roland@hack.frob.com>
38925 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38926 (not LONG_LONG_MAX and LONG_LONG_MIN.
38927 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38928 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38930 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38932 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38936 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38937 manipulate bits before adding and subtracting TWO23[sx].
38938 * math/libm-test.inc (nearbyint_test): Add more tests.
38940 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38943 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38944 bits before adding and subtracting TWO23[sx].
38945 * math/libm-test.inc (rint_test): Add more tests.
38946 (rint_test_tonearest): Likewise.
38947 (rint_test_towardzero): Likewise.
38948 (rint_test_downward): Likewise.
38949 (rint_test_upward: Likewise.
38951 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38954 * include/stdc-predef.h: New file. Extracted from features.h.
38955 * include/features.h: Include stdc-predef.h.
38956 * Makefile (headers): Add stdc-predef.h.
38957 * CONFORMANCE (Compiler limitations): Update.
38959 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38961 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38963 2012-02-21 David S. Miller <davem@davemloft.net>
38965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38966 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38968 2012-02-20 David S. Miller <davem@davemloft.net>
38970 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38971 using a normal save/restore sequence, rather than allocating a
38972 dummy stack frame just to store a frame pointer and restore.
38973 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38975 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38977 * manual/install.texi: Fix stray word in line-wrapped comment.
38979 2012-02-20 David S. Miller <davem@davemloft.net>
38981 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38982 both binutils and gcc support GOTDATA.
38984 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38985 "rd %pc" in the PIC register setup sequences.
38987 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38988 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38989 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38990 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38991 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38993 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38996 (SYSCALL_ERROR_HANDLER): Likewise.
38997 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38998 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39000 (SYSCALL_ERROR_HANDLER): Likewise.
39002 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39003 (HAVE_GCC_GOTDATA): New.
39004 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39005 relocation support in both binutils and gcc.
39006 * sysdeps/sparc/elf/configure: Regenerate.
39008 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39009 * sysdeps/sparc/sparc32/elf/configure: Delete.
39010 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39011 * sysdeps/sparc/sparc64/elf/configure: Delete.
39012 * sysdeps/sparc/elf/configure.in: New file.
39013 * sysdeps/sparc/elf/configure: Generate.
39015 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39016 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39017 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39018 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39019 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39021 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39023 * manual/install.texi: Do not mention specific glibc version
39025 * manual/libc.texinfo (VERSION, UPDATED): Update.
39026 (@copying): Use @copyright{} and range of years.
39028 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39031 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39032 [crti.S not in sysdirs] (generated): Do not append.
39033 [crti.S not in sysdirs] (omit-deps): Likewise.
39034 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39035 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39036 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39037 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39038 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39040 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39041 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39042 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39043 * csu/defs.awk: Remove file.
39044 * sysdeps/generic/initfini.c: Likewise.
39045 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39047 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39050 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39052 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39053 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39054 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39057 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39059 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39060 (__EPOLL_PACKED): Define to empty if not defined by
39062 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39066 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39068 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39069 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39070 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39071 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39073 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39077 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39079 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39081 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39082 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39083 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39086 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39088 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39089 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39091 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39093 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39094 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39096 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39098 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39101 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39103 * math/w_acos.c: Use non-signaling floating-point comparisons.
39104 * math/w_acosf.c: Likewise.
39105 * math/w_acosh.c: Likewise.
39106 * math/w_acoshf.c: Likewise.
39107 * math/w_acoshl.c: Likewise.
39108 * math/w_acosl.c: Likewise.
39109 * math/w_asin.c: Likewise.
39110 * math/w_asinf.c: Likewise.
39111 * math/w_asinl.c: Likewise.
39112 * math/w_atanh.c: Likewise.
39113 * math/w_atanhf.c: Likewise.
39114 * math/w_atanhl.c: Likewise.
39115 * math/w_exp2.c: Likewise.
39116 * math/w_exp2f.c: Likewise.
39117 * math/w_exp2l.c: Likewise.
39118 * math/w_j0.c: Likewise.
39119 * math/w_j0f.c: Likewise.
39120 * math/w_j0l.c: Likewise.
39121 * math/w_j1.c: Likewise.
39122 * math/w_j1f.c: Likewise.
39123 * math/w_j1l.c: Likewise.
39124 * math/w_jn.c: Likewise.
39125 * math/w_jnf.c: Likewise.
39126 * math/w_log.c: Likewise.
39127 * math/w_log10.c: Likewise.
39128 * math/w_log10f.c: Likewise.
39129 * math/w_log10l.c: Likewise.
39130 * math/w_log2.c: Likewise.
39131 * math/w_log2f.c: Likewise.
39132 * math/w_log2l.c: Likewise.
39133 * math/w_logf.c: Likewise.
39134 * math/w_logl.c: Likewise.
39135 * math/w_sqrt.c: Likewise.
39136 * math/w_sqrtf.c: Likewise.
39137 * math/w_sqrtl.c: Likewise.
39138 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39139 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39140 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39141 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39142 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39144 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39147 * manual/string.texi (strnlen): Use correct parameter name in
39148 equivalent expression.
39150 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39153 * manual/users.texi (seteuid): Consistently use neweuid for
39156 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39159 * manual/nss.texi (Services in the NSS configuration): Correct
39160 list of services in example configuration file.
39162 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39165 * manual/arith.texi: Remove statements about negative zero
39166 behaving identically to zero.
39168 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39171 * manual/install.texi: Do not document upgrading from libc5.
39173 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39176 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39178 2012-02-18 David S. Miller <davem@davemloft.net>
39180 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39181 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39182 %o7 across the call.
39183 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39186 SETUP_PIC_REG_LEAF.
39187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39188 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39189 * sysdeps/sparc/crtn.S: Likewise.
39191 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39193 * aout/Makefile: Remove.
39195 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39198 * manual/examples/argp-ex1.c (main): Format definition in GNU
39200 * manual/examples/argp-ex2.c (main): Likewise.
39201 * manual/examples/argp-ex3.c (main): Likewise.
39202 * manual/examples/argp-ex4.c (main): Likewise.
39203 * manual/examples/longopt.c (main): Use new-style prototype
39205 * manual/examples/strncat.c (main): Specify return type and use
39206 (void) for arguments.
39207 * manual/examples/subopt.c (main): Use char **argv argument.
39209 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39212 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39215 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39218 * manual/string.texi (strchr): Change when strchrnul is
39221 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39224 * manual/locale.texi (setlocale): Document LOCPATH.
39226 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39229 * manual/process.texi (execle): Move @dots{} before last argument.
39231 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39234 * manual/charset.texi (Generic Charset Conversion): Fix typo
39235 (LC_TYPE -> LC_CTYPE).
39237 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39240 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39241 (scalbnf): Likewise.
39242 (scalbnl): Likewise.
39243 (scalbln): Likewise.
39244 (scalblnf): Likewise.
39245 (scalblnl): Likewise.
39246 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39247 (vwarnx): Likewise.
39250 * manual/filesys.texi (telldir): Use braces around return type.
39251 * manual/llio.texi (mmap): Add space after comma.
39252 (mmap64): Likewise.
39253 * manual/math.texi (jn): Use @var{} on parameter names.
39259 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39261 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39263 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39264 (sched_get_priority_max): Likewise.
39265 * manual/signal.texi (sigvec): Add space after comma.
39266 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39268 (if_indextoname): Likewise.
39269 (if_freenameindex): Likewise.
39270 (sendto): Use ',' instead of '.' in prototype.
39271 * manual/startup.texi (syscall): Use @dots{} instead of literal
39273 * manual/stdio.texi (__fpending): Separate initial words of
39274 paragraph from @deftypefun line.
39275 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39277 (vsyslog): Use @var{} on parameter names.
39278 * manual/terminal.texi (stty): Use @var{} on parameter names.
39279 * manual/users.texi (getutmp): Use @var{} on parameter names.
39280 (getutmpx): Likewise.
39282 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39285 * manual/stdio.texi (fopen): Fix typos in description of
39288 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39291 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39292 get clock_id definition.
39294 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39297 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39298 (madvise): Cast every argument to void on its own.
39300 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39303 * manual/startup.texi (Exit Status): Fix typo.
39305 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39308 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39309 * manual/examples/argp-ex2.c: Likewise.
39310 * manual/examples/argp-ex3.c: Likewise.
39312 2012-02-16 Richard Henderson <rth@redhat.com>
39314 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39315 * sysdeps/s390/s390-32/initfini.c: Remove.
39316 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39317 * sysdeps/s390/s390-64/initfini.c: Remove.
39319 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39321 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39322 compiler output for sysdeps/generic/initfini.c.
39323 * sysdeps/sh/elf/initfini.c: Remove file.
39325 2012-02-16 David S. Miller <davem@davemloft.net>
39328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39330 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39331 * sysdeps/sparc/crti.S: New file.
39332 * sysdeps/sparc/crtn.S: New file.
39333 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39334 * sysdeps/sparc/sparc64/Makefile: Likewise.
39336 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39339 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39341 2012-02-15 Roland McGrath <roland@hack.frob.com>
39344 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39346 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39347 (write, read, close): Likewise.
39348 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39350 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39352 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39353 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39354 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39355 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39357 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39361 2012-02-14 Marek Polacek <polacek@redhat.com>
39363 * sysdeps/x86_64/crti.S: New file.
39364 * sysdeps/x86_64/crtn.S: New file.
39365 * sysdeps/x86_64/elf/initfini.c: Remove file.
39367 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39369 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39370 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39371 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39372 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39374 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39378 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39380 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39381 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39382 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39383 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39385 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39389 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39391 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39392 __feraiseexcept instead of feraiseexcept.
39394 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39395 nanosleep invocations.
39396 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39397 strings, and add error checking for a nanosleep invocations.
39399 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39401 Replace FSF snail mail address with URLs, as per GNU coding standards.
39402 Most of the snail mail addresses were wrong anyway, and omitting
39403 them makes the source code easier to maintain. Almost all of the
39404 changes are to license notices and to locale LC_IDENTIFICATION
39405 addresses, except for this one:
39406 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39407 not its snail mail address.
39409 2012-02-09 Richard Henderson <rth@twiddle.net>
39411 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39412 of kernel-features.h.
39414 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39416 2012-02-08 Marek Polacek <polacek@redhat.com>
39418 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39419 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39420 * sysdeps/gnu/_G_config.h: Likewise.
39421 * sysdeps/generic/_G_config.h: Likewise.
39423 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39425 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39429 * sysdeps/powerpc/powerpc32/crti.S: New file.
39430 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39431 * sysdeps/powerpc/powerpc64/crti.S: New file.
39432 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39434 * Makeconfig (have-initfini): Don't set.
39435 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39436 * configure.in (nopic_initfini): Don't substitute.
39437 * config.h.in (HAVE_INITFINI): Don't #undef.
39438 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39439 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39441 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39443 Support crti.S and crtn.S provided directly by architectures.
39444 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39445 [crti.S in sysdirs] (omit-deps): Likewise.
39446 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39447 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39448 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39449 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39450 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39451 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39452 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39453 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39454 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39455 compiler output for sysdeps/generic/initfini.c.
39456 * sysdeps/i386/elf/Makefile: Remove file.
39457 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39459 2012-02-07 Marek Polacek <polacek@redhat.com>
39461 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39462 * sysdeps/gnu/_G_config.h: Likewise.
39463 * sysdeps/mach/hurd/_G_config.h: Likewise.
39465 2012-02-07 Marek Polacek <polacek@redhat.com>
39467 * math/Makefile (tests): Add tst-CMPLX2.
39468 * math/tst-CMPLX2.c: New file.
39470 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39472 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39474 * math/libm-test.inc (jn_test): Add missing L suffix.
39476 2012-02-06 Marek Polacek <polacek@redhat.com>
39478 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39479 * sysdeps/i386/fpu/e_powf.S: Likewise.
39480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39481 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39482 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39483 * sysdeps/i386/fpu/e_pow.S: Likewise.
39484 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39485 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39486 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39487 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39488 * sysdeps/i386/fpu/e_log2.S: Likewise.
39489 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39490 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39491 * sysdeps/i386/fpu/e_powl.S: Likewise.
39492 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39493 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39494 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39495 * sysdeps/i386/fpu/e_logl.S: Likewise.
39496 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39497 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39498 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39499 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39500 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39502 * sysdeps/i386/fpu/e_log.S: Likewise.
39503 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39504 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39505 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39506 * sysdeps/i386/fpu/e_logf.S: Likewise.
39507 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39508 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39509 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39510 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39511 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39512 * sysdeps/i386/fpu/e_log10.S: Likewise.
39513 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39514 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39515 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39516 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39517 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39518 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39519 * sysdeps/i386/asm-syntax.h: Likewise.
39520 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39521 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39522 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39523 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39524 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39525 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39526 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39527 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39529 * sysdeps/powerpc/sysdep.h: Likewise.
39530 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39531 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39533 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39536 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39538 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39540 * sysdeps/i386/sysdep.h: Include <features.h>.
39541 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39544 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39546 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39548 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39551 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39553 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39554 (SETUP_PIC_REG): Use GET_PC_THUNK.
39555 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39558 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39560 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39561 for non-PIC compilation.
39562 (SETUP_PIC_REG): Add .p2align directive.
39563 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39564 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39565 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39566 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39567 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39568 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39569 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39570 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39571 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39572 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39573 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39574 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39575 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39576 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39577 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39578 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39579 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39580 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39581 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39582 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39583 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39584 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39585 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39586 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39591 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39592 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39593 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39594 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39595 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39596 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39597 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39598 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39599 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39600 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39601 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39602 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39603 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39605 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39607 * math/tst-CMPLX.c: Include <stdio.h>.
39609 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39611 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39613 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39614 * sysdeps/sparc/bits/mathdef.h: Likewise.
39616 2012-01-31 Marek Polacek <polacek@redhat.com>
39618 * libio/libio.h: Don't define _PARAMS.
39619 * locale/programs/config.h: Don't define PARAMS.
39620 * stdlib/strtol_l.c: Likewise.
39621 (__strtol_l): Remove PARAMS from the prototype.
39623 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39625 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39626 names. Just use the correct names. Remove unnecessary wrapper
39628 * malloc/arena.c: Likewise.
39629 * malloc/hooks.c: Likewise.
39631 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39632 ARENA_TEST says not to. Simplify test for creation of a new arena.
39633 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39635 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39637 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39639 (update_get_addr): New function.
39640 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39641 GET_ADDR_MODULE parameter.
39643 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39645 * crypt/cert.c: Remove __STDC__ conditionals.
39646 * crypt/crypt-entry.c: Likewise.
39647 * crypt/crypt_util.c: Likewise.
39648 * libio/filedoalloc.c: Likewise.
39649 * libio/fileops.c: Likewise.
39650 * libio/genops.c: Likewise.
39651 * libio/iofclose.c: Likewise.
39652 * libio/iofdopen.c: Likewise.
39653 * libio/iofopen.c: Likewise.
39654 * libio/iofopen64.c: Likewise.
39655 * libio/iogetdelim.c: Likewise.
39656 * libio/iopopen.c: Likewise.
39657 * libio/obprintf.c: Likewise.
39658 * libio/oldfileops.c: Likewise.
39659 * libio/oldiofclose.c: Likewise.
39660 * libio/oldiofdopen.c: Likewise.
39661 * libio/oldiofopen.c: Likewise.
39662 * libio/oldiopopen.c: Likewise.
39663 * libio/wfiledoalloc.c: Likewise.
39664 * libio/wgenops.c: Likewise.
39665 * locale/programs/xmalloc.c: Likewise.
39666 * misc/syslog.c: Likewise.
39667 * stdio-common/xbug.c: Likewise.
39668 * string/memchr.c: Likewise.
39669 * string/memcmp.c: Likewise.
39670 * string/memrchr.c: Likewise.
39671 * string/rawmemchr.c: Likewise.
39672 * sysdeps/posix/getcwd.c: Likewise.
39673 * time/strftime_l.c: Likewise.
39675 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39677 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39678 * config.make.in (config-cflags-sse2avx): Define.
39679 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39682 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39684 * scripts/config.guess: Update from upstream config git repository.
39685 * scripts/config.sub: Likewise.
39687 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39689 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39691 (R_TILEPRO_*, R_TILEGX_*): New macros.
39693 * scripts/firstversions.awk: Fix bug in version range handling.
39695 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39697 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39699 * include/sys/epoll.h: New file.
39700 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39703 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39705 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39706 Avoid unnecessary __WORDSIZE == 64 test.
39707 (fmaxf): Use VEX format if possible.
39712 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39713 * math/math_private.h: Remove libc_fegetround* and
39715 * sysdeps/i386/configure.in: Check for -msse2avx.
39716 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39717 also if SSE2AVX is defined.
39718 Remove libc_fegetround* and libc_fesetround*.
39719 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39720 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39721 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39723 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39724 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39725 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39726 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39729 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39731 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39733 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39735 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39737 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39740 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39742 * Makeconfig (libm): Define.
39743 * elf/Makefile: Add rules to build and run tst-relsort1.
39744 * elf/tst-relsort1.c: New file.
39745 * elf/tst-relsort1mod1.c: New file.
39746 * elf/tst-relsort1mod2.c: New file.
39748 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39750 * math/s_ldexp.c: Remove __STDC__ conditionals.
39751 * math/s_ldexpf.c: Likewise.
39752 * math/s_ldexpl.c: Likewise.
39753 * math/s_nextafter.c: Likewise.
39754 * math/s_nexttowardf.c: Likewise.
39755 * math/s_significand.c: Likewise.
39756 * math/s_significandf.c: Likewise.
39757 * math/s_significandl.c: Likewise.
39758 * math/w_jnl.c: Likewise.
39759 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39760 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39761 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39762 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39763 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39765 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39766 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39767 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39768 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39769 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39771 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39772 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39773 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39774 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39775 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39776 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39778 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39779 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39780 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39781 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39782 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39783 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39784 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39785 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39786 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39787 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39788 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39789 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39790 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39791 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39792 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39793 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39794 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39795 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39796 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39797 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39798 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39799 * sysdeps/ieee754/k_standard.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39843 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39845 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39848 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39849 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39851 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39852 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39854 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39855 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39857 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39861 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39862 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39863 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39866 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39872 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39873 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39874 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39875 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39879 * sysdeps/ieee754/s_matherr.c: Likewise.
39880 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39881 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39883 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39885 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39887 * crypt/md5.h: Remove __STDC__ conditionals.
39888 * libio/libioP.h: Likewise.
39889 * locale/programs/config.h: Likewise.
39890 * sysdeps/generic/sysdep.h: Likewise.
39891 * sysdeps/i386/asm-syntax.h: Likewise.
39892 * sysdeps/s390/asm-syntax.h: Likewise.
39893 * sysdeps/unix/sysdep.h: Likewise.
39894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39897 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39899 * libio/libio.h: Remove __STDC__ conditionals.
39900 * malloc/obstack.h: Likewise.
39901 * math/complex.h: Likewise.
39902 * math/math.h: Likewise.
39903 * sysdeps/generic/_G_config.h: Likewise.
39904 * sysdeps/gnu/_G_config.h: Likewise.
39905 * sysdeps/mach/hurd/_G_config.h: Likewise.
39906 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39907 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39908 * sysdeps/sparc/bits/mathdef.h: Likewise.
39910 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39913 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39914 Clean up HAS_* macros.
39915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39916 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39921 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39922 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39923 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39924 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39926 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39928 * elf/tst-unique3.cc (gets): Remove declaration.
39929 * elf/tst-unique3lib.cc (gets): Likewise.
39930 * elf/tst-unique3lib2.cc (gets): Likewise.
39931 * elf/tst-unique4.cc (gets): Likewise.
39933 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39935 * include/stdio.h: Add C++ protection. Add gets declarations and
39937 * debug/tst-chk1.c: Don't declare gets here.
39938 * stdio-common/tst-gets.c: Likewise.
39940 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39942 * posix/glob: Remove directory.
39944 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39946 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39948 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39950 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39951 of the non-standard EPFNOSUPPORT.
39953 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39955 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39956 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39957 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39959 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39961 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39963 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39965 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39967 * nscd/grpcache.c (cache_addgr): Likewise.
39968 * nscd/hstcache.c (cache_addhst): Likewise.
39969 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39970 * nscd/pwdcache.c (cache_addpw): Likewise.
39971 * nscd/servicescache.c (cache_addserv): Likewise.
39973 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39975 * malloc/malloc.c: Various cleanups.
39976 * malloc/hooks.c: Likewise.
39978 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39979 * stdlib/bug-fmtmsg1.c: New file.
39981 * stdlib/fmtmsg.c (init): Add missing unlock.
39982 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39984 2012-01-12 Marek Polacek <polacek@redhat.com>
39986 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39989 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39991 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39992 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39993 macro to ensure uniqueness of label name.
39994 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39995 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39997 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39999 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40002 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40003 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40006 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40008 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40010 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40011 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40012 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40014 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40016 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40017 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40018 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40021 * math/bits/math-finite.h: Add ldexp support.
40023 2012-01-10 Marek Polacek <polacek@redhat.com>
40025 * locale/programs/localedef.h (show_archive_content): Add noreturn
40028 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40030 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40032 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40034 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40036 * io/Makefile (headers): Add bits/poll2.h.
40038 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40041 typo #include statement.
40043 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40045 * include/sys/cdefs.h: Define __attribute_alloc_size.
40046 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40047 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40048 * elf/pldd.c: Likewise.
40049 * iconv/iconv_charmap.c: Likewise.
40050 * iconv/iconvconfig.c: Likewise.
40051 * iconv/strtab.c: Likewise.
40052 * locale/programs/locale.c: Likewise.
40053 * locale/programs/localedef.h: Likewise.
40054 * locale/programs/simple-hash.c: Likewise.
40055 * nscd/nscd.h: Likewise.
40056 * nss/makedb.c: Likewise.
40057 * sysdeps/generic/ldconfig.h: Likewise.
40058 * locale/programs/localedef.c: Remove xmalloc prototype.
40059 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40061 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40063 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40066 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40068 * math/Makefile (tests): Add tst-CMPLX.
40069 * math/tst-CMPLX.c: New file.
40071 * math/complex.h (CMPLXL): Fix typo.
40073 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40074 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40076 * debug/tst-chk1.c: Add poll and ppoll tests.
40077 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40078 * include/sys/poll.h: Add hidden proto for ppoll.
40079 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40080 * sysdeps/mach/hurd/ppoll.c: Likewise.
40081 * io/ppoll.c: Likewise.
40082 * debug/poll_chk.c: New file.
40083 * debug/ppoll_chk.c: New file.
40084 * include/bits/poll2.h: New file.
40085 * io/bits/poll2.h: New file.
40088 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40090 * configure.in: static is always set to yes. Remove.
40091 * config.make.in: Don't set build-static.
40092 * Makeconfig: Remove use of build-static.
40093 * dlfcn/Makefile: Likewise.
40094 * elf/Makefile: Likewise.
40095 * math/Makefile: Likewise.
40096 * misc/Makefile: Likewise.
40097 * nptl/Makefile: Likewise.
40098 * sysdeps/mach/hurd/Makefile: Likewise.
40100 * configure.in: PWD_P is not used anymore.
40101 * config.make.in: Remove PWD_P entry.
40103 * configure.in: Remove last remnants of RANLIB.
40104 No need to check for signed size_t anymore.
40105 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40107 Remove __builtin_expect test because we require at least gcc 3.4.
40108 * aclocal.m4: Likewise.
40110 * wcsmbs/mbrtoc16.c: Implement using towc function.
40111 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40112 * wcsmbs/wcsmbsload.c: Likewise.
40113 * iconv/gconv_simple.c: Likewise.
40114 * iconv/gconv_int.h: Likewise.
40115 * iconv/gconv_builtin.h: Likewise.
40116 * iconv/iconv_prog.c: Remove CHAR16 handling.
40118 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40120 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40122 * configure.in: Remove --with-elf and --enable-bounded options.
40123 Dont set base_machine for ia64. More non-ELF conditions removed.
40124 Remove testing and setting of leading underscore information.
40125 * config.make.in (build-bounded): Set to no.
40126 * config.h.in: Remove NO_UNDERSCORES entry.
40127 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40129 * csu/start.c: Remove !NO_UNDERSCORE code.
40130 * locale/localeinfo.h: Likewise.
40131 * sysdeps/generic/machine-gmon.h: Likewise.
40132 * sysdeps/generic/sysdep.h: Likewise.
40133 * sysdeps/i386/sysdep.h: Likewise.
40134 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40135 * sysdeps/mach/sysdep.h: Likewise.
40136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40138 * sysdeps/sh/sysdep.h: Likewise.
40139 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40140 * sysdeps/unix/i386/sysdep.S: Likewise.
40141 * sysdeps/unix/sparc/start.c: Likewise.
40142 * sysdeps/unix/sparc/sysdep.S: Likewise.
40143 * sysdeps/unix/sparc/sysdep.h: Likewise.
40144 * sysdeps/unix/start.c: Likewise.
40145 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40146 * sysdeps/x86_64/sysdep.h: Likewise.
40148 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40151 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40153 * argp/argp-fmtstream.h: Use const instead __const.
40154 * argp/argp.h: Likewise.
40155 * assert/assert.h: Likewise.
40156 * bits/fenv.h: Likewise.
40157 * bits/sched.h: Likewise.
40158 * bits/sigset.h: Likewise.
40159 * bits/sigthread.h: Likewise.
40160 * catgets/nl_types.h: Likewise.
40161 * conform/data/pthread.h-data: Likewise.
40162 * crypt/crypt-private.h: Likewise.
40163 * crypt/crypt.h: Likewise.
40164 * crypt/crypt_util.c: Likewise.
40165 * ctype/ctype.h: Likewise.
40166 * debug/execinfo.h: Likewise.
40167 * debug/mbsnrtowcs_chk.c: Likewise.
40168 * debug/mbsrtowcs_chk.c: Likewise.
40169 * debug/wcsnrtombs_chk.c: Likewise.
40170 * debug/wcsrtombs_chk.c: Likewise.
40171 * debug/wcstombs_chk.c: Likewise.
40172 * dirent/dirent.h: Likewise.
40173 * dlfcn/dlfcn.h: Likewise.
40174 * elf/neededtest4.c: Likewise.
40175 * grp/grp.h: Likewise.
40176 * gshadow/gshadow.h: Likewise.
40177 * iconv/gconv.h: Likewise.
40178 * iconv/gconv_int.h: Likewise.
40179 * iconv/gconv_simple.c: Likewise.
40180 * iconv/iconv.h: Likewise.
40181 * iconv/loop.c: Likewise.
40182 * iconv/skeleton.c: Likewise.
40183 * include/aio.h: Likewise.
40184 * include/aliases.h: Likewise.
40185 * include/argz.h: Likewise.
40186 * include/arpa/inet.h: Likewise.
40187 * include/assert.h: Likewise.
40188 * include/dirent.h: Likewise.
40189 * include/dlfcn.h: Likewise.
40190 * include/execinfo.h: Likewise.
40191 * include/fcntl.h: Likewise.
40192 * include/fenv.h: Likewise.
40193 * include/glob.h: Likewise.
40194 * include/grp.h: Likewise.
40195 * include/libintl.h: Likewise.
40196 * include/mntent.h: Likewise.
40197 * include/netdb.h: Likewise.
40198 * include/pwd.h: Likewise.
40199 * include/rpc/netdb.h: Likewise.
40200 * include/sched.h: Likewise.
40201 * include/search.h: Likewise.
40202 * include/shadow.h: Likewise.
40203 * include/signal.h: Likewise.
40204 * include/stdio.h: Likewise.
40205 * include/stdlib.h: Likewise.
40206 * include/string.h: Likewise.
40207 * include/sys/socket.h: Likewise.
40208 * include/sys/stat.h: Likewise.
40209 * include/sys/statfs.h: Likewise.
40210 * include/sys/statvfs.h: Likewise.
40211 * include/sys/syslog.h: Likewise.
40212 * include/sys/time.h: Likewise.
40213 * include/sys/uio.h: Likewise.
40214 * include/time.h: Likewise.
40215 * include/unistd.h: Likewise.
40216 * include/utmp.h: Likewise.
40217 * include/wchar.h: Likewise.
40218 * include/wctype.h: Likewise.
40219 * inet/aliases.h: Likewise.
40220 * inet/arpa/inet.h: Likewise.
40221 * inet/netinet/ether.h: Likewise.
40222 * inet/netinet/in.h: Likewise.
40223 * intl/libintl.h: Likewise.
40224 * io/bits/fcntl2.h: Likewise.
40225 * io/fcntl.h: Likewise.
40226 * io/ftw.h: Likewise.
40227 * io/sys/poll.h: Likewise.
40228 * io/sys/stat.h: Likewise.
40229 * io/sys/statfs.h: Likewise.
40230 * io/sys/statvfs.h: Likewise.
40231 * io/utime.h: Likewise.
40232 * libio/bits/stdio.h: Likewise.
40233 * libio/bits/stdio2.h: Likewise.
40234 * libio/libio.h: Likewise.
40235 * libio/libioP.h: Likewise.
40236 * libio/stdio.h: Likewise.
40237 * locale/lc-ctype.c: Likewise.
40238 * locale/locale.h: Likewise.
40239 * login/utmp.h: Likewise.
40240 * malloc/arena.c: Likewise.
40241 * malloc/malloc.c: Likewise.
40242 * malloc/malloc.h: Likewise.
40243 * malloc/mcheck.c: Likewise.
40244 * malloc/mtrace.c: Likewise.
40245 * math/bits/mathcalls.h: Likewise.
40246 * math/fenv.h: Likewise.
40247 * math/math_private.h: Likewise.
40248 * misc/bits/error.h: Likewise.
40249 * misc/bits/syslog.h: Likewise.
40250 * misc/err.h: Likewise.
40251 * misc/error.h: Likewise.
40252 * misc/fstab.h: Likewise.
40253 * misc/mntent.h: Likewise.
40254 * misc/regexp.h: Likewise.
40255 * misc/search.h: Likewise.
40256 * misc/sgtty.h: Likewise.
40257 * misc/sys/mman.h: Likewise.
40258 * misc/sys/syslog.h: Likewise.
40259 * misc/sys/uio.h: Likewise.
40260 * misc/sys/xattr.h: Likewise.
40261 * misc/ttyent.h: Likewise.
40262 * nis/rpcsvc/ypclnt.h: Likewise.
40263 * nss/nss.h: Likewise.
40264 * posix/bits/unistd.h: Likewise.
40265 * posix/fnmatch.h: Likewise.
40266 * posix/glob.h: Likewise.
40267 * posix/sched.h: Likewise.
40268 * posix/spawn.h: Likewise.
40269 * posix/sys/wait.h: Likewise.
40270 * posix/unistd.h: Likewise.
40271 * posix/wordexp.h: Likewise.
40272 * pwd/pwd.h: Likewise.
40273 * resolv/netdb.h: Likewise.
40274 * resource/sys/resource.h: Likewise.
40275 * rt/aio.h: Likewise.
40276 * rt/bits/mqueue2.h: Likewise.
40277 * rt/mqueue.h: Likewise.
40278 * shadow/shadow.h: Likewise.
40279 * signal/signal.h: Likewise.
40280 * socket/send.c: Likewise.
40281 * socket/sendto.c: Likewise.
40282 * socket/sys/socket.h: Likewise.
40283 * stdio-common/printf.h: Likewise.
40284 * stdlib/bits/stdlib.h: Likewise.
40285 * stdlib/fmtmsg.h: Likewise.
40286 * stdlib/monetary.h: Likewise.
40287 * stdlib/stdlib.h: Likewise.
40288 * stdlib/ucontext.h: Likewise.
40289 * streams/stropts.h: Likewise.
40290 * string/argz.h: Likewise.
40291 * string/bits/string2.h: Likewise.
40292 * string/string.h: Likewise.
40293 * string/strings.h: Likewise.
40294 * sunrpc/rpc/auth.h: Likewise.
40295 * sunrpc/rpc/auth_des.h: Likewise.
40296 * sunrpc/rpc/clnt.h: Likewise.
40297 * sunrpc/rpc/netdb.h: Likewise.
40298 * sunrpc/rpc/pmap_clnt.h: Likewise.
40299 * sunrpc/rpc/xdr.h: Likewise.
40300 * sysdeps/generic/inttypes.h: Likewise.
40301 * sysdeps/generic/net/if.h: Likewise.
40302 * sysdeps/generic/sys/swap.h: Likewise.
40303 * sysdeps/gnu/net/if.h: Likewise.
40304 * sysdeps/gnu/utmpx.h: Likewise.
40305 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40306 * sysdeps/i386/i486/bits/string.h: Likewise.
40307 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40308 * sysdeps/s390/bits/string.h: Likewise.
40309 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40310 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40311 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40312 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40313 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40314 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40315 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40316 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40317 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40318 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40319 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40320 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40321 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40322 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40323 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40324 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40325 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40327 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40330 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40331 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40332 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40333 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40334 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40335 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40337 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40338 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40339 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40340 * sysvipc/sys/ipc.h: Likewise.
40341 * sysvipc/sys/msg.h: Likewise.
40342 * sysvipc/sys/sem.h: Likewise.
40343 * sysvipc/sys/shm.h: Likewise.
40344 * termios/termios.h: Likewise.
40345 * time/sys/time.h: Likewise.
40346 * time/time.h: Likewise.
40347 * wcsmbs/bits/wchar2.h: Likewise.
40348 * wcsmbs/uchar.h: Likewise.
40349 * wcsmbs/wchar.h: Likewise.
40350 * wctype/wctype.h: Likewise.
40353 * Makeconfig: Remove all but ELF support including AIX support.
40354 * Makerules: Likewise.
40355 * config.h.in: Likewise.
40356 * config.make.in: Likewise.
40357 * configure: Likewise.
40358 * configure.in: Likewise.
40359 * csu/Makefile: Likewise.
40360 * csu/version.c: Likewise.
40361 * debug/Makefile: Likewise.
40362 * dlfcn/Makefile: Likewise.
40363 * elf/Makefile: Likewise.
40364 * extra-lib.mk: Likewise.
40365 * iconv/Makefile: Likewise.
40366 * include/libc-symbols.h: Likewise.
40367 * include/shlib-compat.h: Likewise.
40368 * resolv/Makefile: Likewise.
40369 * resolv/res_libc.c: Likewise.
40370 * rt/Makefile: Likewise.
40371 * sysdeps/i386/asm-syntax.h: Likewise.
40372 * sysdeps/i386/sysdep.h: Likewise.
40373 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40374 * sysdeps/mach/sysdep.h: Likewise.
40375 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40376 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40377 * sysdeps/s390/asm-syntax.h: Likewise.
40378 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40380 * sysdeps/sh/sysdep.h: Likewise.
40381 * sysdeps/unix/sparc/sysdep.h: Likewise.
40382 * sysdeps/wordsize-32/divdi3.c: Likewise.
40383 * sysdeps/x86_64/sysdep.h: Likewise.
40385 * argp/Versions: Remove _argp_unlock_xxx.
40388 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40389 * abilist/libBrokenLocale.abilist: Likewise.
40390 * abilist/libanl.abilist: Likewise.
40391 * abilist/libc.abilist: Likewise.
40392 * abilist/libcrypt.abilist: Likewise.
40393 * abilist/libdl.abilist: Likewise.
40394 * abilist/libm.abilist: Likewise.
40395 * abilist/libnsl.abilist: Likewise.
40396 * abilist/libpthread.abilist: Likewise.
40397 * abilist/libresolv.abilist: Likewise.
40398 * abilist/librt.abilist: Likewise.
40399 * abilist/libthread_db.abilist: Likewise.
40400 * abilist/libutil.abilist: Likewise.
40401 * abilist/libnss_db.abilist: New file.
40403 * scripts/abilist.awk: Add support for indirect functions.
40405 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40407 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40409 * shlib-versions: Remove entries for ports architectures.
40411 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40413 * elf/stackguard-macros.h: Remove support for IA-64.
40414 * elf/tst-auditmod1.c: Likewise.
40415 * sysdeps/generic/ldsodefs.h: Likewise.
40417 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40418 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40422 * configure.in: Remove --enable-omitfp support.
40424 * config.make.in: Likewise.
40425 * Makeconfig: Likewise.
40426 * manual/install.texi: Likewise.
40428 In case anyone cares, the IA-64 architecture could move to ports.
40429 * sysdeps/ia64/*: Removed.
40430 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40431 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40434 * configure.in: Remove entries for unsupported architectures.
40437 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40438 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40440 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40441 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40442 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40443 fall back to using wcrtomb.
40444 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40445 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40447 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40448 * wcsmbs/tst-c16c32-1.c: New file.
40450 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40453 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40455 * elf/tst-unique3.cc: Add explicit declaration of gets.
40456 * elf/tst-unique3lib.cc: Likewise.
40457 * elf/tst-unique3lib2.cc: Likewise.
40458 * elf/tst-unique4.cc: Likewise.
40460 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40462 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40465 * assert/assert.h (static_assert): Don't define for C++.
40466 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40467 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40469 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40471 * iconv/loop.c (single loop): Fix assertion in storing of
40474 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40476 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40478 * posix/getconf.c: Update copyright year.
40479 * nss/getent.c: Likewise.
40480 * nss/makedb.c: Likewise.
40481 * iconv/iconvconfig.c: Likewise.
40482 * iconv/iconv_prog.c: Likewise.
40483 * elf/ldconfig.c: Likewise.
40484 * elf/pldd.c: Likewise.
40485 * elf/sotruss.ksh: Likewise.
40486 * catgets/gencat.c: Likewise.
40487 * csu/version.c: Likewise.
40488 * elf/ldd.bash.in: Likewise.
40489 * elf/sprof.c (print_version): Likewise.
40490 * locale/programs/locale.c: Likewise.
40491 * locale/programs/localedef.c: Likewise.
40492 * login/programs/pt_chown.c: Likewise.
40493 * nscd/nscd.c (print_version): Likewise.
40494 * debug/xtrace.sh: Likewise.
40495 * malloc/memusage.sh: Likewise.
40496 * malloc/mtrace.pl: Likewise.
40497 * debug/catchsegv.sh: Likewise.
40499 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40501 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40504 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40507 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40508 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40510 * iconv/gconv_int.h: Likewise.
40511 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40512 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40513 from libc for GLIBC_2.16.
40514 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40515 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40516 * wcsmbs/uchar.h: Really define mbstate_t.
40517 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40518 * wcsmbs/c16rtomb.c: New file.
40519 * wcsmbs/mbrtoc16.c: New file.
40520 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40521 for C/POSIX locale.
40522 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40523 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40525 * wcsmbs/wchar.h: Add missing __restrict.
40527 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40530 * time/Makefile (routines): Add timespec_get.
40531 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40532 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40533 timespec for ISO C11.
40534 * time/timespec_get.c: New file.
40535 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40536 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40539 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40540 * stdlib/stdlib.h: Declare aligned_alloc.
40541 * Versions.def: Add GLIBC_2.16 for libc.
40542 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40545 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40548 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40552 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40555 * assert/assert.h (static_assert): Define.
40557 * version.h: Update for 2.16 development version.
40560 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40563 * version.h (RELEASE): Bump for 2.15 release.
40564 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40566 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40567 Patch by Marek Polacek <mpolacek@redhat.com>.
40569 * bits/byteswap.h: Protect long long constants with __extension__.
40570 * sysdeps/i386/bits/byteswap.h: Likewise.
40571 * sysdeps/ia64/bits/byteswap.h: Likewise.
40572 * sysdeps/s390/bits/byteswap.h: Likewise.
40573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40575 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40579 destination buffer.
40580 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40582 2011-12-23 Marek Polacek <polacek@redhat.com>
40584 * elf/dl-addr.c (determine_info): Add inline keyword.
40585 * elf/tst-auditmod4b.c (check_avx): Likewise.
40586 * elf/tst-auditmod6b.c (check_avx): Likewise.
40587 * elf/tst-auditmod6c.c (check_avx): Likewise.
40588 * elf/tst-auditmod7b.c (check_avx): Likewise.
40590 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40592 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40595 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40598 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40599 processing for last bytes.
40601 2011-08-06 Bruno Haible <bruno@clisp.org>
40604 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40605 U+0385, not to U+1FEE.
40608 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40609 entry for U+00A5 U+0301.
40611 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40614 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40615 buffer for the output is too small.
40617 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40621 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40622 SSE flags if possible.
40624 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40628 processing for last bytes.
40630 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40632 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40633 (syscall-list-default-options, syscall-list-default-condition)
40634 (syscall-list-includes): Define.
40635 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40636 list of ABIs and options and #if conditions for each ABI. Do not
40637 handle common syscalls between ABIs specially.
40638 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40640 (syscall-list-variants, syscall-list-32bit-options)
40641 (syscall-list-32bit-condition, syscall-list-64bit-options)
40642 (syscall-list-64bit-condition): Define.
40643 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40644 (syscall-list-variants, syscall-list-32bit-options)
40645 (syscall-list-32bit-condition, syscall-list-64bit-options)
40646 (syscall-list-64bit-condition): Define.
40647 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40649 (syscall-list-variants, syscall-list-32bit-options)
40650 (syscall-list-32bit-condition, syscall-list-64bit-options)
40651 (syscall-list-64bit-condition): Define.
40652 * sysdeps/unix/sysv/linux/x86_64/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.
40658 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40660 * locale/iso-639.def: Add brx entry.
40663 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40664 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40666 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40667 __feraiseexcept_renamed.
40669 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40672 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40673 EPOLLET with unsigned values.
40674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40675 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40677 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40678 to large cancellation.
40679 * math/s_cacoshf.c: Likewise.
40680 * math/s_cacoshl.c: Likewise.
40682 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40686 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40687 * math/s_cacoshf.c: Likewise.
40688 * math/s_cacoshl.c: Likewise.
40690 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40693 * iconv/gconv.h: Define __GCONV_SWAP.
40694 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40695 * iconvdata/utf-16.c: Likewise.
40696 * iconvdata/utf-32.c: Likewise.
40698 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40701 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40702 numerator after shifting it by one limb.
40704 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40706 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40707 under [__USE_EXTERN_INLINES].
40709 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40712 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40714 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40716 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40717 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40719 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40720 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40721 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40722 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40723 for strncasecmp/strncasecmp_l compilation.
40724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40725 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40727 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40730 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40733 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40736 * time/tzfile.c (__tzfile_read): Check values from file header.
40738 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40740 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40741 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40742 * powerpc/powerpc32/dl-start.S: Likewise.
40743 * powerpc/powerpc32/elf/start.S: Likewise.
40744 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40745 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40746 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40747 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40748 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40749 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40750 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40751 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40752 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40753 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40754 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40755 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40756 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40757 * powerpc/powerpc32/memset.S: Likewise.
40758 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40759 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40760 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40761 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40762 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40763 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40764 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40765 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40766 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40767 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40768 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40769 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40770 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40772 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40774 * math/libm-test.inc: Added more nearbyint tests.
40775 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40777 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40780 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40782 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40785 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40787 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40788 Add wcscpy-ssse3 wcscpy-c.
40789 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40790 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40791 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40792 * sysdeps/x86_64/wcschr.S: New file.
40793 * sysdeps/x86_64/wcsrchr.S: New file.
40794 * string/test-strcmp.c: Remove checking of wcscmp function for
40796 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40797 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40798 wcsrchr-sse2 wcsrchr-c.
40799 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40800 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40801 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40802 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40803 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40804 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40805 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40806 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40807 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40808 * wcsmbc/wcschr.c (WCSCHR): New macro.
40810 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40812 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40813 * wcsmbs/test-wcsrchr.c: New file.
40814 * string/test-strrchr.c: Add wcsrchr support.
40816 * wcsmbs/test-wcscpy.c: New file.
40817 * string/test-strcpy.c: Add wcscpy support.
40820 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40822 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40825 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40828 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40830 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40832 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40833 Minor optimizations.
40835 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40836 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40837 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40839 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40841 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40842 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40843 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40844 for gcc to avoid warnings.
40845 * inet/Makefile (tests): Add tst-checks.
40846 * inet/tst-checks.c: New file.
40848 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40851 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40854 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40855 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40857 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40859 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40861 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40864 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40866 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40868 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40869 conditional on GCC version.
40870 (__arch_compare_and_exchange_val_8_acq)
40871 (__arch_compare_and_exchange_val_16_acq)
40872 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40873 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40874 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40876 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40878 * sysdeps/sh/backtrace.c: New file.
40880 2011-12-02 Andreas Schwab <schwab@redhat.com>
40882 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40885 2011-12-01 Andreas Schwab <schwab@redhat.com>
40887 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40888 falling back to utime.
40890 2011-11-30 Andreas Schwab <schwab@redhat.com>
40892 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40893 expectations for float.
40895 2011-11-29 Andreas Schwab <schwab@redhat.com>
40897 * locale/weight.h (findidx): Add parameter len.
40898 * locale/weightwc.h (findidx): Likewise.
40899 * posix/fnmatch_loop.c (FCT): Adjust caller.
40900 * posix/regcomp.c (build_equiv_class): Likewise.
40901 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40902 * posix/regexec.c (check_node_accept_bytes): Likewise.
40903 * string/strcoll_l.c (STRCOLL): Likewise.
40904 * string/strxfrm_l.c (STRXFRM): Likewise.
40906 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40908 * Makefile.in: Remove CVSOPT handling.
40909 * configure.in: Remove use of AC_REVISION.
40910 * iconvdata/Makefile (distribute): No need to filter out CVS.
40911 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40914 2011-11-16 Andreas Schwab <schwab@redhat.com>
40916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40917 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40918 [USE_AS_STRNCASECMP_L]: Likewise.
40919 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40920 NO_TLS_DIRECT_SEG_REFS.
40921 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40922 Fix argument offsets for non-PIC.
40923 [USE_AS_STRNCASECMP_L]: Likewise.
40924 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40925 NO_TLS_DIRECT_SEG_REFS.
40927 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40929 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40931 * locale/loadlocale.c (_nl_load_locale): Likewise.
40933 2011-11-15 Andreas Schwab <schwab@redhat.com>
40935 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40936 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40937 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40938 (SYSCALL_GETTIME): Set errno on error.
40940 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40941 count references to noai6ai_cached.
40943 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40945 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40947 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40948 FD_CLOEXEC for /proc/self/maps.
40950 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40951 FD_CLOEXEC for /proc/meminfo.
40953 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40956 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40957 FD_CLOEXEC for given file.
40959 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40961 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40962 FD_CLOEXEC for /etc/hosts.
40963 (_gethtent): Likewise.
40965 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40967 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40968 cancellation and set FD_CLOEXEC for /etc/netgroup.
40970 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40971 reading /etc/publickey.
40973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40974 allow cancellation when reading /etc/group.
40976 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40978 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40980 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40981 when using data file.
40983 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40985 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40986 (write_nis_obj): Use "c" and "e" in fopen.
40988 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40990 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40992 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40994 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40996 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40999 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41001 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41003 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41005 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41006 file parsing and set FD_CLOEXEC.
41008 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41010 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41012 2011-11-14 Andreas Schwab <schwab@redhat.com>
41014 * malloc/arena.c (arena_get2): Don't call reused_arena when
41015 _int_new_arena failed.
41017 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41019 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41020 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41021 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41022 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41023 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41025 to compile strcasecmp and strncasecmp.
41026 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41027 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41031 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41033 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41034 locale-defines.sym to gen-as-const-headers.
41035 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41036 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41038 to compile strcasecmp and strncasecmp.
41039 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41040 strcasecmp_l and strncasecmp_l.
41041 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41042 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41043 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41044 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41045 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41046 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41047 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41048 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41049 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41050 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41051 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41053 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41055 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41056 result of SYSDEP_GETTIME_CPU to retval.
41057 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41058 parameter list to macro. Remove trailing semicolon. Adjust users.
41060 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41063 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41067 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41068 from unused variable.
41070 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41072 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41075 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41078 * sunrpc/rpc_prot.c (rejected): Fix case value.
41080 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41081 unsigned long long int to avoid warnings in shift.
41083 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41085 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41088 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41089 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41090 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41092 * nis/nis_table.c (nis_list): Use variable of correct type for
41093 result of __follow_path call.
41095 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41097 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41098 of math functions ceil, trunc, floor, round, and sqrt, when
41099 avaliable on the platform.
41100 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41104 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41106 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41108 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41109 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41111 2011-11-11 Roland McGrath <roland@hack.frob.com>
41113 * include/unistd.h: Fix __readlink return type.
41114 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41116 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41118 * stdlib/ucontext.h: Undo last change for makecontext.
41120 2011-11-11 Andreas Schwab <schwab@redhat.com>
41122 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41124 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41125 * setjmp/setjmp.h: Mark functions as non-leaf.
41126 * setjmp/bits/setjmp2.h: Likewise.
41127 * stdlib/ucontext.h: Likewise.
41129 2011-11-10 Andreas Schwab <schwab@redhat.com>
41131 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41132 (reused_arena): Don't check arena limit.
41133 (arena_get2): Atomically check arena limit.
41135 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41137 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41138 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41140 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41143 2011-11-07 Andreas Schwab <schwab@redhat.com>
41145 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41146 handler when locking.
41148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41149 Fix size of allocated buffer.
41151 2011-11-04 Andreas Schwab <schwab@redhat.com>
41154 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41155 declarations for long double functions.
41156 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41158 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41160 2011-11-03 Andreas Schwab <schwab@redhat.com>
41162 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41165 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41168 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41170 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41172 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41174 * include/alloca.h (stackinfo_alloca_round): Define.
41175 (extend_alloca): Use it.
41176 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41177 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41180 * scripts/check-local-headers.sh: Ignore libaudit.h.
41182 * nscd/Makefile (extra-objs): Make recursively expanded.
41184 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41186 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41187 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41189 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41190 * posix/tst-rfc3484-2.c: Likewise.
41191 * posix/tst-rfc3484-3.c: Likewise.
41193 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41195 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41197 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41198 process_vm_writev from libc using GLIBC_2.15 version.
41200 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41202 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41204 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41207 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41210 * nss/getent.c (initgroups_keys): Show error message in case no group
41213 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41214 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41215 __bump_nl_timestamp.
41216 * nscd/connections (nscd_init): When host database is served open
41217 netlink socket and request notification about configuration changes.
41218 (main_loop_poll): Track netlink file descriptor and bump timestamp
41219 in case data becomes available.
41220 (main_loop_epoll): Likewise.
41221 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41222 (database_pers_head): Add extra_data fileds.
41223 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41224 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41225 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41228 in6ai data, call __free_in6ai.
41229 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41230 Add -DHAVE_NETLINK.
41231 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41232 interface information. Reuse previous data if netlink timestamp
41234 (__bump_nl_timestamp): New function.
41235 (__free_in6ai): New function.
41237 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41239 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41240 close_not_cancel_no_status here.
41241 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41243 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41246 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41249 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41250 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41251 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41253 2011-07-03 Andreas Jaeger <aj@suse.de>
41256 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41257 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41258 * math/libm-test.inc (sin_test): Add test case.
41260 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41263 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41264 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41266 * elf/chroot_canon.c (chroot_canon): Cleanups.
41268 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41271 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41272 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41274 * string/test-strchr.c: Make usable for strchrnul testing.
41275 * string/test-strchrnul.c: New file.
41276 * string/Makefile (strop-tests): Add strchrnul.
41278 * po/it.po: Update from translation team.
41279 * po/es.po: Likewise.
41281 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41283 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41284 the three constants needed as parameters. Drop the others.
41285 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41286 __m128i_strloadu_tolower.
41287 Create and initialize variable zero and use it in all the places
41288 where _mm_setzero_si128 was used.
41290 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41291 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41292 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41295 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41296 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41297 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41298 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41299 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41300 __mpranred, __mptan.
41301 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41302 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41303 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41304 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41305 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41306 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41307 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41308 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41309 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41311 2011-10-28 Andreas Schwab <schwab@redhat.com>
41313 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41314 redefine if SHARED.
41315 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41318 wide char related routines to wcsmbs subdir.
41320 2011-10-27 Andreas Schwab <schwab@redhat.com>
41323 * misc/sys/cdefs.h (__THROWNL): Define.
41324 * posix/unistd.h: Use __THREADNL instead of __THREAD
41325 for memory synchronization functions.
41327 2011-10-26 Roland McGrath <roland@hack.frob.com>
41330 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41332 * manual/stdio.texi (Obstack Streams): Node removed.
41334 2011-10-26 Andreas Schwab <schwab@redhat.com>
41336 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41337 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41338 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41340 * math/math_private.h (math_force_eval): Allow non-addressable
41342 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41344 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41346 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41347 file is not needed.
41349 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41351 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41352 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41353 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41354 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41356 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41358 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41359 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41360 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41361 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41362 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41363 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41364 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41365 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41366 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41367 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41368 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41369 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41371 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41372 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41373 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41374 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41375 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41376 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41378 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41379 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41382 place. Use VEX encoding when compiling for AVX.
41384 2011-10-25 Andreas Schwab <schwab@redhat.com>
41386 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41387 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41389 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41391 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41393 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41394 useless if() expression.
41395 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41396 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41397 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41398 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41399 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41400 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41401 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41403 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41405 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41406 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41407 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41408 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41409 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41410 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41411 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41412 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41413 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41415 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41417 2011-10-25 Andreas Schwab <schwab@redhat.com>
41419 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41421 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41423 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41425 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41426 .text section. Avoid duplicate constants.
41427 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41429 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41435 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41436 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41437 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41438 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41439 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41440 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41441 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41442 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41443 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41444 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41445 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41446 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41447 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41448 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41449 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41451 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41452 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41453 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41454 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41455 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41456 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41457 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41458 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41459 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41460 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41461 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41462 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41463 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41465 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41466 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41467 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41468 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41469 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41471 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41473 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41475 * sysdeps/x86_64/dla.h: Move to ...
41476 * sysdeps/x86_64/fpu/dla.h: ...here.
41477 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41478 situations. Use __builtin_fma only for gcc 4.6 and up.
41480 * config.make.in: Add have-mfma4 entry.
41481 * configure.in: Substitute libc_cv_cc_fma4.
41482 * math/Makefile (dbl-only-routines): Add sincostab.
41483 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41484 Use __sincostab not sincos.
41485 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41487 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41492 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41493 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41494 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41495 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41497 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41498 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41500 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41501 define aliases when function name is a macro.
41502 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41503 sysdeps/ieee754/dbl-64/sincos.tbl.
41504 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41505 fma4-enabled routines.
41506 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41507 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41508 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41509 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41510 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41511 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41513 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41514 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41515 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41516 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41517 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41518 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41519 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41520 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41521 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41522 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41523 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41524 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41525 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41526 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41527 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41528 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41529 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41530 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41531 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41533 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41534 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41535 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41537 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41548 2011-10-24 Andreas Schwab <schwab@redhat.com>
41550 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41552 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41554 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41556 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41560 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41561 Remove unused variable magic_bits.
41562 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41564 * string/strnlen.c: Define and use STRNLEN macro.
41565 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41566 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41567 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41568 * wcsmbs/wcslen.c: Define and use WCSLEN.
41569 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41570 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41571 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41572 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41573 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41574 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41575 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41577 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41580 strnlen-sse2-no-bsf.
41581 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41583 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41584 Add strnlen support.
41585 (USE_AS_STRNLEN): New macro.
41586 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41587 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41588 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41589 * sysdeps/x86_64/wcslen.S: New file.
41591 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41594 XMM-moves are used for copying on small sizes.
41596 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41598 * wcsmbs/Makefile (strop-tests): Add wcschr.
41599 * wcsmbs/test-wcschr.c: New file.
41600 * string/test-strchr.c: Update.
41601 Add wcschr support.
41604 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41606 * wcsmbs/Makefile (strop-tests): Add wcslen.
41607 * wcsmbs/test-wcslen.c: New file.
41608 * string/test-strlen.c: Update.
41609 Add wcslen support.
41612 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41614 * po/it.po: Update from translation team.
41616 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41618 * sysdeps/x86_64/wcscmp.S: Update.
41619 Fix wrong comparison semantics.
41620 wcscmp shall use signed comparison not unsigned.
41621 Don't use substraction to avoid overflow bug.
41622 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41623 * wcsmbc/wcscmp.c: Likewise.
41624 * string/test-strcmp.c: Likewise.
41625 Add new tests to check cases with negative values.
41627 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41629 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41630 * sysdeps/x86_64/dla.h: ...here. New file.
41631 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41636 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41637 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41639 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41641 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41644 __ynl_finite aliases.
41646 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41650 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41652 [DLA_FMA] (EMULV): Use DLA_FMA.
41653 [DLA_FMA] (MUL12): Use EMULV.
41654 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41655 that are not needed.
41656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41664 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41666 * math/s_nan.c: Undef __nan.
41667 * math/s_nanf.c: Undef __nanf.
41668 * math/s_nanl.c: Undef __nanl.
41669 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41672 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41674 * math/s_catan.c: Add branch predictions.
41675 * math/s_catanf.c: Likewise.
41676 * math/s_catanh.c: Likewise.
41677 * math/s_catanhf.c: Likewise.
41678 * math/s_catanhl.c: Likewise.
41679 * math/s_catanl.c: Likewise.
41680 * math/s_cexp.c: Likewise.
41681 * math/s_cexpf.c: Likewise.
41682 * math/s_cexpl.c: Likewise.
41683 * math/s_clog.c: Likewise.
41684 * math/s_clog10.c: Likewise.
41685 * math/s_clog10f.c: Likewise.
41686 * math/s_clog10l.c: Likewise.
41687 * math/s_clogf.c: Likewise.
41688 * math/s_clogl.c: Likewise.
41689 * math/s_csqrt.c: Likewise.
41690 * math/s_csqrtf.c: Likewise.
41691 * math/s_csqrtl.c: Likewise.
41692 * math/s_ctanf.c: Likewise.
41693 * math/s_ctanh.c: Likewise.
41694 * math/s_ctanhf.c: Likewise.
41695 * math/s_ctanhl.c: Likewise.
41696 * math/s_ctanl.c: Likewise.
41698 * math/math_private.h: Define __nan, __nanf, __nanl.
41699 * math/s_cacosh.c: Include <math_private.h>.
41700 * math/s_cacoshl.c: Likewise.
41701 * math/s_casinh.c: Likewise.
41702 * math/s_casinhf.c: Likewise.
41703 * math/s_casinhl.c: Likewise.
41704 * math/s_ccos.c: Rely entire on ccosh.
41705 * math/s_ccosf.c: Rely entire on ccoshf.
41706 * math/s_ccosl.c: Rely entirely on ccoshl.
41707 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41708 Remove tests for FE_INVALID.
41709 * math/s_ccoshf.c: Likewise.
41710 * math/s_ccoshl.c: Likewise.
41711 * math/s_csin.c: Likewise.
41712 * math/s_csinf.c: Likewise.
41713 * math/s_csinh.c Likewise.
41714 * math/s_csinhf.c: Likewise.
41715 * math/s_csinhl.c: Likewise.
41716 * math/s_csinl.c: Likewise.
41717 * math/s_ctan.c: Likewise.
41718 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41719 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41720 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41722 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41725 compilation problems.
41727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41730 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41732 * sysdeps/i386/configure.in: Test for -mfma4 option.
41733 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41734 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41735 COMMON_CPUID_INDEX_80000001.
41736 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41737 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41738 use it if FMA3 is not supported.
41739 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41741 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41742 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41744 2011-10-20 Andreas Schwab <schwab@redhat.com>
41747 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41748 it would create a cycle with a link time dependency.
41750 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41752 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41754 * string/Makefile (strop-tests): Add rawmemchr.
41755 * string/test-rawmemchr.c: New file.
41757 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41759 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41760 when compiling str{,n}casecmp and when AVX is available. Hook up
41761 new optimized code in initializers.
41763 2011-10-19 Andreas Schwab <schwab@redhat.com>
41765 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41766 __feraiseexcept instead of feraiseexcept.
41768 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41770 * math/math_private.h: Define defaults for libc_fetestexcept and
41772 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41773 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41775 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41776 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41777 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41778 libc_fetestexcept and libc_feupdateenv.
41780 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41781 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41782 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41783 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41784 libc_feholdexcept_setround.
41786 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41787 Add s_nearbyint-c and s_nearbyintf-c.
41788 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41789 nearbyintf inlines.
41790 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41791 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41792 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41793 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41795 * math/math_private.h: Define defaults for libc_fegetround,
41796 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41797 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41798 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41799 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41800 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41801 standard functions.
41802 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41803 Remove comments and hacks for old compiler versions.
41804 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41805 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41806 libc_feholdexceptl.
41808 2011-10-18 Andreas Schwab <schwab@redhat.com>
41810 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41811 (__feraiseexcept_renamed): Add __NTH.
41812 (feraiseexcept): Add __NTH. Rename local variables to fix
41813 namespace violations.
41815 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41817 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41819 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41821 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41822 recently added interfaces.
41823 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41825 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41826 about macro parameter expansion.
41828 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41829 __NO_MATH_INLINES is defined. Cleanups.
41831 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41832 and __floorf is target has SSE4.1.
41833 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41834 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41835 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41836 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41838 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41840 (floorf): Likewise.
41842 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41844 2011-10-17 Andreas Schwab <schwab@redhat.com>
41846 * misc/sys/cdefs.h: Fix last change.
41848 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41851 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41853 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41855 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41856 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41857 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41858 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41860 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41861 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41862 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41863 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41864 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41865 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41866 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41867 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41868 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41869 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41870 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41871 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41872 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41873 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41874 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41875 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41876 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41878 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41879 ceil, ceilf, floor, floorf.
41881 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41882 Perform IRELATIVE relocations last.
41884 * elf/do-rel.h: Add another parameter nrelative, replacing the
41885 local variable with the same name. Change name of the function
41886 to end in Rel or Rela (uppercase).
41887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41888 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41889 elf_dynamic_do_##reloc function.
41891 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41893 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41894 is sufficient, at least on modern CPUs.
41896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41898 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41899 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41901 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41903 * math/bits/math-finite.h: Add entries for exp.
41904 * math/e_expl.c: Add __*_finite alias.
41905 * sysdeps/i386/fpu/e_exp.S: Likewise.
41906 * sysdeps/i386/fpu/e_expf.S: Likewise.
41907 * sysdeps/i386/fpu/e_expl.c: Likewise.
41908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41909 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41910 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41913 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41914 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41916 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41917 is sufficient, at least on modern CPUs.
41919 * ctype/ctype-info.c (__ctype_init): Define.
41920 * include/ctype.h (__ctype_init): Declare.
41921 (__ctype_b_loc): The variable is always initialized.
41922 (__ctype_toupper_loc): Likewise.
41923 (__ctype_tolower_loc): Likewise.
41924 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41925 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41927 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41929 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41931 * configure.in: Also look in $cxxmachine/include for C++ system
41934 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41936 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41937 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41938 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41939 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41941 (USE_AS_WMEMCMP): New macro.
41943 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41944 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41945 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41946 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41948 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41949 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41950 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41951 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41952 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41953 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41954 (USE_AS_WMEMCMP): New macro.
41955 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41956 * sysdeps/string/test-memcmp.c: Update.
41957 Fix simple_wmemcmp.
41959 * wcsmbs/wmemcmp.c: Update.
41960 (WMEMCMP): New macro.
41963 2011-10-12 Andreas Jaeger <aj@suse.de>
41966 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41968 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41970 * libio/iofwide.c (do_length): Avoid warning.
41972 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41974 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41976 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41978 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41979 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41980 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41981 * sysdeps/i386/i686/fpu/e_log.S: New file.
41982 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41983 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41985 * ctype/ctype.h: Add support for inlined isXXX functions when
41986 compiling C++ code.
41988 2011-10-14 Andreas Schwab <schwab@redhat.com>
41990 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41992 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41994 2011-10-13 Roland McGrath <roland@hack.frob.com>
41997 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41999 2011-10-13 Andreas Schwab <schwab@redhat.com>
42001 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42002 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42005 * sysdeps/x86_64/memrchr.S: Check for zero size.
42007 * string/stratcliff.c: Add memrchr tests.
42009 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42012 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42013 rawmemchr-sse2 rawmemchr-sse2-bsf.
42014 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42015 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42016 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42017 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42018 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42019 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42020 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42021 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42022 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42023 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42024 * string/memrchr.c (MEMRCHR): New macro.
42026 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42028 Add integration with gcc's -ffinite-math-only and optimize wrapper
42030 * Versions.def: Define GLIBC_2.15 version for libm.
42031 * math/Makefile (headers): Add bits/math-finite.h.
42032 * math/bits/math-finite.h: New file.
42033 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42034 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42035 * math/e_acoshl.c: Add __*_finite alias.
42036 * math/e_acosl.c: Likewise.
42037 * math/e_asinl.c: Likewise.
42038 * math/e_atan2l.c: Likewise.
42039 * math/e_atanhl.c: Likewise.
42040 * math/e_coshl.c: Likewise.
42041 * math/e_exp10.c: Likewise.
42042 * math/e_exp10f.c: Likewise.
42043 * math/e_exp10l.c: Likewise.
42044 * math/e_exp2l.c: Likewise.
42045 * math/e_fmodl.c: Likewise.
42046 * math/e_gammal_r.c: Likewise.
42047 * math/e_hypotl.c: Likewise.
42048 * math/e_j0l.c: Likewise.
42049 * math/e_j1l.c: Likewise.
42050 * math/e_jnl.c: Likewise.
42051 * math/e_lgammal_r.c: Likewise.
42052 * math/e_log10l.c: Likewise.
42053 * math/e_log2l.c: Likewise.
42054 * math/e_logl.c: Likewise.
42055 * math/e_powl.c: Likewise.
42056 * math/e_sinhl.c: Likewise.
42057 * math/e_sqrtl.c: Likewise.
42058 * math/e_scalb.c: Completely rewritten and optimized.
42059 * math/e_scalbf.c: Likewise.
42060 * math/e_scalbl.c: Likewise.
42061 * math/w_acos.c: Likewise.
42062 * math/w_acosf.c: Likewise.
42063 * math/w_acosl.c: Likewise.
42064 * math/w_acosh.c: Likewise.
42065 * math/w_acoshf.c: Likewise.
42066 * math/w_acoshl.c: Likewise.
42067 * math/w_asin.c: Likewise.
42068 * math/w_asinf.c: Likewise.
42069 * math/w_asinl.c: Likewise.
42070 * math/w_atan2.c: Likewise.
42071 * math/w_atan2f.c: Likewise.
42072 * math/w_atan2l.c: Likewise.
42073 * math/w_atanh.c: Likewise.
42074 * math/w_atanhf.c: Likewise.
42075 * math/w_atanhl.c: Likewise.
42076 * math/w_exp10.c: Likewise.
42077 * math/w_exp10f.c: Likewise.
42078 * math/w_exp10l.c: Likewise.
42079 * math/w_fmod.c: Likewise.
42080 * math/w_fmodf.c: Likewise.
42081 * math/w_fmodl.c: Likewise.
42082 * math/w_j0.c: Likewise.
42083 * math/w_j0f.c: Likewise.
42084 * math/w_j0l.c: Likewise.
42085 * math/w_j1.c: Likewise.
42086 * math/w_j1f.c: Likewise.
42087 * math/w_j1l.c: Likewise.
42088 * math/w_jn.c: Likewise.
42089 * math/w_jnf.c: Likewise.
42090 * math/w_log.c: Likewise.
42091 * math/w_logf.c: Likewise.
42092 * math/w_logl.c: Likewise.
42093 * math/w_log10.c: Likewise.
42094 * math/w_log10f.c: Likewise.
42095 * math/w_log10l.c: Likewise.
42096 * math/w_log2.c: Likewise.
42097 * math/w_log2f.c: Likewise.
42098 * math/w_log2l.c: Likewise.
42099 * math/w_pow.c: Likewise.
42100 * math/w_powf.c: Likewise.
42101 * math/w_powl.c: Likewise.
42102 * math/w_remainder.c: Likewise.
42103 * math/w_remainderf.c: Likewise.
42104 * math/w_remainderl.c: Likewise.
42105 * math/w_scalb.c: Likewise.
42106 * math/w_scalbf.c: Likewise.
42107 * math/w_scalbl.c: Likewise.
42108 * math/w_sqrt.c: Likewise.
42109 * math/w_sqrtf.c: Likewise.
42110 * math/w_sqrtl.c: Likewise.
42111 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42112 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42114 * math/math_private.h: Declare __kernel_standard_f.
42115 * math/w_cosh.c: Remove cruft and optimize a bit.
42116 * math/w_coshf.c: Likewise.
42117 * math/w_coshl.c: Likewise.
42118 * math/w_exp2.c: Likewise.
42119 * math/w_exp2f.c: Likewise.
42120 * math/w_exp2l.c: Likewise.
42121 * math/w_hypot.c: Likewise.
42122 * math/w_hypotf.c: Likewise.
42123 * math/w_hypotl.c: Likewise.
42124 * math/w_lgamma.c: Likewise.
42125 * math/w_lgamma_r.c: Likewise.
42126 * math/w_lgammaf.c: Likewise.
42127 * math/w_lgammaf_r.c: Likewise.
42128 * math/w_lgammal.c: Likewise.
42129 * math/w_lgammal_r.c: Likewise.
42130 * math/w_sinh.c: Likewise.
42131 * math/w_sinhf.c: Likewise.
42132 * math/w_sinhl.c: Likewise.
42133 * math/w_tgamma.c: Likewise.
42134 * math/w_tgammaf.c: Likewise.
42135 * math/w_tgammal.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42137 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42138 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42139 Minor optimizations. Pretty printing. Remove cruft.
42140 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42141 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42142 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42143 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42144 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42145 * sysdeps/i386/fpu/e_asin.S: Likewise.
42146 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42147 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42148 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42149 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42150 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42151 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42152 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42153 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42154 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42155 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42156 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42157 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42158 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42159 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42160 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42161 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42162 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42163 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42164 * sysdeps/i386/fpu/e_log.S: Likewise.
42165 * sysdeps/i386/fpu/e_log10.S: Likewise.
42166 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42167 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42168 * sysdeps/i386/fpu/e_log2.S: Likewise.
42169 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42171 * sysdeps/i386/fpu/e_logf.S: Likewise.
42172 * sysdeps/i386/fpu/e_logl.S: Likewise.
42173 * sysdeps/i386/fpu/e_pow.S: Likewise.
42174 * sysdeps/i386/fpu/e_powf.S: Likewise.
42175 * sysdeps/i386/fpu/e_powl.S: Likewise.
42176 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42177 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42178 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42179 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42180 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42181 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42182 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42183 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42184 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42185 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42186 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42190 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42198 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42199 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42201 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42202 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42203 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42205 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42206 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42207 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42208 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42209 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42210 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42211 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42212 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42213 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42214 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42215 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42216 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42217 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42218 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42219 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42220 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42221 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42222 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42223 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42224 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42225 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42226 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42227 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42231 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42235 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42237 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42238 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42240 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42250 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42251 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42254 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42255 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42256 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42257 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42259 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42262 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42264 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42265 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42266 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42267 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42269 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42270 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42271 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42272 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42273 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42274 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42276 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42277 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42278 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42279 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42280 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42281 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42282 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42283 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42284 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42285 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42286 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42287 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42288 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42289 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42290 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42291 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42292 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42293 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42294 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42295 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42296 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42297 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42298 (__isnanf): Likewise.
42299 (__isinf_ns): Likewise.
42300 (__isinf_nsf): Likewise.
42301 (__finite): Likewise.
42302 (__finitef): Likewise.
42303 (__ieee754_sqrt): Define as macro.
42304 (__ieee754_sqrtf): Define as macro.
42305 (__ieee754_sqrtl): Define as macro.
42306 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42308 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42309 __FINITE_MATH_ONLY__ consistent.
42310 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42312 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42314 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42317 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42319 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42321 * po/ja.po: Update from translation team.
42323 2011-10-08 Roland McGrath <roland@hack.frob.com>
42325 * locale/programs/locarchive.c (prepare_address_space): New function.
42326 (create_archive, enlarge_archive, open_archive): Use it.
42328 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42329 inside [SHARED], where it is used.
42331 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42333 * nss/getent.c (netgroup_keys): Remove unused variable.
42334 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42336 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42338 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42339 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42341 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42342 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42343 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42344 * math/Makefile (libm-calls): Add s_isinf_ns.
42345 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42346 * math/multc3.c: Likewise.
42347 * math/s_casin.c: Likewise.
42348 * math/s_casinf.c: Likewise.
42349 * math/s_casinl.c: Likewise.
42350 * math/s_ccos.c: Likewise.
42351 * math/s_ccosf.c: Likewise.
42352 * math/s_ccosl.c: Likewise.
42353 * math/s_ctan.c: Likewise.
42354 * math/s_ctanf.c: Likewise.
42355 * math/s_ctanh.c: Likewise.
42356 * math/s_ctanhf.c: Likewise.
42357 * math/s_ctanhl.c: Likewise.
42358 * math/s_ctanl.c: Likewise.
42359 * math/w_fmod.c: Likewise.
42360 * math/w_fmodf.c: Likewise.
42361 * math/w_fmodl.c: Likewise.
42362 * math/w_remainder.c: Likewise.
42363 * math/w_remainderf.c: Likewise.
42364 * math/w_remainderl.c: Likewise.
42365 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42366 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42367 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42369 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42370 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42371 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42372 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42374 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42376 * stdio-common/printf_fphex.c: Likewise.
42377 * stdio-common/printf_size.c: Likewise.
42379 * math/e_exp10.c: Include math_private.h using <...> not "...".
42380 * math/e_exp10f.c: Likewise.
42381 * math/e_exp10l.c: Likewise.
42382 * math/e_exp2l.c: Likewise.
42383 * math/e_j0l.c: Likewise.
42384 * math/e_j1l.c: Likewise.
42385 * math/e_jnl.c: Likewise.
42386 * math/e_lgammal_r.c: Likewise.
42387 * math/e_rem_pio2l.c: Likewise.
42388 * math/e_scalb.c: Likewise.
42389 * math/e_scalbf.c: Likewise.
42390 * math/e_scalbl.c: Likewise.
42391 * math/k_cosl.c: Likewise.
42392 * math/k_sinl.c: Likewise.
42393 * math/k_tanl.c: Likewise.
42394 * math/s_cacoshf.c: Likewise.
42395 * math/s_catan.c: Likewise.
42396 * math/s_catanf.c: Likewise.
42397 * math/s_catanh.c: Likewise.
42398 * math/s_catanhf.c: Likewise.
42399 * math/s_catanhl.c: Likewise.
42400 * math/s_catanl.c: Likewise.
42401 * math/s_ccosh.c: Likewise.
42402 * math/s_ccoshf.c: Likewise.
42403 * math/s_ccoshl.c: Likewise.
42404 * math/s_cexp.c: Likewise.
42405 * math/s_cexpf.c: Likewise.
42406 * math/s_cexpl.c: Likewise.
42407 * math/s_clog.c: Likewise.
42408 * math/s_clog10.c: Likewise.
42409 * math/s_clog10f.c: Likewise.
42410 * math/s_clog10l.c: Likewise.
42411 * math/s_clogf.c: Likewise.
42412 * math/s_clogl.c: Likewise.
42413 * math/s_csin.c: Likewise.
42414 * math/s_csinf.c: Likewise.
42415 * math/s_csinh.c: Likewise.
42416 * math/s_csinhf.c: Likewise.
42417 * math/s_csinhl.c: Likewise.
42418 * math/s_csinl.c: Likewise.
42419 * math/s_csqrt.c: Likewise.
42420 * math/s_csqrtf.c: Likewise.
42421 * math/s_csqrtl.c: Likewise.
42422 * math/s_ctan.c: Likewise.
42423 * math/s_ctanf.c: Likewise.
42424 * math/s_ctanh.c: Likewise.
42425 * math/s_ctanhf.c: Likewise.
42426 * math/s_ctanhl.c: Likewise.
42427 * math/s_ctanl.c: Likewise.
42428 * math/s_ldexp.c: Likewise.
42429 * math/s_ldexpf.c: Likewise.
42430 * math/s_ldexpl.c: Likewise.
42431 * math/s_significand.c: Likewise.
42432 * math/s_significandf.c: Likewise.
42433 * math/s_significandl.c: Likewise.
42434 * math/w_acos.c: Likewise.
42435 * math/w_acosf.c: Likewise.
42436 * math/w_acosh.c: Likewise.
42437 * math/w_acoshf.c: Likewise.
42438 * math/w_acoshl.c: Likewise.
42439 * math/w_acosl.c: Likewise.
42440 * math/w_asin.c: Likewise.
42441 * math/w_asinf.c: Likewise.
42442 * math/w_asinl.c: Likewise.
42443 * math/w_atan2.c: Likewise.
42444 * math/w_atan2f.c: Likewise.
42445 * math/w_atan2l.c: Likewise.
42446 * math/w_atanh.c: Likewise.
42447 * math/w_atanhf.c: Likewise.
42448 * math/w_atanhl.c: Likewise.
42449 * math/w_cosh.c: Likewise.
42450 * math/w_coshf.c: Likewise.
42451 * math/w_coshl.c: Likewise.
42452 * math/w_dremf.c: Likewise.
42453 * math/w_exp10.c: Likewise.
42454 * math/w_exp10f.c: Likewise.
42455 * math/w_exp10l.c: Likewise.
42456 * math/w_exp2.c: Likewise.
42457 * math/w_exp2f.c: Likewise.
42458 * math/w_fmod.c: Likewise.
42459 * math/w_fmodf.c: Likewise.
42460 * math/w_fmodl.c: Likewise.
42461 * math/w_hypot.c: Likewise.
42462 * math/w_hypotf.c: Likewise.
42463 * math/w_hypotl.c: Likewise.
42464 * math/w_j0.c: Likewise.
42465 * math/w_j0f.c: Likewise.
42466 * math/w_j0l.c: Likewise.
42467 * math/w_j1.c: Likewise.
42468 * math/w_j1f.c: Likewise.
42469 * math/w_j1l.c: Likewise.
42470 * math/w_jn.c: Likewise.
42471 * math/w_jnf.c: Likewise.
42472 * math/w_jnl.c: Likewise.
42473 * math/w_lgamma.c: Likewise.
42474 * math/w_lgamma_r.c: Likewise.
42475 * math/w_lgammaf.c: Likewise.
42476 * math/w_lgammaf_r.c: Likewise.
42477 * math/w_lgammal.c: Likewise.
42478 * math/w_lgammal_r.c: Likewise.
42479 * math/w_log.c: Likewise.
42480 * math/w_log10.c: Likewise.
42481 * math/w_log10f.c: Likewise.
42482 * math/w_log10l.c: Likewise.
42483 * math/w_log2.c: Likewise.
42484 * math/w_log2f.c: Likewise.
42485 * math/w_log2l.c: Likewise.
42486 * math/w_logf.c: Likewise.
42487 * math/w_logl.c: Likewise.
42488 * math/w_pow.c: Likewise.
42489 * math/w_powf.c: Likewise.
42490 * math/w_powl.c: Likewise.
42491 * math/w_remainder.c: Likewise.
42492 * math/w_remainderf.c: Likewise.
42493 * math/w_remainderl.c: Likewise.
42494 * math/w_scalb.c: Likewise.
42495 * math/w_scalbf.c: Likewise.
42496 * math/w_scalbl.c: Likewise.
42497 * math/w_sinh.c: Likewise.
42498 * math/w_sinhf.c: Likewise.
42499 * math/w_sinhl.c: Likewise.
42500 * math/w_sqrt.c: Likewise.
42501 * math/w_sqrtf.c: Likewise.
42502 * math/w_sqrtl.c: Likewise.
42503 * math/w_tgamma.c: Likewise.
42504 * math/w_tgammaf.c: Likewise.
42505 * math/w_tgammal.c: Likewise.
42507 * po/ja.po: Update from translation team.
42509 2011-09-29 Andreas Jaeger <aj@suse.de>
42512 * sunrpc/netname.c (netname2host): Fix logic.
42516 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42518 * math/w_remainder.c (__remainder): Likewise.
42519 * math/w_remainderf.c (__remainderf): Likewise.
42520 * math/libm-test.inc (remainder_test): Add test cases.
42522 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42524 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42527 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42529 * string/test-memcmp.c: Avoid unncessary #defines.
42530 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42532 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42534 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42535 Use new sse2 version for core i3 - i7 as it's faster
42536 than sse42 version.
42537 (bit_Prefer_PMINUB_for_stringop): New.
42538 * sysdeps/x86_64/rawmemchr.S: Update.
42539 Replace with faster SSE2 version.
42540 * sysdeps/x86_64/memrchr.S: New file.
42541 * sysdeps/x86_64/memchr.S: Update.
42542 Replace with faster SSE2 version.
42544 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42546 * elf/dl-load.c (lose): Add cast to avoid warning.
42548 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42550 * po/ca.po: Update from translation team.
42552 * inet/getnetgrent_r.c: Hook up nscd.
42553 * nscd/Makefile (routines): Add nscd_netgroup.
42554 (nscd-modules): Add netgroupcache.
42555 (CFLAGS-netgroupcache.c): Define.
42556 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42557 (cache_search): Add const to second parameter.
42558 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42560 (dbs): Add netgrdb entry.
42561 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42562 (verify_persistent_db): Handle netgrdb.
42563 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42564 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42566 (netgroup_response_header): Define.
42567 (innetgroup_response_header): Define.
42568 (datahead): Add netgroup_response_header and innetgroup_response_header
42570 * nscd/nscd.conf: Add entries for netgroup cache.
42571 * nscd/nscd.h (dbtype): Add netgrdb.
42572 (_PATH_NSCD_NETGROUP_DB): Define.
42573 (netgroup_iov_disabled): Declare.
42574 (xmalloc, xcalloc, xrealloc): Move declarations here.
42575 (cache_search): Adjust prototype.
42576 Add netgroup-related prototypes.
42577 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42578 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42579 (__nscd_innetgr): Declare.
42580 * nscd/selinux.c (perms): Use access_vector_t as element type and
42581 add netgroup-related initializers.
42582 * nscd/netgroupcache.c: New file.
42583 * nscd/nscd_netgroup.c: New file.
42584 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42585 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42586 For four parameters use innetgr.
42587 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42588 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42589 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42590 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42592 * nscd/connections.c (register_traced_file): Don't register file
42593 for disabled databases.
42595 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42597 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42599 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42600 from tree and freeing node.
42602 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42604 * nss/nsswitch.c (__nss_database_lookup): Handle
42605 nss_parse_service_list out of memory case.
42607 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42609 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42610 out of memory case.
42612 2011-10-04 Andreas Schwab <schwab@redhat.com>
42614 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42615 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42617 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42618 elf_machine_rela, elf_machine_lazy_rel.
42619 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42620 (ELF_DYNAMIC_DO_REL): Likewise.
42621 (ELF_DYNAMIC_DO_RELA): Likewise.
42622 (ELF_DYNAMIC_RELOCATE): Likewise.
42623 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42624 to ELF_DYNAMIC_DO_REL.
42625 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42626 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42627 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42629 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42630 skip_ifunc, don't call ifunc function if non-zero.
42631 (elf_machine_rela): Likewise.
42632 (elf_machine_lazy_rel): Likewise.
42633 (elf_machine_lazy_rela): Likewise.
42634 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42635 (elf_machine_lazy_rel): Likewise.
42636 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42638 (elf_machine_lazy_rel): Likewise.
42639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42641 (elf_machine_lazy_rel): Likewise.
42642 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42643 (elf_machine_lazy_rel): Likewise.
42644 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42645 (elf_machine_lazy_rel): Likewise.
42646 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42647 (elf_machine_lazy_rel): Likewise.
42648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42649 (elf_machine_lazy_rel): Likewise.
42650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42651 (elf_machine_lazy_rel): Likewise.
42652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42653 (elf_machine_lazy_rel): Likewise.
42655 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42657 * nss/nss_files/files-init.c (_nss_files_init): Use static
42658 initialization for all the *_traced_file variables.
42660 2011-09-28 Andreas Schwab <schwab@redhat.com>
42662 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42664 2011-09-27 Roland McGrath <roland@hack.frob.com>
42667 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42669 2011-09-27 Andreas Schwab <schwab@redhat.com>
42671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42672 Reread the line before reparsing it.
42674 2011-09-26 Andreas Schwab <schwab@redhat.com>
42676 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42678 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42679 Maxim Kuvyrkov <maxim@codesourcery.com>
42680 Joseph Myers <joseph@codesourcery.com>
42682 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42683 if needed for __stack_chk_guard.
42685 2011-09-19 Roland McGrath <roland@hack.frob.com>
42687 * sysdeps/posix/spawni.c (script_execute): Always define it.
42688 It will be optimized away if unused.
42689 (maybe_script_execute): New function.
42690 (__spawni): Call it.
42692 * Makerules: Don't include tls.make.
42693 (config-tls): Always set to thread.
42694 * tls.make.c: File removed.
42696 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42698 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42699 * config.make.in (CPPFLAGS-config): New substituted variable.
42701 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42703 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42706 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42707 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42709 2011-09-15 Roland McGrath <roland@hack.frob.com>
42711 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42712 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42713 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42714 (CALL_FAIL): Likewise.
42715 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42716 (CALL_FAIL): Macro removed.
42717 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42719 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42721 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42722 for __FINITE_MATH_ONLY__ == 1.
42724 2011-09-15 Andreas Schwab <schwab@redhat.com>
42726 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42727 __ieee754_sqrt instead of sqrt.
42728 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42729 __ieee754_sqrtf instead of sqrtf.
42730 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42731 __floorf instead of floorf.
42732 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42733 __floorf, __truncf instead of floorf, truncf.
42735 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42737 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42739 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42740 __extern_always_inline.
42741 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42744 2011-09-14 Andreas Schwab <schwab@redhat.com>
42746 * elf/rtld.c (dl_main): Also relocate in dependency order when
42747 doing symbol dependency testing.
42749 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42752 Always define `refsym'.
42754 2011-09-13 Andreas Schwab <schwab@redhat.com>
42756 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42757 (__FD_ELT): Renamed from __FDELT.
42758 * misc/bits/select2.h (__FD_ELT): Likewise.
42759 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42760 __FD_MASK instead of __FDELT, __FDMASK.
42761 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42763 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42766 * elf/Makefile (gen-ldd): Fix pattern.
42768 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42769 (init_tls): Likewise.
42771 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42775 2011-09-12 Andreas Schwab <schwab@redhat.com>
42777 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42778 `struct cmsghdr *' instead of `void *'.
42779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42782 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42784 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42786 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42787 ldd_rewrite_script.
42789 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42791 * configure.in: Remove --with-tls option.
42792 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42793 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42794 out in case it is missing.
42795 * sysdeps/ia64/elf/configure.in: Likewise.
42796 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42797 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42798 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42799 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42800 * sysdeps/sh/elf/configure.in: Likewise.
42801 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42802 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42803 * sysdeps/x86_64/elf/configure.in: Likewise.
42804 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42805 * sysdeps/mach/hurd/tls.h: Likewise.
42808 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42811 * configure.in: Fix use of AC_INIT.
42813 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42815 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42817 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42819 * malloc/hooks.c: Likewise.
42822 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42823 variables statically.
42824 (narenas): Initialize.
42825 (list_lock): Initialize.
42826 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42827 initializtion of main_arena and list_lock. Small cleanups.
42828 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42829 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42830 Add initializers to main_arena and mp_.
42831 (malloc_state): Remove pagesize member. Change all users to use
42834 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42835 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42836 is always initialized.
42838 * malloc/malloc.c: Removed unused configurations and dead code.
42839 * malloc/arena.c: Likewise.
42840 * malloc/hooks.c: Likewise.
42841 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42843 * include/tls.h: Removed. USE___THREAD must always be defined.
42844 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42845 * elf/dl-libc.c: Likewise.
42846 * elf/dl-tsd.c: Likewise.
42847 * include/errno.h: Likewise.
42848 * include/netdb.h: Likewise.
42849 * include/resolv.h: Likewise.
42850 * inet/herrno-loc.c: Likewise.
42851 * inet/herrno.c: Likewise.
42852 * malloc/arena.c: Likewise.
42853 * malloc/hooks.c: Likewise.
42854 * malloc/malloc.c: Likewise.
42855 * resolv/res-state.c: Likewise.
42856 * resolv/res_libc.c: Likewise.
42857 * sysdeps/i386/dl-machine.h: Likewise.
42858 * sysdeps/ia64/dl-machine.h: Likewise.
42859 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42860 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42861 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42862 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42863 * sysdeps/sh/dl-machine.h: Likewise.
42864 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42865 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42866 * sysdeps/unix/i386/sysdep.S: Likewise.
42867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42868 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42870 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42873 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42875 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42877 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42878 * sysdeps/x86_64/dl-machine.h: Likewise.
42879 * tls.make.c: Likewise.
42881 * configure.in: Remove --with-__thread option. Make tests for
42882 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42883 tls_model attribute fail if no support is available. Remove
42885 * Makeconfig: Adjust for dropped configure option. All features are
42887 * Makerules: Likewise.
42888 * Versions.def: Likewise.
42889 * argp/argp-fmtstream.c: Likewise.
42890 * argp/argp-fmtstream.h: Likewise.
42891 * argp/argp-help.c: Likewise.
42892 * assert/assert.c: Likewise.
42893 * config.h.in: Likewise.
42894 * config.make.in: Likewise.
42895 * configure: Likewise.
42896 * configure.in: Likewise.
42897 * csu/Versions: Likewise.
42898 * csu/init.c: Likewise.
42899 * elf/tst-audit2.c: Likewise.
42900 * elf/tst-tls10.c: Likewise.
42901 * elf/tst-tls10.h: Likewise.
42902 * elf/tst-tls11.c: Likewise.
42903 * elf/tst-tls12.c: Likewise.
42904 * elf/tst-tls14.c: Likewise.
42905 * elf/tst-tlsmod11.c: Likewise.
42906 * elf/tst-tlsmod12.c: Likewise.
42907 * elf/tst-tlsmod13.c: Likewise.
42908 * elf/tst-tlsmod13a.c: Likewise.
42909 * elf/tst-tlsmod14a.c: Likewise.
42910 * elf/tst-tlsmod15b.c: Likewise.
42911 * elf/tst-tlsmod16a.c: Likewise.
42912 * elf/tst-tlsmod16b.c: Likewise.
42913 * elf/tst-tlsmod7.c: Likewise.
42914 * elf/tst-tlsmod8.c: Likewise.
42915 * elf/tst-tlsmod9.c: Likewise.
42916 * gmon/gmon.c: Likewise.
42917 * grp/fgetgrent_r.c: Likewise.
42918 * grp/putgrent.c: Likewise.
42919 * hurd/fopenport.c: Likewise.
42920 * include/libc-symbols.h: Likewise.
42921 * include/tls.h: Likewise.
42922 * intl/gettextP.h: Likewise.
42923 * intl/loadinfo.h: Likewise.
42924 * locale/global-locale.c: Likewise.
42925 * locale/localeinfo.h: Likewise.
42926 * mach/devstream.c: Likewise.
42927 * malloc/arena.c: Likewise.
42928 * malloc/set-freeres.c: Likewise.
42929 * misc/err.c: Likewise.
42930 * misc/getttyent.c: Likewise.
42931 * misc/mntent_r.c: Likewise.
42932 * posix/getopt.c: Likewise.
42933 * posix/wordexp.c: Likewise.
42934 * pwd/fgetpwent_r.c: Likewise.
42935 * resolv/Versions: Likewise.
42936 * resolv/res_hconf.c: Likewise.
42937 * shadow/fgetspent_r.c: Likewise.
42938 * shadow/putspent.c: Likewise.
42939 * stdio-common/printf_fphex.c: Likewise.
42940 * stdio-common/tmpfile.c: Likewise.
42941 * stdlib/abort.c: Likewise.
42942 * stdlib/fmtmsg.c: Likewise.
42943 * sunrpc/auth_unix.c: Likewise.
42944 * sunrpc/clnt_perr.c: Likewise.
42945 * sunrpc/clnt_tcp.c: Likewise.
42946 * sunrpc/clnt_udp.c: Likewise.
42947 * sunrpc/clnt_unix.c: Likewise.
42948 * sunrpc/openchild.c: Likewise.
42949 * sunrpc/svc_simple.c: Likewise.
42950 * sunrpc/svc_tcp.c: Likewise.
42951 * sunrpc/svc_udp.c: Likewise.
42952 * sunrpc/svc_unix.c: Likewise.
42953 * sunrpc/xdr.c: Likewise.
42954 * sunrpc/xdr_array.c: Likewise.
42955 * sunrpc/xdr_rec.c: Likewise.
42956 * sunrpc/xdr_ref.c: Likewise.
42957 * sunrpc/xdr_stdio.c: Likewise.
42959 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42961 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42963 2011-07-03 Andreas Jaeger <aj@suse.de>
42965 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42966 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42967 regenerate with gen-libm-tests.pl.
42969 2010-05-12 Petr Baudis <pasky@suse.cz>
42972 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42973 around j0() zero points by switching to j1().
42974 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42979 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42981 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42983 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42986 Patch in part by Pavel Roskin <proski@gnu.org>.
42989 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42991 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42992 Free memory block if necessary.
42995 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42996 be NULL. Don't lock in this case.
42998 2011-09-09 Roland McGrath <roland@hack.frob.com>
43000 * elf/elf.h (ELFOSABI_GNU): New macro.
43001 (ELFOSABI_LINUX): Define to that.
43003 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43005 * string/strncat.c (strncat): Undef the symbol in case it has been
43006 defined in bits/string.h.
43008 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43010 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43012 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43015 2011-08-17 Andreas Jaeger <aj@suse.de>
43017 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43019 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43020 Ian Lance Taylor <iant@google.com>
43022 * math/libm-test.inc (lround_test): New testcase.
43023 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43025 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43027 * Makefile: Remove support for automatic cvs check-ins.
43028 * Makerules: Likewise.
43029 * config.make.in: Likewise.
43030 * configure.in: Likewise.
43031 * intl/Makefile: Likewise.
43032 * locale/Makefile: Likewise.
43033 * po/Makefile: Likewise.
43034 * posix/Makefile: Likewise.
43035 * sysdeps/gnu/Makefile: Likewise.
43036 * sysdeps/mach/hurd/Makefile: Likewise.
43037 * sysdeps/sparc/sparc32/Makefile: Likewise.
43040 * posix/Makefile (bug-regex32-ENV): Define.
43041 Patch by John Stanley <jpsinthemix@verizon.net>.
43043 * misc/Makefile (headers): Add bits/select2.h.
43044 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43045 * misc/bits/select2.h: New file.
43046 * include/bits/select2.h: New file.
43047 * debug/Makefile (routines): Add fdelt_chk.
43048 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43049 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43051 * debug/fdelt_chk.c: New file.
43053 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43054 * wcsmbs/test-wmemcmp.c: Likewise.
43055 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43056 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43058 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43060 * string/Makefile (strop-tests): Add memcmp.
43061 * string/test-wmemcmp.c: New file.
43062 * string/test-memcmp.c: Add wmemcmp support.
43064 2011-09-08 Roland McGrath <roland@hack.frob.com>
43067 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43070 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43071 garbage value in a __mach_port_mod_refs call in the cases of the
43072 task-self and thread-self ports.
43074 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43076 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43078 2011-09-08 Andreas Schwab <schwab@redhat.com>
43080 * elf/dl-load.c (lose): Check for non-null L.
43082 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43084 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43086 * elf/dl-libc.c (dlerror_run): Pass back error code from
43090 * elf/dl-load.c (lose): Free l_origin if it is valid.
43092 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43094 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43095 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43096 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43097 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43098 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43099 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43101 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43103 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43104 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43105 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43106 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43107 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43108 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43109 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43110 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43111 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43112 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43114 2011-08-15 Alan Modra <amodra@gmail.com>
43117 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43118 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43119 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43120 ppc_mcount to static-only-routines.
43121 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43123 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43124 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43126 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43128 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43129 for finite and infinity parameters.
43131 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43134 and add nop instructions for throughput optimization.
43135 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43137 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43139 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43140 aligned copy for power7 with vector-scalar instructions.
43141 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43143 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43148 2011-09-07 Andreas Schwab <schwab@redhat.com>
43151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43154 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43156 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43157 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43158 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43159 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43162 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43165 Forgot to demangle the pointer.
43167 * sysdeps/i386/sysdep.h: Define atom_text_section.
43168 * sysdeps/x86_64/sysdep.h: Likewise.
43169 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43170 section with atom_text_section.
43171 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43172 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43173 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43174 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43175 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43177 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43178 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43179 already be defined. Change to take two parameters and don't assign
43180 result to variable. Adjust all users.
43181 Define INTERNAL_GETTIME if not already defined.
43182 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43185 HAVE_CLOCK_GETTIME_VSYSCALL.
43186 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43189 gettimeofday vsyscall, just use time.
43191 2011-09-06 Andreas Schwab <schwab@redhat.com>
43193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43196 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43198 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43202 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43204 syscall if possible.
43206 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43208 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43209 e_ident. Don't pass to find_mapsXX.
43210 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43212 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43215 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43216 * sysdeps/x86_64/multiarch/strchr.S: Update.
43217 Check bit_slow_BSF bit.
43218 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43219 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43220 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43222 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43225 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43227 (tryshell): Define.
43228 (__spawni): Change last parameter to be flag. Test
43229 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43230 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43231 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43232 * posix/spawni.c: Likewise.
43233 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43234 * posix/spawnp.c: Likewise. Change normal version to use
43235 SPAWN_XFLAGS_USE_PATH.
43236 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43237 SPAWN_XFLAGS_TRY_SHELL.
43240 * posix/glob.h: Remove gcc 1.x support.
43243 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43245 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43248 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43250 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43251 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43252 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43253 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43254 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43255 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43257 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43259 * sysdeps/x86_64/wcscmp.S: New file.
43261 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43262 wcscmp-c wcscmp-sse2
43263 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43264 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43265 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43266 * wcsmbs/wcscmp.c: Allow renaming.
43268 2011-09-05 David S. Miller <davem@davemloft.net>
43270 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43271 stack slot, rather than the struct return pointer slot.
43272 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43273 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43275 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43277 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43279 * po/ja.po: Update from translation team.
43282 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43283 kernel in 64-bit binaries.
43285 2011-09-01 David S. Miller <davem@davemloft.net>
43287 * elf/elf.h (HWCAP_SPARC_*): Move to..
43288 * sysdeps/sparc/sysdep.h: this new file and add new values.
43289 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43290 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43291 _DL_HWCAP_COUNT to 24.
43292 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43294 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43295 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43296 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43297 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43298 instead of magic constants.
43299 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43301 2011-08-31 David S. Miller <davem@davemloft.net>
43303 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43305 Reimplement to do errno handling inline.
43306 (SYSCALL_ERROR_HANDLER): New macro.
43307 (__SYSCALL_STRING): Do not do errno handling in asm.
43308 (__CLONE_SYSCALL_STRING): Delete.
43309 (__INTERNAL_SYSCALL_STRING): Delete.
43310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43311 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43312 (PSEUDO): Reimplement to do errno handling inline.
43313 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43314 (SYSCALL_ERROR_HANDLER): New macro.
43315 (__SYSCALL_STRING): Do not do errno handling in asm.
43316 (__CLONE_SYSCALL_STRING): Delete.
43317 (__INTERNAL_SYSCALL_STRING): Delete.
43318 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43319 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43321 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43322 (inline_syscall*): Add 'err' argument.
43323 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43324 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43325 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43326 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43328 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43329 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43331 2011-08-30 Andreas Schwab <schwab@redhat.com>
43333 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43335 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43337 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43340 2011-08-24 David S. Miller <davem@davemloft.net>
43342 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43344 2011-08-24 Andreas Schwab <schwab@redhat.com>
43346 * elf/Makefile: Add rules to build and run unload8 test.
43347 * elf/unload8.c: New file.
43348 * elf/unload8mod1.c: New file.
43349 * elf/unload8mod1x.c: New file.
43350 * elf/unload8mod2.c: New file.
43351 * elf/unload8mod3.c: New file.
43353 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43356 2011-08-23 David S. Miller <davem@davemloft.net>
43358 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43359 subtract stack bias.
43360 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43361 %sp not %fp in calculations.
43362 (_JMPBUF_UNWINDS_ADJ): Likewise.
43364 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43365 (aio_suspend): Call it to force an exception region around the
43366 AIO_MISC_WAIT() invocation.
43368 2011-08-23 Andreas Schwab <schwab@redhat.com>
43370 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43373 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43375 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43377 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43378 and <dl-machine.h>.
43379 (Elf64_FuncDesc): Remove.
43381 2011-08-22 David S. Miller <davem@davemloft.net>
43383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43384 sigaltstack check, add missing cfi directives.
43385 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43386 missing cfi directives, and sigaltstack handling.
43388 2011-08-16 Andreas Schwab <schwab@redhat.com>
43391 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43392 object is seen twice.
43393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43395 * elf/Makefile (distribute): Add tst-initorder2.c.
43396 (tests): Add tst-initorder2.
43397 (modules-names): Add tst-initorder2a tst-initorder2b
43398 tst-initorder2c tst-initorder2d. Add rules to build them.
43399 ($(objpfx)tst-initorder2.out): New rule.
43400 * elf/tst-initorder2.c: New file.
43401 * elf/tst-initorder2.exp: New file.
43403 2011-08-22 Andreas Schwab <schwab@redhat.com>
43405 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43407 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43408 dependencies back to end of function.
43410 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43411 $(elfobjdir)/ld.so.
43413 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43416 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43418 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43419 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43420 of __vdso_gettimeofday.
43421 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43422 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43424 (_libc_vdso_platform_setup): Remove initialization of
43425 __vdso_gettimeofday and __vdso_time.
43427 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43429 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43430 and fgetc_unlocked.
43431 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43434 * elf/dl-open.c (add_to_global): Report additions to the global scope
43435 for LD_DEBUG=scopes.
43436 (dl_open_worker): Also print scope of newly loaded dependencies.
43437 (_dl_show_scope): Indicate if there is no scope.
43440 * stdio-common/Makefile (tests): Add bug24.
43441 * stdio-common/bug24.c: New file.
43443 2011-08-19 Andreas Jaeger <aj@suse.de>
43446 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43447 non-existant file when using close-on-exec mode.
43449 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43452 the very first instruction.
43454 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43455 the CFI state in the end.
43456 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43457 inclusion of dl-trampoline.h.
43458 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43460 2011-08-19 Andreas Schwab <schwab@redhat.com>
43462 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43463 expectations for long double.
43465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43466 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43468 2011-08-14 David S. Miller <davem@davemloft.net>
43470 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43471 artificual limit depends upon the system page size.
43473 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43475 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43476 * resolv/Makefile: Define CFLAGS-libresolv.
43478 2011-08-17 Andreas Schwab <schwab@redhat.com>
43480 * nss/makedb.c (compute_tables): Make variables used in nested
43483 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43485 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43486 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43487 if buffer was too small.
43489 * elf/pldd.c (main): Attach to all threads in the process.
43490 Rewrite /proc handling to use *at functions.
43492 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43494 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43495 specifies first scope to show.
43496 (dl_open_worker): Update callers. Move printing scope of new
43497 object to before the relocation.
43498 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43499 * sysdeps/generic/ldsodefs.h: Update declaration.
43501 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43502 string for the scope number.
43504 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43506 * nscd/servicescache.c (cache_addserv): Make sure written is always
43509 2011-08-14 Roland McGrath <roland@hack.frob.com>
43511 * sysdeps/i386/i486/bits/atomic.h
43512 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43513 statement expression, so as to suppress "set but not used" warning.
43514 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43516 * string/strncat.c (STRNCAT): Use prototype definition.
43518 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43519 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43521 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43522 (localedef-modules): Add localedef.
43523 (locale-modules): Add locale.
43525 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43526 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43527 to avoid a warning.
43529 2011-08-14 David S. Miller <davem@davemloft.net>
43531 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43532 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43534 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43536 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43537 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43538 * elf/rtld.c (dl_main): Set l_name of vDSO.
43539 Call _dl_show_scope when DL_DEBUG_SCOPES.
43540 (process_dl_debug): Recognize scopes flag and also set it for all.
43541 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43542 Declare _dl_show_scope.
43544 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43545 (do_dlopen): Pass caller_dlopen to dl_open.
43546 (__libc_dlopen_mode): Initialize caller_dlopen.
43548 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43549 of libc. Make tolower call locale-independent. Optimize a bit by
43550 using isdigit instead of isalnum.
43551 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43553 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43555 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43556 was a dependency or dynamically loaded.
43558 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43560 * intl/l10nflist.c: Allow architecture-specific pop function.
43561 * sysdeps/x86_64/l10nflist.c: New file.
43563 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43566 2011-08-10 Andreas Schwab <schwab@redhat.com>
43568 * include/dirent.h: Add libc_hidden_proto for scandirat and
43569 scandirat64. Don't declare __scandirat64.
43570 * dirent/scandirat.c: Add libc_hidden_def.
43571 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43572 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43574 2011-08-10 David S. Miller <davem@davemloft.net>
43576 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43582 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43584 * Versions.def [libc]: Add GLIBC_2.15.
43585 * dirent/Makefile (routines): Add scandirat and scandirat64.
43586 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43588 * dirent/dirent.h: Declare scandirat and scandirat64.
43589 * dirent/scandirat.c: New file.
43590 * dirent/scandirat64.c: New file.
43591 * sysdeps/wordsize-64/scandirat.c: New file.
43592 * sysdeps/wordsize-64/scandirat64.c: New file.
43593 * dirent/opendir.c: Define opendirat.
43594 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43596 * dirent/scandir64.c: Adjust for scandir.c change.
43597 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43598 __scandirat64, and __scandir_cancel_handler.
43599 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43600 additional parameter and use openat instead of open (outside of ld.so).
43601 Add new __opendir as wrapper around __opendirat.
43602 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43603 here without requiring old scandirat implementation.
43605 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43607 * dirent/scandir.c (cancel_handler): Renamed to
43608 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43609 defined. Adjust users.
43610 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43611 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43613 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43615 * string/test-string.h (IMPL): Use __STRING to expand name and then
43618 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43621 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43623 * string/Makefile: Update.
43624 (strop-tests): Append strncat.
43625 * string/test-wcscmp.c: New file.
43626 New comprehensive test for wcscmp.
43627 * string/test-strcmp.c: Update.
43628 (WIDE): New define.
43630 2011-07-22 Andreas Schwab <schwab@redhat.com>
43632 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43635 2011-07-26 Andreas Schwab <schwab@redhat.com>
43637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43638 encoding to ACE if AI_IDN.
43640 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43643 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43645 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43648 Fix overflow bug in strncat.
43649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43651 * string/test-strncat.c: Update.
43652 Add new tests for checking overflow bugs.
43654 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43657 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43658 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43659 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43661 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43662 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43663 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43664 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43667 (USE_AS_STRCAT): Define.
43668 Add strcat and strncat support.
43669 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43671 2011-07-25 Andreas Schwab <schwab@redhat.com>
43673 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43674 __n bigger than INT_MAX+1.
43675 (__strncmp_g): Likewise.
43677 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43679 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43680 * libio/stido.h: Likewise.
43682 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43687 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43690 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43691 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43694 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43699 (_dl_x86_64_save_sse): Likewise.
43701 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43705 (_dl_x86_64_save_sse): Likewise.
43707 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43709 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43711 2011-07-21 Andreas Schwab <schwab@redhat.com>
43713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43715 (_dl_x86_64_save_sse): Use correct AVX check.
43717 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43719 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43720 bug in strncpy/strncat.
43721 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43723 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43725 * string/tester.c (test_strcat): Add tests for different alignments
43726 of source and destination.
43727 (test_strncat): Likewise.
43729 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43732 * posix/glob.c (glob): Check passed in values before using them in
43733 expressions to avoid some overflows.
43734 (glob_in_dir): Likewise.
43737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43738 check for AVX enablement so that we don't crash with old kernels and
43740 * elf/tst-audit4.c: Add same checks here.
43741 * elf/tst-audit6.c: Likewise.
43743 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43745 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43747 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43749 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43751 * po/cs.po: Update from translation team.
43752 * po/bg.po: Likewise.
43754 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43756 * misc/sys/cdefs.h: Add support for const attribute.
43757 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43758 to gnu_dev_{major,minor,makedev} functions.
43760 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43762 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43764 2011-07-20 Andreas Schwab <schwab@redhat.com>
43766 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43769 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43772 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43773 register in order to avoid conflicts with the soft frame pointer
43774 being held in r11 when necessary.
43775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43776 (INTERNAL_VSYSCALL_NCS): Likewise.
43778 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43780 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43781 * elf/dl-fini.c (_dl_fini): Adjust caller.
43782 * elf/dl-close.c (_dl_close_worker): Likewise.
43783 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43785 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43787 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43788 "aux_cache->nlibs < 0".
43790 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43791 in the reload-count case.
43793 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43796 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43797 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43798 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43799 * sysdeps/x86_64/multiarch/strcat.S: New file.
43800 * sysdeps/x86_64/multiarch/strncat.S: New file.
43801 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43802 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43803 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43804 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43806 (USE_AS_STRCAT): Define.
43807 Add strcat and strncat support.
43808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43809 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43810 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43811 * string/strncat.c: Update.
43812 (USE_AS_STRNCAT): Define.
43813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43814 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43816 * sysdeps/x86_64/multiarch/init-arch.h
43817 (bit_Prefer_PMINUB_for_stringop): New.
43818 (index_Prefer_PMINUB_for_stringop): Likewise.
43819 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43820 bit_Prefer_PMINUB_for_stringop.
43822 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43824 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43826 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43827 of casting of buffer.
43828 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43829 buffer32 and buffer64.
43830 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43831 writes instead of casting of buffer.
43832 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43834 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43837 2011-07-19 Andreas Schwab <schwab@redhat.com>
43839 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43841 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43843 * nscd/nscd.c (termination_handler): Don't do anything for a database
43844 if it has not yet been initialized.
43846 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43848 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43850 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43852 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43854 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43856 * po/nl.po: Update from translation team.
43857 * po/sv.po: Likewise.
43859 2011-07-16 Roland McGrath <roland@hack.frob.com>
43861 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43862 now disallowed by GCC.
43864 * configure.in (use-default-link): Default to yes if a test -shared
43865 link meets our qualifications.
43866 * configure: Regenerated.
43868 * config.make.in (output-format): New variable.
43869 * configure.in: Check for ld --print-output-format support.
43870 * configure: Regenerated.
43871 * Makerules ($(common-objpfx)format.lds)
43872 [$(output-format) != unknown]: Just use $(output-format),
43873 instead of the linker-script munging.
43875 2011-07-14 Roland McGrath <roland@hack.frob.com>
43877 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43878 of $(common-objpfx)shlib.lds.
43879 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43881 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43882 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43884 * configure.in (-z relro check): Adjust test code to add a large
43885 writable data section after it.
43886 * configure: Regenerated.
43888 2011-07-11 Roland McGrath <roland@hack.frob.com>
43890 * configure.in (-z relro check): Fix test code to make the variable
43892 * configure: Regenerated.
43894 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43896 * nscd/nscd.h (struct traced_file): Define.
43897 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43898 elements. Add traced_files.
43899 (inotify_fd): Declare.
43900 (register_traced_file): Declare.
43901 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43902 (inotify_fd): Export.
43903 (resolv_conf_descr): Remove.
43904 (nscd_init): Move inotify descriptor creation to main.
43905 Don't register files for notification here.
43906 (register_traced_file): New function.
43907 (invalidate_cache): Don't use reset_res to determine whether to call
43908 res_init, go through the list of registered files.
43909 (main_loop_poll): The inotify descriptors are now stored in the
43910 structures for the traced files.
43911 (main_loop_epoll): Likewise
43912 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43913 to __nss_disable_nscd.
43914 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43915 for a database anymore. Check the records for all the registered
43917 * nss/Makefile (libnss_files-routines): Add files-init.
43918 (libnss_db-routines): Add db-init.
43919 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43920 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43921 * nss/nss_db/db-init.c: New file.
43922 * nss/nss_files/files-init.c: New file.
43923 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43924 __nss_lookup_function.
43925 (__nss_lookup_function): Call nss_load_library.
43926 (nss_load_all_libraries): New function.
43927 (__nss_disable_nscd): Take parameter with callback function for files
43928 to register. Set is_nscd. Load all the DSOs for the NSS modules
43929 used for the cached services.
43930 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43931 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43932 options for features to all the files in nscd.
43934 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43936 2011-07-10 Roland McGrath <roland@hack.frob.com>
43938 * csu/elf-init.c (__libc_csu_init): Comment typo.
43940 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43942 * po/pl.po: Update from translation team.
43943 * po/ja.po: Likewise.
43944 * po/ru.po: Likewise.
43945 * po/ko.po: Likewise.
43946 * po/fr.po: Likewise.
43948 2011-07-09 Roland McGrath <roland@hack.frob.com>
43950 * configure.in (.ctors/.dtors header and trailer check):
43951 Use an empirical test on a built program.
43952 * configure: Regenerated.
43954 * configure.in (-z relro check): Use an empirical test on a built DSO.
43955 Detect, but do not require, on ia64.
43956 * configure: Regenerated.
43958 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43959 Update tests that use readelf to use $READELF instead.
43960 * configure: Regenerated.
43962 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43964 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43965 if the result is not used.
43967 2011-07-05 Andreas Jaeger <aj@suse.de>
43970 * stdlib/tst-strtod.c: Add testcase.
43972 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43974 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43975 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43976 The latter has a higher limit. Take additional parameter to pass to
43978 (__pathconf): Pass file to __statfs_link_max.
43979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43981 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43985 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43986 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43989 (__statfs_filesize_max): Likewise.
43990 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43992 2011-07-05 Andreas Jaeger <aj@suse.de>
43994 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43996 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43998 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44000 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44003 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44005 * Makefile (strop-tests): Add strncat.
44006 * string/test-strncat.c: New file.
44008 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44010 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44012 2011-06-21 Andreas Jaeger <aj@suse.de>
44014 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44015 Copy rule from iconvdata/Makefile.
44017 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44020 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44021 but no long options are defined, just return 'W'.
44023 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44026 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44028 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44030 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44032 (innetgr): Likewise.
44034 2011-07-05 Roland McGrath <roland@hack.frob.com>
44036 * config.make.in (install_root): Default to $(DESTDIR).
44038 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44040 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44042 2011-07-02 Roland McGrath <roland@hack.frob.com>
44044 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44046 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44047 containing directory rather than embedding absolute directory names.
44049 * scripts/check-local-headers.sh: Rewritten using awk.
44050 Match by word, not by line. Print error messages for matches.
44051 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44053 * Makerules [shlib-lds-flags empty]:
44054 ($(common-objpfx)libc_pic.opts): New target.
44055 ($(common-objpfx)libc_pic.os.clean): New target.
44056 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44058 * config.make.in (OBJCOPY): New variable.
44059 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44060 * configure: Regenerated.
44062 * config.make.in (use-default-link): New variable.
44063 * configure.in (use_default_link): Grok --with-default-link to set it.
44064 * configure: Regenerated.
44065 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44066 (shlib-lds, shlib-lds-flags): Define to empty.
44068 * Makerules (shlib-lds): New variable.
44069 (shlib-lds-flags): New variable.
44070 (build-shlib, build-moduile, build-module-asneeded): Use it.
44071 ($(common-objpfx)libc.so): Use $(shlib-lds).
44072 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44073 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44075 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44076 DT_FLAGS/DT_FLAGS_1 with zero flags.
44078 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44079 linker script munging.
44081 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44083 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44085 * crypt/sha512.c (sha512_process_block): Perform total addition using
44086 128-bit if possible.
44087 (__sha512_finish_ctx): Likewise.
44088 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44090 * crypt/sha256.c (SWAP64): Define.
44091 (sha256_process_block): Perform total addition using 64-bit if
44093 (__sha256_finish_ctx): Likewise.
44095 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44097 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44098 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44099 * nscd/hstcache.c (cache_addhst): Likewise.
44100 * nscd/grpcache.c (cache_addgr): Likewise.
44101 * nscd/aicache.c (addhstaiX): Likewise
44102 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44104 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44106 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44107 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44108 * nscd/hstcache.c (cache_addhst): Likewise.
44109 * nscd/grpcache.c (cache_addgr): Likewise.
44110 * nscd/aicache.c (addhstaiX): Likewise
44112 2011-07-01 Andreas Schwab <schwab@redhat.com>
44114 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44115 domain only when needed.
44117 2011-06-30 Andreas Schwab <schwab@redhat.com>
44119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44120 is always restored.
44122 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44124 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44125 are re-adding the entry.
44126 * nscd/servicescache.c (cache_addserv): Likewise.
44128 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44130 * sysdeps/generic/dl-irel.h: fix protection against multiple
44132 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44134 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44137 * malloc/memusage.sh: Fix quoting in message.
44138 * debug/xtrace.sh: Likewise.
44140 * configure.in: Remove support for --experimental-malloc option, make
44142 * config.make.in: Likewise.
44143 * malloc/Makefile: Likewise.
44145 2011-06-27 Andreas Schwab <schwab@redhat.com>
44147 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44148 two-byte characters.
44150 2011-06-27 Roland McGrath <roland@hack.frob.com>
44152 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44153 AC_CACHE_CHECK invocation.
44154 * configure: Regenerated.
44156 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44158 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44161 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44162 bit from old_res_options.
44164 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44166 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44167 value type for setfct.
44169 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44172 __gettimeofday instead of gettimeofday.
44174 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44176 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44178 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44180 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44182 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44185 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44188 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44189 strcpy-sse2-unaligned strncpy-sse2-unaligned
44190 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44191 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44192 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44193 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44194 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44195 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44197 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44198 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44199 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44200 (STRCPY): Support SSE2 and SSSE3 versions.
44202 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44205 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44206 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44207 kernels which artificially limit size of requests.
44209 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44212 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44213 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44214 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44215 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44216 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44217 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44218 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44220 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44221 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44222 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44223 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44224 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44225 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44227 Enable unaligned load optimization for Intel Core i3, i5 and i7
44229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44231 (index_Fast_Unaligned_Load): Define.
44232 (HAS_FAST_UNALIGNED_LOAD): Define.
44234 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44236 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44238 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44242 until it is clear that the information is realy needed.
44243 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44245 2011-06-22 Andreas Schwab <schwab@redhat.com>
44247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44249 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44252 /sys/devices/system/cpu/online if it is usable.
44254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44255 reading the information from the /proc filesystem to once a second.
44257 2011-06-21 Andreas Jaeger <aj@suse.de>
44259 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44260 NULL after inclusion of kernel headers.
44262 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44264 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44265 calls to internal_setent.
44268 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44269 addresses using gethostbyname4_r ignore IPv4 addresses.
44271 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44272 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44274 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44276 2011-06-20 David S. Miller <davem@davemloft.net>
44278 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44280 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44282 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44283 (elf_irel): Use it.
44284 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44285 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44286 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44287 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44288 * sysdeps/x86_64/dl-irel.h: Likewise.
44290 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44291 * elf/dl-sym.c: Likewise.
44293 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44295 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44296 need to dereference resplen2.
44298 2011-06-14 Andreas Schwab <schwab@redhat.com>
44300 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44302 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44304 * Makeconfig: Define vardbdir and inst_vardbdir.
44305 * nss/Makefile: Add rules to install db-Makefile.
44307 * nss/nss_db/db-XXX.c: Cleanup.
44309 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44310 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44312 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44313 * nss/makedb.c: Implement -g option to specify that value strings
44314 are generated and should not be added to table iterated over for
44316 * nss/nss_db/db-initgroups.c: New file.
44318 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44321 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44322 (internal_getgrouplist): Adjust to name change.
44323 Update use_initgroups_entry if this is not the first call.
44324 * nss/databases.def: Add initgroups entry.
44326 * nss/makedb.c (compute_tables): Check result of multiple hash table
44327 sizes to minimize maximum chain length.
44329 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44331 * Versions.def: Add entry for libnss_db.
44332 * shlib-versions: Likewise.
44333 * nss/Makefile: Add rules to build libnss_db.
44334 * nss/Versions: Add libnss_db information. Organize libnss_files
44336 * nss/db-Makefile: Add gshadow support. Change rules for the new
44337 makedb progra. Some minor improvements to generate smaller files.
44338 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44340 * nss/makedb.c: ...here.
44341 Improve database format to be smaller and require less memory at
44343 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44345 * nss/nss_db/db-netgrp.c: Likewise.
44346 * nss/nss_db/db-open.c: Likewise.
44347 * nss/nss_files/flies-XXX.x: Adjust comments.
44348 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44349 * nss/nss_files/files-grp.c: Likewise.
44350 * nss/nss_files/files-hosts.c: Likewise.
44351 * nss/nss_files/files-network.c: Likewise.
44352 * nss/nss_files/files-proto.c: Likewise.
44353 * nss/nss_files/files-pwd.c: Likewise.
44354 * nss/nss_files/files-rpc.c: Likewise.
44355 * nss/nss_files/files-service.c: Likewise.
44356 * nss/nss_files/files-sgrp.c: Likewise.
44357 * nss/nss_files/files-spwd.c: Likewise.
44358 * nss/nss_db/db-alias.c: Removed.
44359 * nss/nss_db/dummy-db.h: Removed.
44361 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44363 * nss/makedb.c: Rewritten to not use database library.
44364 * nss/Makefile: Update to build new makedb program.
44366 2011-06-14 Andreas Jaeger <aj@suse.de>
44368 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44369 memset declaration.
44371 2011-06-10 Andreas Schwab <schwab@redhat.com>
44373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44376 2011-06-10 Roland McGrath <roland@hack.frob.com>
44378 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44379 * elf/Makefile ($(objpfx)ld.so): Likewise.
44381 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44382 Don't list ld.so twice in dependencies.
44384 * posix/bug-regex31.c: Include <stdlib.h>.
44386 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44388 * nis/nss_compat/compat-spwd.c
44389 (getspent_next_nss_netgr): Remove unused variable.
44390 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44392 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44393 nonmembers" output to use the right array.
44395 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44397 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44399 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44400 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44401 * catgets/gencat.c (read_input_file): Likewise.
44402 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44404 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44405 variable definition inside #if's controlling its use.
44407 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44409 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44411 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44413 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44416 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44418 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44419 * configure: Regenerated.
44421 * Makerules: Revert last change.
44422 * elf/Makefile: Likewise.
44424 2011-06-09 Roland McGrath <roland@hack.frob.com>
44426 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44427 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44428 (reloc-link): Likewise.
44430 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44432 * elf/Makefile: Add rules to build pldd.
44433 * elf/pldd.c: New file.
44434 * elf/pldd-xx.c: New file.
44436 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44438 * version.h: Update for 2.15 development version.
44440 2011-06-07 David S. Miller <davem@davemloft.net>
44442 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44445 elf_machine_lazy_rel): Likewise.
44446 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44447 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44448 elf_machine_lazy_rel): Likewise.
44449 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44450 dl_hwcap via passed in argument.
44451 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44454 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44456 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44458 2011-06-06 Roland McGrath <roland@hack.frob.com>
44461 * manual/fdl-1.1.texi: New file, verbatim from:
44462 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44463 * manual/lgpl-2.1.texi: New file, verbatim from:
44464 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44465 * manual/Makefile (licenses): New variable, list those new file names.
44467 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44469 * manual/fdl.texi: File removed.
44470 * manual/lesser.texi: File removed.
44471 * manual/libc.texinfo (Copying, Documentation License):
44472 Use new @include file names, put @appendix directive before @include.
44474 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44477 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44478 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44479 (mq_open): Add __NTH.
44481 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44484 Assume Intel Core i3/i5/i7 processor if AVX is available.
44486 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44491 2011-05-31 Andreas Schwab <schwab@redhat.com>
44493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44494 memory. Use alloca_account. Fix memory leak when retrying.
44496 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44498 * version.h (RELEASE): Bump for 2.14 release.
44499 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44501 * config.make.in (RANLIB): Remove entry.
44503 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44505 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44506 (libc.pot): Work around missing support for .ksh extension in xgettext.
44509 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44510 if both request failed.
44511 (send_dg): In case of server errors clear resplen or *resplen2.
44514 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44515 when there are multiple maps.
44516 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44517 (_dl_fini): Remove test here.
44519 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44521 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44524 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44525 bit from old_res_options.
44526 (gaih_inet): Likewise.
44529 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44532 * resolv/res_init.c (res_setoptions): Make the code more compact.
44535 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44539 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44541 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44544 * malloc/malloc.h: Declare malloc hook variables as volatile.
44546 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44550 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44551 raise in the comment.
44552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44554 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44556 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44559 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44560 grow the buffers more if it already has to be sufficient.
44561 (build_wcs_upper_buffer): Likewise.
44562 * posix/regexec.c (check_matching): Likewise.
44563 (clean_state_log_if_needed): Likewise.
44564 (extend_buffers): Don't enlarge buffers beyond size of the input
44566 Patches mostly by Emil Wojak <emil@wojak.eu>.
44567 * posix/bug-regex32.c: New file.
44568 * posix/Makefile (tests): Add bug-regex32.
44570 * locale/findlocale.c (_nl_find_locale): Return right away if
44571 _nl_explode_name failed.
44572 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44574 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44576 * debug/xtrace.sh: Unify messages.
44577 * malloc/memusage.sh: Likewise.
44580 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44581 time symbol from vDSO. Substitute with vsyscall if not available.
44582 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44585 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44586 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44587 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44588 Add sendmmsg and internal_sendmmsg.
44589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44590 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44591 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44593 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44594 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44595 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44597 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44600 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44601 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44603 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44607 * iconvdata/Makefile (tests): Add bug-iconv9.
44608 * iconvdata/bug-iconv9.c: New file.
44610 2011-05-27 Andreas Schwab <schwab@redhat.com>
44613 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44615 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44618 (struct user_regs_struct): Change intcs field back to cs.
44620 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44622 * po/ja.po: Update from translation team.
44624 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44627 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44628 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44630 2011-05-20 Andreas Schwab <schwab@redhat.com>
44632 * stdlib/longlong.h: Update from GCC.
44634 2011-05-23 Andreas Schwab <schwab@redhat.com>
44636 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44638 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44639 Add parameter name.
44640 (__sysconf): Pass it down.
44642 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44645 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44647 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44648 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44649 add in in __libc_use_alloca calls. Adjust callers.
44650 (glob): Use malloc in some situations.
44652 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44653 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44656 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44658 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44659 and CLOCK_BOOTTIME_ALARM.
44662 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44665 * string/_strerror.c (__strerror_r): Print negative errors as signed
44669 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44670 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44671 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44673 * configure.in: Fix typo in redirection and correct removal of test
44674 files in two cases.
44677 * locale/setlocale.c (new_composite_name): Fix test to check for
44678 identical name of all categories.
44681 * libio/filedoalloc.c (local_isatty): New function.
44682 (_IO_file_doallocate): Use local_isatty.
44683 * stdio-common/perror.c (perror): In case a new stream is used
44684 forward the stream error.
44685 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44688 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44693 * include/alloca.h (extend_alloca_account): Define.
44696 * posix/regex.h: Fix comments with documentation of user-accessible
44697 fields after compilation and describe correct free'ing of pattern
44698 after re_compile_pattern.
44699 Patch by Reuben Thomas <rrt@sc3d.org>.
44701 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44703 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44704 and -mno-altivec to prevent the compiler from using Altivec and/or
44705 VSX instructions when the corresponding registers are not available.
44707 2011-05-19 Andreas Schwab <schwab@redhat.com>
44709 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44711 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44713 * libio/freopen.c (freopen): Use __dup2, not dup2.
44714 * libio/freopen64.c (freopen64): Likewise.
44716 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44719 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44720 * math/Makefile (tests): Add test-powl.
44721 (CFLAGS-test-powl.c): Define.
44722 * math/test-powl.c: New file.
44724 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44726 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44728 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44731 * iconvdata/gb18030.c: Update to GB18020-2005.
44733 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44735 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44736 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44737 Patch by Aharon Robbins <arnold@skeeve.com>.
44740 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44744 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44745 through underflows.
44748 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44749 point to strings before performing equality test for error_one_per_line
44753 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44757 (struct user_fpregs_struct): Avoid __uint*_t types.
44760 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44761 symbol info. Use it instead of calling _dl_addr locally.
44762 (lock_and_info): New function.
44763 (tr_freehook): Call lock_and_info and pass symbol info as additional
44764 parameter to tr_where.
44765 (tr_mallochook): Likewise.
44766 (tr_reallochook): Likewise.
44767 (tr_memalignhook): Likewise.
44769 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44770 used and couldn't be at all thread-safe.
44772 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44774 * libio/freopen.c (freopen): Don't close old file descriptor
44775 before the new one is opened. Instead dup the new file descriptor
44776 to the old one after the new stream is created.
44777 * libio/freopen64.c (freopen64): Likewise.
44778 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44779 * libio/fileops.c (_IO_new_file_close_it): Handle new
44780 _IO_FLAGS2_NOCLOSE flag.
44781 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44782 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44783 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44784 _IO_FLAGS2_NOCLOSE flag.
44785 * include/unistd.h: Add hidden_proto for dup3.
44786 Define __have_dup3.
44787 * io/dup3.c: Define hidden symbol.
44788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44791 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44792 when an incomplete long option is used.
44793 * posix/tst-getopt_long1.c: New file.
44794 * posix/Makefile (tests): Add tst-getopt_long1.
44797 * scripts/config.guess: Update from autoconf-2.68.
44798 * scripts/config.sub: Likewise.
44801 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44803 (has_cpuclock): ...this. New function.
44804 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44805 macro here based on has_cpuclock code.
44808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44809 First byte (not low byte) is now always NUL.
44810 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44813 Use non-cancelable interfaces.
44816 * locale/iso-639.def: Add entry for Sorani.
44819 * include/stdlib.h: Move include protection to the right place.
44820 Define abort_msg_s. Declare __abort_msg with it.
44821 * stdlib/abort.c (__abort_msg): Adjust type.
44822 * assert/assert.c (__assert_fail_base): New function. Majority
44823 of code from __assert_fail. Allocate memory for __abort_msg with
44825 (__assert_fail): Now call __assert_fail_base.
44826 * assert/assert-perr.c: Remove bulk of implementation. Use
44827 __assert_fail_base.
44828 * include/assert.hL Declare __assert_fail_base.
44829 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44831 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44833 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44837 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44838 until all modules are registered in the DTV.
44839 * elf/Makefile: Add rules to build and run tst-tls19.
44840 * elf/tst-tls19.c: New file.
44841 * elf/tst-tls19mod1.c: New file.
44842 * elf/tst-tls19mod2.c: New file.
44843 * elf/tst-tls19mod3.c: New file.
44844 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44847 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44851 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44852 two-byte sequence errors.
44853 * iconvdata/Makefile (tests): Add bug-iconv8.
44854 * iconvdata/bug-iconv8.c: New file.
44857 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44860 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44863 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44864 (dummy_getcfa): New function.
44865 (init): Get _Unwind_GetCFA address, use dummy if not found.
44866 (backtrace_helper): In recursion check, also check whether CFA changes.
44867 (__backtrace): Completely initialize arg.
44869 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44870 storing incomplete byte sequence in state object. Avoid testing for
44871 guaranteed too small input if we know there is enough data available.
44873 2011-05-11 Andreas Schwab <schwab@redhat.com>
44875 * Makeconfig (+link-pie): Indent.
44876 * Rules (binaries-pie): Define if $(have-fpie) and
44878 (binaries-shared): Also filter out $(binaries-pie).
44879 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44880 * nscd/Makefile (others-pie): Add nscd.
44881 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44882 ($(objpfx)nscd): Remove command override.
44883 * login/Makefile (others-pie): Add pt_chown.
44884 ($(objpfx)pt_chown): Remove command override.
44885 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44886 remove command overrides.
44888 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44890 * libio/tst_putwc.c: Fix error messages.
44893 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44894 currently writing and seek to current position when not.
44895 * libio/Makefile (tests): Add bug-fclose1.
44896 * libio/bug-fclose1.c: New file.
44898 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44901 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44902 don't set DF_1_NODELETE here.
44903 (do_lookup_x): When entering new entry test for copy relocation
44904 and if necessary set DF_1_NODELETE flag.
44905 * elf/tst-unique4.cc: New file.
44906 * elf/tst-unique4.h: New file.
44907 * elf/tst-unique4lib.cc: New file.
44908 * elf/Makefile: Add rules to build and run tst-unique4.
44909 Patch by Piotr Bury <pbury@goahead.com>.
44911 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44914 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44917 * misc/mntent_r.c (addmntent): Flush the stream after the output
44920 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44921 (is_trusted_path_normalize): Skip initial colon. Append slash
44922 to empty buffer. Duplicate is_trusted_path code but allow
44923 constructed patch to be prefix.
44924 (is_dst): Allow $ORIGIN followed by /.
44925 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44926 Correct testing of result of is_trusted_path_normalize
44927 (decompose_rpath): Fix warning.
44929 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44932 * grp/initgroups.c (internal_getgrouplist): When we found the service
44933 list through the initgroups entry in nsswitch.conf do not always
44934 continue on a successful lookup. Don't always use the
44935 __nss_group_database value if it is set.
44936 * nss/nsswitch.conf (initgroups): Change action for successful db
44937 lookup to continue for compatibility.
44939 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44942 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44944 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44946 * iconvdata/tst-tables.sh: Likewise.
44947 * iconvdata/cp770.c: New file.
44948 * iconvdata/cp771.c: New file.
44949 * iconvdata/cp772.c: New file.
44950 * iconvdata/cp773.c: New file.
44951 * iconvdata/cp774.c: New file.
44952 * iconvdata/testdata/CP770: New file.
44953 * iconvdata/testdata/CP770..UTF8: New file.
44954 * iconvdata/testdata/CP771: New file.
44955 * iconvdata/testdata/CP771..UTF8: New file.
44956 * iconvdata/testdata/CP772: New file.
44957 * iconvdata/testdata/CP772..UTF8: New file.
44958 * iconvdata/testdata/CP773: New file.
44959 * iconvdata/testdata/CP773..UTF8: New file.
44960 * iconvdata/testdata/CP774: New file.
44961 * iconvdata/testdata/CP774..UTF8: New file.
44963 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44965 * iconvdata/gen-8bit-gap.sh: Likewise.
44966 * iconvdata/gen-8bit.sh: Likewise.
44968 * locale/iso-639.def: Add ary entry.
44971 * locale/C-translit.h.in: Add U20A1 transliteration.
44974 * locale/iso-639.def: Add wae entry.
44975 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44978 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44982 * locale/C-translit.h.in: Add entry for U20B9.
44983 Patch by pravin.d.s@gmail.com.
44985 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44988 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44989 ENAMETOOLONG use generic getcwd.
44990 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44991 in rtld. Use *stat64.
44992 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44993 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44994 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44995 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44996 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44997 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44998 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44999 __fstatat64 macros.
45000 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45001 * dirent/rewinddir.c: Add libc_hidden_def.
45002 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45003 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45005 * include/dirent.h (__alloc_dir): Add flags parameter.
45006 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45007 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45009 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45010 from fdopendir if O_CLOEXEC is already set.
45012 2011-03-15 Alan Modra <amodra@gmail.com>
45014 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45015 l_tls_firstbyte_offset non-zero. Save padding offset in
45016 l_tls_firstbyte_offset for later use.
45017 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45018 freeing static tls block.
45020 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45022 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45023 where #ifdef was intended. The intent is to prevent ARG_MAX from
45024 being defined by the kernel headers.
45026 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45029 * resolv/resolv.h: Define RES_NOTLDQUERY.
45030 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45031 no-tld-query and set RES_NOTLDQUERY.
45032 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45033 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45034 modern BIND to search name as TLD unless forbidden.
45036 2011-05-07 Petr Baudis <pasky@suse.cz>
45037 Ulrich Drepper <drepper@gmail.com>
45040 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45041 (is_trusted_path): ...to here.
45042 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45043 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45044 using is_trusted_path_normalize() in setuid scripts.
45046 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45048 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45049 __BEGIN/__END_DECLS.
45051 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45054 NSS_STATUS_NOTFOUND if no record was found.
45056 2011-05-05 Andreas Schwab <schwab@redhat.com>
45058 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45059 (headers-not-in-tirpc): Remove rpc/netdb.h
45060 * resolv/netdb.h: Revert last change.
45062 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45064 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45065 circular dependency between libgcc.a and libc.a.
45067 2011-05-05 Andreas Schwab <schwab@redhat.com>
45069 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45070 * nis/Makefile: Don't install rpcsvc/*.
45071 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45072 instead of <rpc/types.h>.
45073 (MAXHOSTNAMELEN): Define.
45075 2011-05-03 Andreas Schwab <schwab@redhat.com>
45077 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45079 2011-04-28 Maciej Babinski <mbabinski@google.com>
45082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45083 gethostbyname4_r when IPv6 results are possible.
45085 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45088 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45089 _PC_PIPE_BUF handling.
45091 2011-04-30 Bruno Haible <bruno@clisp.org>
45094 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45095 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45097 * inet/getnameinfo.c (getnameinfo): Likewise.
45099 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45101 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45102 to groups setting in database lookup.
45103 * nss/nsswitch.conf: Add initgroups entry.
45105 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45108 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45110 Patch by Eric Blake <eblake@redhat.com>.
45112 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45114 * sunrpc/Makefile (need-export-routines): Add svc_run.
45115 (routines): Remove svc_run.
45116 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45117 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45118 * sunrpc/svc_run.c (svc_run): Likewise.
45119 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45121 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45124 problem in reallocation in last patch.
45126 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45128 * sunrpc/Makefile: Move inclusion of Rules.
45130 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45132 * nss/nss_files/files-initgroups.c: New file.
45133 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45134 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45135 _nss_files_initgroups_dyn.
45137 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45139 * elf/elf.h (R_ARM_IRELATIVE): Define.
45141 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45143 * po/ru.po: Update from translation team.
45145 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45147 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45150 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45153 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45154 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45155 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45156 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45159 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45161 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45163 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45164 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45165 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45167 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45170 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45172 * stdlib/bug-getcontext.c: New file.
45173 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45175 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45177 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45178 instructions into .machine "z9-109".
45179 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45180 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45182 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45184 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45185 between environment variables and auxiliary vector.
45187 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45189 * Makefile: Add rules to build linkobj/libc.so.
45190 * include/libc-symbols.h: Define libc_hidden_nolink.
45191 * include/rpc/auth.h: Mark functions which are to be hidden.
45192 * include/rpc/auth_des.h: Likewise.
45193 * include/rpc/auth_unix.h: Likewise.
45194 * include/rpc/clnt.h: Likewise.
45195 * include/rpc/des_crypt.h: Likewise.
45196 * include/rpc/key_prot.h: Likewise.
45197 * include/rpc/pmap_clnt.h: Likewise.
45198 * include/rpc/pmap_prot.h: Likewise.
45199 * include/rpc/pmap_rmt.h: Likewise.
45200 * include/rpc/rpc_msg.h: Likewise.
45201 * include/rpc/svc.h: Likewise.
45202 * include/rpc/svc_auth.h: Likewise.
45203 * include/rpc/xdr.h: Likewise.
45204 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45205 * nss/Makefile: Likewise.
45206 * sunrpc/Makefile: Don't install headers. Build library with normal
45207 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45208 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45209 for the compat linking library. Remove use of INTDEF/INTUSE.
45210 * sunrpc/auth_none.c: Likewise.
45211 * sunrpc/auth_unix.c: Likewise.
45212 * sunrpc/authdes_prot.c: Likewise.
45213 * sunrpc/authuxprot.c: Likewise.
45214 * sunrpc/clnt_gen.c: Likewise.
45215 * sunrpc/clnt_perr.c: Likewise.
45216 * sunrpc/clnt_raw.c: Likewise.
45217 * sunrpc/clnt_simp.c: Likewise.
45218 * sunrpc/clnt_tcp.c: Likewise.
45219 * sunrpc/clnt_udp.c: Likewise.
45220 * sunrpc/clnt_unix.c: Likewise.
45221 * sunrpc/des_crypt.c: Likewise.
45222 * sunrpc/des_soft.c: Likewise.
45223 * sunrpc/get_myaddr.c: Likewise.
45224 * sunrpc/key_call.c: Likewise.
45225 * sunrpc/key_prot.c: Likewise.
45226 * sunrpc/netname.c: Likewise.
45227 * sunrpc/pm_getmaps.c: Likewise.
45228 * sunrpc/pm_getport.c: Likewise.
45229 * sunrpc/pmap_clnt.c: Likewise.
45230 * sunrpc/pmap_prot.c: Likewise.
45231 * sunrpc/pmap_prot2.c: Likewise.
45232 * sunrpc/pmap_rmt.c: Likewise.
45233 * sunrpc/publickey.c: Likewise.
45234 * sunrpc/rpc_cmsg.c: Likewise.
45235 * sunrpc/rpc_common.c: Likewise.
45236 * sunrpc/rpc_dtable.c: Likewise.
45237 * sunrpc/rpc_prot.c: Likewise.
45238 * sunrpc/rpc_thread.c: Likewise.
45239 * sunrpc/rtime.c: Likewise.
45240 * sunrpc/svc.c: Likewise.
45241 * sunrpc/svc_auth.c: Likewise.
45242 * sunrpc/svc_authux.c: Likewise.
45243 * sunrpc/svc_raw.c: Likewise.
45244 * sunrpc/svc_run.c: Likewise.
45245 * sunrpc/svc_simple.c: Likewise.
45246 * sunrpc/svc_tcp.c: Likewise.
45247 * sunrpc/svc_udp.c: Likewise.
45248 * sunrpc/svc_unix.c: Likewise.
45249 * sunrpc/svcauth_des.c: Likewise.
45250 * sunrpc/xcrypt.c: Likewise.
45251 * sunrpc/xdr.c: Likewise.
45252 * sunrpc/xdr_array.c: Likewise.
45253 * sunrpc/xdr_float.c: Likewise.
45254 * sunrpc/xdr_intXX_t.c: Likewise.
45255 * sunrpc/xdr_mem.c: Likewise.
45256 * sunrpc/xdr_rec.c: Likewise.
45257 * sunrpc/xdr_ref.c: Likewise.
45258 * sunrpc/xdr_sizeof.c: Likewise.
45259 * sunrpc/xdr_stdio.c: Likewise.
45261 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45264 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45265 * sysdeps/ia64/dl-tls.h: Likewise.
45266 * sysdeps/powerpc/dl-tls.h: Likewise.
45267 * sysdeps/s390/dl-tls.h: Likewise.
45268 * sysdeps/sh/dl-tls.h: Likewise.
45269 * sysdeps/sparc/dl-tls.h: Likewise.
45270 * sysdeps/x86_64/dl-tls.h: Likewise.
45271 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45273 2011-03-14 Andreas Schwab <schwab@redhat.com>
45275 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45276 rpath element also skip the following colon.
45277 (expand_dynamic_string_token): Add is_path parameter and pass
45278 down to DL_DST_REQUIRED and _dl_dst_substitute.
45279 (decompose_rpath): Call expand_dynamic_string_token with
45280 non-zero is_path. Ignore empty rpaths.
45281 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45284 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45289 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45292 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45293 Patch by Filipe David Manana <fdmanana@apache.org>.
45295 2011-04-07 Andreas Schwab <schwab@redhat.com>
45297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45298 Maintain aligned stack.
45299 (CHECK_RSP): Remove unused macro.
45301 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45303 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45304 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45306 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45308 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45310 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45312 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45315 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45316 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45317 * sysdeps/x86_64/memmove.c: New file.
45318 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45319 (memcpy): Renamed to ...
45320 (__new_memcpy): This.
45321 (memcpy): Provide GLIBC_2_14 memcpy.
45322 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45323 (memcpy): Provide GLIBC_2_2_5 memcpy.
45325 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45328 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45330 2011-03-30 Andreas Schwab <schwab@redhat.com>
45332 * misc/syncfs.c: New file.
45333 * misc/Makefile (routines): Add syncfs.
45334 * posix/unistd.h: Declare syncfs.
45335 * sysdeps/unix/syscalls.list: Add syncfs.
45337 2011-04-01 Andreas Schwab <schwab@redhat.com>
45339 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45346 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45349 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45351 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45353 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45359 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45360 sync_file_range.c with -fexceptions.
45361 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45362 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45363 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45364 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45365 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45366 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45368 sync_file_range as cancellation point
45369 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45370 now a wrapper around __call_sync_file_range with cancellation handling.
45371 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45372 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45373 function name to __call_sync_file_range.
45374 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45375 Add call_sync_file_range.
45377 2011-04-01 Andreas Schwab <schwab@redhat.com>
45379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45382 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45384 * iconv/iconv.h: Fix typo in comment.
45385 * io/fcntl.h: Likewise.
45386 * libio/stdio.h: Likewise.
45387 * posix/spawn.h: Likewise.
45388 * posix/unistd.h: Likewise.
45389 * stdlib/stdlib.h: Likewise.
45390 * time/time.h: Likewise.
45391 * wcsmbs/wchar.h: Likewise.
45393 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45394 open_by_handle): Add.
45395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45396 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45397 Augment a few comments.
45398 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45400 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45403 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45406 * io/fcntl.h (AT_EMPTY_PATH): Define.
45408 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45410 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45411 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45412 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45414 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45415 * Versions.def: Add GLIBC_2.14.
45416 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45419 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45423 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45425 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45428 * string/test-strncmp.c (do_page_test): New function.
45429 (check2): Likewise.
45430 (test_main): Call check2.
45431 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45433 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45436 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45437 Handle cache information in CPU leaf 4.
45438 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45440 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45443 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45444 character representation.
45445 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45447 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45449 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45450 END(__isnan) to END(__isnanf) to match function entry point/label
45451 EALIGN(__isnanf,...).
45453 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45455 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45457 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45460 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45461 copy from the symbol referenced in the relocation to initialize the
45463 Patch by Piotr Bury <pbury@goahead.com>.
45464 * elf/Makefile: Add rules to build and tst-unique3.
45465 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45466 * elf/tst-unique3.cc: New file.
45467 * elf/tst-unique3.h: New file.
45468 * elf/tst-unique3lib.cc: New file.
45469 * elf/tst-unique3lib2.cc: New file.
45471 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45473 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45475 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45476 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45479 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45481 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45482 to-be-loaded object along a path to loader is ld.so.
45484 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45485 Ulrich Drepper <drepper@gmail.com>
45487 * sysdeps/x86_64/memset.S: After aligning destination, code
45488 branches to different locations depending on the value of
45489 misalignment, when multiarch is enabled. Fix this.
45491 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45493 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45494 Set _x86_64_preferred_memory_instruction for AMD processsors.
45495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45496 Set bit_Prefer_SSE_for_memop for AMD processors.
45498 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45500 * libio/fmemopen.c (fmemopen): Optimize a bit.
45502 2011-03-03 Andreas Schwab <schwab@redhat.com>
45504 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45506 2011-03-03 Roland McGrath <roland@redhat.com>
45508 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45510 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45512 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45513 __bzero_ultra1 instead of __memset_ultra1.
45515 2011-02-23 Andreas Schwab <schwab@redhat.com>
45516 Ulrich Drepper <drepper@gmail.com>
45519 * include/link.h (struct link_map): Add l_orig_initfini.
45520 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45521 returning unsuccessfully.
45522 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45523 close of a file loaded at startup, restore the original l_initfini
45525 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45526 list, store the pointer.
45527 * elf/Makefile ($(objpfx)noload-mem): New rule.
45528 (noload-ENV): Define.
45529 (tests): Add $(objpfx)noload-mem.
45530 * elf/noload.c: Include <memcheck.h>.
45531 (main): Call mtrace. Close all opened handles.
45533 2011-02-17 Andreas Schwab <schwab@redhat.com>
45536 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45537 dependencies are missing.
45539 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45541 Fix __if_freereq crash: Unlike the generic version which uses free,
45543 * sysdeps/mach/hurd/ifreq.h: New file.
45545 2011-01-27 Petr Baudis <pasky@suse.cz>
45546 Ulrich Drepper <drepper@gmail.com>
45549 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45550 to extend_alloca().
45551 * stdio-common/bug23.c: New file.
45552 * stdio-common/Makefile (tests): Add bug23.
45554 2010-09-28 Andreas Schwab <schwab@redhat.com>
45555 Ulrich Drepper <drepper@gmail.com>
45558 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45559 before performing relro protection. At old place add assertion
45560 to make sure nothing changed.
45562 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45563 Glauber de Oliveira Costa <glommer@gmail.com>
45565 * elf/elf.h: Add new ARM TLS relocs.
45567 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45570 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45572 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45574 * sysdeps/wordsize-64/tst-writev.c: New file.
45576 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45578 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45579 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45580 insns in _dl_start to prevent a TOC reference before relocs are
45583 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45586 * Makeconfig: Remove RANLIB definition.
45587 * Makerules: Don't use RANLIB.
45588 * aclocal.m4: Remove ranlib test.
45589 * configure.in: No need to check for ranlib.
45590 * elf/rtld-Rules: Don't use RANLIB.
45592 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45594 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45596 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45597 inclusion protection macro.
45599 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45600 SIGRTMIN and SIGRTMAX and print information in that case only when
45601 SIGRTMIN is defined.
45603 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45605 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45606 arginfo fn returning -1.
45608 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45609 and thousands string is zero terminated.
45611 2011-02-03 Andreas Schwab <schwab@redhat.com>
45613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45614 sysdeps/unix/sysv/linux/bits/socket.h.
45616 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45618 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45619 (__CPU_COUNT): Remove old macros.
45620 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45621 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45622 (__CPU_ALLOC, __CPU_FREE): Add macros.
45623 (__sched_cpualloc, __sched_cpufree): Add declarations.
45625 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45627 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45628 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45629 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45630 (readdhstai): Return value of addhstaiX call.
45631 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45632 (addgrbyX): Return value returned by cache_addgr.
45633 (readdgrbyname): Return value returned by addgrbyX.
45634 (readdgrbygid): Likewise.
45635 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45636 (addpwbyX): Return value returned by cache_addpw.
45637 (readdpwbyname): Return value returned by addhstbyX.
45638 (readdpwbyuid): Likewise.
45639 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45640 (addservbyX): Return value returned by cache_addserv.
45641 (readdservbyname): Return value returned by addservbyX:
45642 (readdservbyport): Likewise.
45643 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45644 (addhstbyX): Return value returned by cache_addhst.
45645 (readdhstbyname): Return value returned by addhstbyX.
45646 (readdhstbyaddr): Likewise.
45647 (readdhstbynamev6): Likewise.
45648 (readdhstbyaddrv6): Likewise.
45649 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45650 (readdinitgroups): Return value returned by addinitgroupsX.
45651 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45652 (prune_cache): Keep track of timeout value of re-added entries.
45653 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45654 * nscd/nscd.h: Adjust prototypes of readd* functions.
45656 2011-02-04 Roland McGrath <roland@redhat.com>
45658 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45659 (nis_stats): Likewise.
45660 * nis/nis_modify.c (nis_modify): Likewise.
45661 * nis/nis_remove.c (nis_remove): Likewise.
45662 * nis/nis_add.c (nis_add): Likewise.
45664 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45666 * posix/fnmatch_loop.c: Add some consts.
45668 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45670 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45673 * config.make.in (config-cflags-novzeroupper): Define.
45674 * configure.in: Substitute libc_cv_cc_novzeroupper.
45675 * elf/Makefile (AVX-CFLAGS): Define.
45676 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45677 (CFLAGS-tst-auditmod4a.c): Likewise.
45678 (CFLAGS-tst-auditmod4b.c): Likewise.
45679 (CFLAGS-tst-auditmod6b.c): Likewise.
45680 (CFLAGS-tst-auditmod6c.c): Likewise.
45681 (CFLAGS-tst-auditmod7b.c): Likewise.
45682 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45684 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45686 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45687 function to the callback.
45688 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45690 2011-02-02 Andreas Schwab <schwab@redhat.com>
45692 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45695 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45698 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45700 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45702 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45705 * elf/Makefile: Add rules to build and run new test.
45706 * elf/tst-initorder.c: New file.
45707 * elf/tst-initorder.exp: New file.
45708 * elf/tst-initordera1.c: New file.
45709 * elf/tst-initordera2.c: New file.
45710 * elf/tst-initordera3.c: New file.
45711 * elf/tst-initordera4.c: New file.
45712 * elf/tst-initorderb1.c: New file.
45713 * elf/tst-initorderb2.c: New file.
45714 * elf/tst-order-a1.c: New file.
45715 * elf/tst-order-a2.c: New file.
45716 * elf/tst-order-a3.c: New file.
45717 * elf/tst-order-a4.c: New file.
45718 * elf/tst-order-b1.c: New file.
45719 * elf/tst-order-b2.c: New file.
45720 * elf/tst-order-main.c: New file.
45721 New test case by George Gensure <werkt0@gmail.com>.
45723 2010-10-01 Andreas Schwab <schwab@redhat.com>
45725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45726 decoding ACE if AI_CANONIDN.
45728 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45730 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45732 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45734 * version.h (RELEASE): Bump for 2.13 release.
45735 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45737 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45739 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45741 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45742 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45746 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45748 * posix/getconf.c: Update copyright year.
45749 * catgets/gencat.c: Likewise.
45750 * csu/version.c: Likewise.
45751 * debug/catchsegv.sh: Likewise.
45752 * debug/xtrace.sh: Likewise.
45753 * elf/ldconfig.c: Likewise.
45754 * elf/ldd.bash.in: Likewise.
45755 * elf/sprof.c (print_version): Likewise.
45756 * iconv/iconv_prog.c: Likewise.
45757 * iconv/iconvconfig.c: Likewise.
45758 * locale/programs/locale.c: Likewise.
45759 * locale/programs/localedef.c: Likewise.
45760 * malloc/memusage.sh: Likewise.
45761 * malloc/mtrace.pl: Likewise.
45762 * nscd/nscd.c (print_version): Likewise.
45763 * nss/getent.c: Likewise.
45765 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45766 PF_CAIF, and PF_ALG.
45767 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45769 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45771 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45772 (modules-names): Use them.
45773 (ifunc-test-modules, ifunc-pie-tests): Define.
45774 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45775 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45776 (test-extras): Likewise.
45777 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45778 $(compile-command.c).
45779 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45780 (all-built-dso): Define.
45781 (check-textrel.out, check-execstack.out): Depend on it.
45783 * configure.in: Don't override --enable-multi-arch.
45785 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45788 * nscd/hstcache.c (tryagain): Define.
45789 (cache_addhst): Return tryagain not notfound for temporary errors.
45790 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45793 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45796 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45797 to make the syscall.
45798 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45801 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45802 and fall back to matching as normal character if the string ends before
45803 the matching ']' is found. This is what POSIX requires.
45804 * posix/testfnm.c: Adjust test result.
45805 * posix/globtest.sh: Adjust test result. Add new test.
45806 * posix/tst-fnmatch.input: Likewise.
45807 * posix/tst-fnmatch2.c: Add new test.
45809 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45811 * elf/Makefile (check-execstack): Revert last change. Depend on
45813 (check-execstack.h): New target.
45814 (generated): Add check-execstack.h.
45815 * elf/check-execstack.c: Include "check-execstack.h".
45816 (main): Revert last change.
45817 (handle_file): Return zero if GNU_STACK is absent and
45818 DEFAULT_STACK_PERMS doesn't include PF_X.
45820 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45822 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45823 in child fails because the descriptor is already closed.
45824 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45825 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45826 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45829 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45833 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45834 temporary buffer used to handle multi lookups locally.
45835 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45837 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45839 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45842 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45844 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45845 alignment for SSE2.
45847 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45850 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45851 characters. When rounding increased number of integer digits recompute
45853 * stdio-common/tst-grouping.c: New file.
45854 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45856 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45858 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45859 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45861 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45863 * bits/select.h: Likewise.
45865 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45867 * po/ja.po: Update from translation team.
45869 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45872 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45873 implementation just like for lxstat, fxstatat, et al.
45875 2010-12-27 Jim Meyering <meyering@redhat.com>
45878 * posix/regexec.c (build_trtable): Return failure indication upon
45879 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45881 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45884 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45885 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45886 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45887 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45890 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45893 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45894 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45896 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45898 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45899 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45900 script has SORT_BY_INIT_PRIORITY.
45901 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45902 NO_CTORS_DTORS_SECTIONS is defined.
45903 * elf/soinit.c: Likewise.
45904 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45905 NO_CTORS_DTORS_SECTIONS is defined.
45906 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45907 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45908 * sysdeps/sh/init-first.c: Likewise.
45909 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45911 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45913 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45914 always use the slow path.
45916 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45918 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45919 similar rule which adds the sysdep directories to the header search in
45920 order to pick up the correct platform stackinfo.h.
45921 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45922 perform test if it is, otherwise return successfully without testing.
45923 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45924 DEFAULT_STACK_PERMS define in stackinfo.h.
45925 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45926 defined in stackinfo.h.
45927 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45928 DEFAULT_STACK_PERMS defined in stackinfo.h.
45929 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45930 * sysdeps/ia64/stackinfo.h: Likewise.
45931 * sysdeps/s390/stackinfo.h: Likewise.
45932 * sysdeps/sh/stackinfo.h: Likewise.
45933 * sysdeps/sparc/stackinfo.h: Likewise.
45934 * sysdeps/x86_64/stackinfo.h: Likewise.
45935 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45936 PF_X for powerpc64. Retain PF_X for powerpc32.
45938 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45940 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45942 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45943 GETDENTS_64BIT_ALIGNED.
45945 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45947 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45949 2010-12-10 Andreas Schwab <schwab@redhat.com>
45951 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45954 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45955 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45957 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45958 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45960 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45963 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45966 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45968 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45970 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45972 * po/it.po: Update from translation team.
45974 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45979 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45981 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45983 2010-11-24 Andreas Schwab <schwab@redhat.com>
45985 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45987 (gaih_getanswer_slice): Likewise.
45989 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45993 2010-05-31 Petr Baudis <pasky@suse.cz>
45996 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45997 silently even in the chroot mode.
45999 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46001 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46002 last patch a bit. Pretty printing
46004 2010-05-31 Petr Baudis <pasky@suse.cz>
46007 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46008 initialization of skip_initgroups_dyn.
46010 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46012 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46013 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46015 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46017 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46019 2010-11-11 Andreas Schwab <schwab@redhat.com>
46021 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46022 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46023 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46024 ($(objpfx)tst-fnmatch-mem): New rule.
46025 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46026 * posix/tst-fnmatch.c (main): Call mtrace.
46028 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46031 Support Intel processor model 6 and model 0x2c.
46033 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46035 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46038 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46041 * string/test-strncasecmp.c (check_result): New function.
46042 (do_one_test): Use it.
46043 (check1): New function.
46044 (test_main): Use it.
46045 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46046 Support strcasecmp and strncasecmp.
46048 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46051 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46052 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46054 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46056 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46060 * sysdeps/x86_64/multiarch/bzero.S: New file.
46061 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46062 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46063 * sysdeps/x86_64/multiarch/memset.S: New file.
46064 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46066 Set bit_Prefer_SSE_for_memop for Intel processors.
46067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46069 (index_Prefer_SSE_for_memop): Define.
46070 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46072 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46074 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46075 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46077 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46080 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46081 (__x86_64_raw_data_cache_size_half): Likewise.
46082 (__x86_64_raw_shared_cache_size): Likewise.
46083 (__x86_64_raw_shared_cache_size_half): Likewise.
46085 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46086 (__x86_64_raw_data_cache_size_half): Likewise.
46087 (__x86_64_raw_shared_cache_size): Likewise.
46088 (__x86_64_raw_shared_cache_size_half): Likewise.
46089 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46090 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46091 and __x86_64_raw_shared_cache_size_half. Round
46092 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46093 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46094 to multiple of 256 bytes.
46096 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46099 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46100 of inacessible symlinks. Verify result of symlink before returning it.
46101 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46102 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46104 2010-10-28 Erich Ritz <erichritz@gmail.com>
46106 * math/math.h (isinf): Fix typo in comment.
46108 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46110 * po/da.po: Update from translation team.
46112 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46114 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46115 is added to the list.
46117 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46118 Ulrich Drepper <drepper@gmail.com>
46120 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46121 the global list here. Move code to...
46122 (_dl_add_to_namespace_list): ...here. New function.
46123 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46124 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46125 * elf/dl-load.c (lose): Don't remove the element from the list.
46126 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46127 (_dl_map_object): Likewise.
46129 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46132 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46133 into all bytes of SSE register.
46134 Patch by Richard Li <richardpku@gmail.com>.
46136 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46139 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46142 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46144 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46145 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46146 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46147 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46152 2010-10-22 Andreas Schwab <schwab@redhat.com>
46154 * include/dlfcn.h (__RTLD_SECURE): Define.
46155 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46156 mode & __RTLD_SECURE instead.
46157 (open_path): Rename preloaded parameter to secure.
46158 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46159 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46160 * elf/dl-deps.c (openaux): Likewise.
46161 * elf/rtld.c (struct map_args): Remove is_preloaded.
46162 (map_doit): Don't use it.
46163 (dl_main): Likewise.
46164 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46165 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46167 2010-09-09 Andreas Schwab <schwab@redhat.com>
46169 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46170 (sysd-rules-targets): Remove duplicates.
46171 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46172 rtld-%.$o dependency.
46174 2010-10-18 Andreas Schwab <schwab@redhat.com>
46176 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46177 _dl_map_object do it.
46179 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46181 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46182 fast fma builtins, define the macros in the C99 standard.
46183 (FP_FAST_FMAF): Likewise.
46184 (FP_FAST_FMAL): Likewise.
46185 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46187 * bits/mathdef.h: Update copyright year.
46188 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46190 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46192 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46193 builtins, define the macros in the C99 standard.
46194 (FP_FAST_FMAF): Likewise.
46195 (FP_FAST_FMAL): Likewise.
46196 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46198 (FP_FAST_FMAF): Likewise.
46200 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46203 * math/libm-test.inc (fma_test): Some new testcases.
46204 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46205 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46206 y and infinite z. Do multiplication by C already in long double.
46207 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46209 y and infinite z. Do bitwise or of inexact bit into u.d.
46210 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46211 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46212 * sysdeps/i386/fpu/s_fma.S: Removed.
46213 * sysdeps/i386/fpu/s_fmal.S: Removed.
46215 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46218 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46220 computation is not scheduled after fetestexcept. Fix value
46221 of minimum denormal long double.
46223 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46226 * math/libm-test.inc (fma_test): Add some more tests.
46227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46230 2010-10-15 Andreas Schwab <schwab@redhat.com>
46232 * scripts/data/localplt-s390-linux-gnu.data: New file.
46233 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46235 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46238 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46239 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46241 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46243 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46245 if one of x and y is very large and the other is subnormal.
46246 * sysdeps/s390/fpu/s_fmaf.c: New file.
46247 * sysdeps/s390/fpu/s_fma.c: New file.
46248 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46249 * sysdeps/powerpc/fpu/s_fma.S: New file.
46250 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46251 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46252 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46254 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46257 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46259 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46260 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46261 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46262 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46263 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46264 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46265 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46267 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46270 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46271 * posix/bug-regex31.input: Add test case.
46273 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46275 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46276 * posix/bug-regex31.input: New file.
46279 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46280 (parse_sub_exp): Fix last change, use postorder.
46282 * posix/bug-regex31.c: New file.
46283 * posix/Makefile: Add rules to build and run bug-regex31.
46285 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46288 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46291 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46292 to have entries in sys_siglist.
46295 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46298 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46301 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46302 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46303 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46304 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46305 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46306 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46307 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46308 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46309 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46310 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46311 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46312 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46313 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46314 * math/ftestexcept.c (fetestexcept): Likewise.
46315 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46316 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46317 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46318 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46319 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46320 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46323 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46326 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46329 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46331 * string/bug-strstr1.c: New file.
46332 * string/Makefile: Add rules to build and run bug-strstr1.
46334 2010-10-05 Eric Blake <eblake@redhat.com>
46337 * string/str-two-way.h (two_way_long_needle): Always clear memory
46338 when skipping input due to the shift table.
46340 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46343 * malloc/mcheck.c: Handle large requests.
46346 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46347 for strncmp and strncasecmp.
46348 * string/stratcliff.c: Add tests for strcmp and strncmp.
46349 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46351 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46353 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46356 2010-09-30 Andreas Jaeger <aj@suse.de>
46358 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46359 (CGROUP_SUPER_MAGIC): Define.
46360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46361 Handle btrfs and cgroup file systems.
46362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46365 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46367 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46368 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46370 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46373 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46374 trying to locate the ELF header.
46376 2010-09-27 Andreas Schwab <schwab@redhat.com>
46379 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46380 Mask out sign-bit copies when constructing f_fsid.
46382 2010-09-24 Petr Baudis <pasky@suse.cz>
46384 * debug/stack_chk_fail_local.c: Add missing licence exception.
46385 * debug/warning-nop.c: Likewise.
46387 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46389 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46390 implementing getdents64 using getdents syscall, set d_type if
46391 __ASSUME_GETDENTS32_D_TYPE.
46393 2010-09-16 Andreas Schwab <schwab@redhat.com>
46395 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46396 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46398 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46401 * posix/unistd.h: Undo change of feature selection for ftruncate from
46404 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46406 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46409 2010-09-20 Andreas Schwab <schwab@redhat.com>
46411 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46413 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46415 2010-09-14 Andreas Schwab <schwab@redhat.com>
46417 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46418 variables after CHECK_SP call.
46419 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46421 2010-09-13 Andreas Schwab <schwab@redhat.com>
46422 Ulrich Drepper <drepper@redhat.com>
46424 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46425 re-relocationg ld.so.
46426 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46427 _dl_init_paths call.
46428 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46431 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46433 * resolv/res_init.c (__res_vinit): Count the default server we added.
46435 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46436 Ulrich Drepper <drepper@redhat.com>
46439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46440 (____longjmp_chk): Use %ebx for saving value across system call.
46443 2010-09-06 Andreas Schwab <schwab@redhat.com>
46445 * manual/Makefile: Don't mix pattern rules with normal rules.
46447 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46449 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46451 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46452 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46453 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46454 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46455 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46458 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46461 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46462 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46464 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46466 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46467 * sysdeps/x86_64/addmul_1.S: Likewise.
46468 * sysdeps/x86_64/lshift.S: Likewise.
46469 * sysdeps/x86_64/mul_1.S: Likewise.
46470 * sysdeps/x86_64/rshift.S: Likewise.
46471 * sysdeps/x86_64/sub_n.S: Likewise.
46472 * sysdeps/x86_64/submul_1.S: Likewise.
46474 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46476 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46477 Define __sched_param instead of SCHED_* and sched_param when
46478 <bits/sched.h> is included with __need_schedparam defined.
46479 * bits/sched.h [__need_schedparam]
46480 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46481 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46482 (__defined_schedparam): Define to 1.
46483 (__sched_param): New structure, identical to sched_param.
46484 (__need_schedparam): Undefine.
46486 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46488 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46489 (epoll_create1): Declare.
46491 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46493 2010-08-31 Andreas Schwab <schwab@redhat.com>
46496 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46497 shifting retval into place.
46499 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46501 * nis/rpcsvc/nis.h: Update copyright notice.
46502 * nis/rpcsvc/nis.x: Likewise.
46503 * nis/rpcsvc/nis_callback.h: Likewise.
46504 * nis/rpcsvc/nis_callback.x: Likewise.
46505 * nis/rpcsvc/nis_object.x: Likewise.
46506 * nis/rpcsvc/nis_tags.h: Likewise.
46507 * nis/rpcsvc/yp.h: Likewise.
46508 * nis/rpcsvc/yp.x: Likewise.
46509 * nis/rpcsvc/ypupd.h: Likewise.
46510 * nis/yp_xdr.c: Likewise.
46511 * nis/ypupdate_xdr.c: Likewise.
46513 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46514 mainly the body of pmap_getport. Add parameters to specify timeouts.
46515 (pmap_getport): Use __libc_rpc_getport.
46516 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46517 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46518 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46520 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46525 2010-08-27 Roland McGrath <roland@redhat.com>
46527 * sysdeps/i386/i686/multiarch/Makefile
46528 (CFLAGS-varshift.c): New variable.
46530 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46532 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46533 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46537 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46539 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46541 * sysdeps/x86_64/strlen.S: Unroll the loop.
46542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46543 strlen-sse2 strlen-sse2-bsf.
46544 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46545 __strlen_no_bsf if bit_Slow_BSF is set.
46546 (__strlen_sse42): Removed.
46547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46548 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46550 2010-08-25 Roland McGrath <roland@redhat.com>
46552 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46553 * sysdeps/x86_64/multiarch/varshift.c: New file.
46554 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46555 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46556 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46557 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46559 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46562 strlen-sse2 strlen-sse2-bsf.
46563 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46564 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46565 (__strlen_sse2): Removed.
46566 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46567 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46569 bit_Slow_BSF for Atom.
46570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46571 (index_Slow_BSF): Define.
46572 (HAS_SLOW_BSF): Define.
46574 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46577 * resolv/res_init.c (__res_vinit): When no server address at all
46578 is given default to loopback.
46580 2010-08-24 Roland McGrath <roland@redhat.com>
46582 * configure.in: Remove config-name.h generation.
46583 * configure: Regenerated.
46584 * config-name.in: File removed.
46585 * scripts/config-uname.sh: New file.
46586 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46587 ($(objdir)config-name.h): New target.
46589 * sunrpc/rpc_parse.h: Avoid nested comment.
46591 2010-08-24 Richard Henderson <rth@redhat.com>
46592 Ulrich Drepper <drepper@redhat.com>
46593 H.J. Lu <hongjiu.lu@intel.com>
46595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46597 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46598 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46599 _mm_alignr_epi8 with _mm_loadu_si128.
46600 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46601 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46602 (__m128i_shift_right): Removed.
46603 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46604 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46605 * sysdeps/x86_64/multiarch/varshift.h: New file.
46606 * sysdeps/x86_64/multiarch/varshift.S: New file.
46608 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46610 * configure.in: Move assembler checks to before sysdep dir checking.
46612 2010-08-20 Petr Baudis <pasky@suse.cz>
46614 * LICENSES: Sync the sunrpc license.
46616 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46618 * sunrpc/auth_des.c: Update copyright notice once again.
46619 * sunrpc/auth_none.c: Likewise.
46620 * sunrpc/auth_unix.c: Likewise.
46621 * sunrpc/authdes_prot.c: Likewise.
46622 * sunrpc/authuxprot.c: Likewise.
46623 * sunrpc/bindrsvprt.c: Likewise.
46624 * sunrpc/clnt_gen.c: Likewise.
46625 * sunrpc/clnt_perr.c: Likewise.
46626 * sunrpc/clnt_raw.c: Likewise.
46627 * sunrpc/clnt_simp.c: Likewise.
46628 * sunrpc/clnt_tcp.c: Likewise.
46629 * sunrpc/clnt_udp.c: Likewise.
46630 * sunrpc/clnt_unix.c: Likewise.
46631 * sunrpc/des_crypt.c: Likewise.
46632 * sunrpc/des_soft.c: Likewise.
46633 * sunrpc/get_myaddr.c: Likewise.
46634 * sunrpc/getrpcport.c: Likewise.
46635 * sunrpc/key_call.c: Likewise.
46636 * sunrpc/key_prot.c: Likewise.
46637 * sunrpc/openchild.c: Likewise.
46638 * sunrpc/pm_getmaps.c: Likewise.
46639 * sunrpc/pm_getport.c: Likewise.
46640 * sunrpc/pmap_clnt.c: Likewise.
46641 * sunrpc/pmap_prot.c: Likewise.
46642 * sunrpc/pmap_prot2.c: Likewise.
46643 * sunrpc/pmap_rmt.c: Likewise.
46644 * sunrpc/rpc/auth.h: Likewise.
46645 * sunrpc/rpc/auth_unix.h: Likewise.
46646 * sunrpc/rpc/clnt.h: Likewise.
46647 * sunrpc/rpc/des_crypt.h: Likewise.
46648 * sunrpc/rpc/key_prot.h: Likewise.
46649 * sunrpc/rpc/netdb.h: Likewise.
46650 * sunrpc/rpc/pmap_clnt.h: Likewise.
46651 * sunrpc/rpc/pmap_prot.h: Likewise.
46652 * sunrpc/rpc/pmap_rmt.h: Likewise.
46653 * sunrpc/rpc/rpc.h: Likewise.
46654 * sunrpc/rpc/rpc_des.h: Likewise.
46655 * sunrpc/rpc/rpc_msg.h: Likewise.
46656 * sunrpc/rpc/svc.h: Likewise.
46657 * sunrpc/rpc/svc_auth.h: Likewise.
46658 * sunrpc/rpc/types.h: Likewise.
46659 * sunrpc/rpc/xdr.h: Likewise.
46660 * sunrpc/rpc_clntout.c: Likewise.
46661 * sunrpc/rpc_cmsg.c: Likewise.
46662 * sunrpc/rpc_common.c: Likewise.
46663 * sunrpc/rpc_cout.c: Likewise.
46664 * sunrpc/rpc_dtable.c: Likewise.
46665 * sunrpc/rpc_hout.c: Likewise.
46666 * sunrpc/rpc_main.c: Likewise.
46667 * sunrpc/rpc_parse.c: Likewise.
46668 * sunrpc/rpc_parse.h: Likewise.
46669 * sunrpc/rpc_prot.c: Likewise.
46670 * sunrpc/rpc_sample.c: Likewise.
46671 * sunrpc/rpc_scan.c: Likewise.
46672 * sunrpc/rpc_scan.h: Likewise.
46673 * sunrpc/rpc_svcout.c: Likewise.
46674 * sunrpc/rpc_tblout.c: Likewise.
46675 * sunrpc/rpc_util.c: Likewise.
46676 * sunrpc/rpc_util.h: Likewise.
46677 * sunrpc/rpcinfo.c: Likewise.
46678 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46679 * sunrpc/rpcsvc/key_prot.x: Likewise.
46680 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46681 * sunrpc/rpcsvc/mount.x: Likewise.
46682 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46683 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46684 * sunrpc/rpcsvc/rex.x: Likewise.
46685 * sunrpc/rpcsvc/rstat.x: Likewise.
46686 * sunrpc/rpcsvc/rusers.x: Likewise.
46687 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46688 * sunrpc/rpcsvc/spray.x: Likewise.
46689 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46690 * sunrpc/rtime.c: Likewise.
46691 * sunrpc/svc.c: Likewise.
46692 * sunrpc/svc_auth.c: Likewise.
46693 * sunrpc/svc_authux.c: Likewise.
46694 * sunrpc/svc_raw.c: Likewise.
46695 * sunrpc/svc_run.c: Likewise.
46696 * sunrpc/svc_simple.c: Likewise.
46697 * sunrpc/svc_tcp.c: Likewise.
46698 * sunrpc/svc_udp.c: Likewise.
46699 * sunrpc/svc_unix.c: Likewise.
46700 * sunrpc/svcauth_des.c: Likewise.
46701 * sunrpc/xcrypt.c: Likewise.
46702 * sunrpc/xdr.c: Likewise.
46703 * sunrpc/xdr_array.c: Likewise.
46704 * sunrpc/xdr_float.c: Likewise.
46705 * sunrpc/xdr_mem.c: Likewise.
46706 * sunrpc/xdr_rec.c: Likewise.
46707 * sunrpc/xdr_ref.c: Likewise.
46708 * sunrpc/xdr_sizeof.c: Likewise.
46709 * sunrpc/xdr_stdio.c: Likewise.
46711 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46714 2010-08-19 Andreas Schwab <schwab@redhat.com>
46716 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46718 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46720 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46721 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46722 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46723 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46724 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46725 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46726 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46727 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46729 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46730 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46731 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46732 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46733 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46735 2010-07-26 Anton Blanchard <anton@samba.org>
46737 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46738 * malloc/arena.c (heap_trim): Likewise.
46740 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46742 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46745 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46747 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46749 * sysdeps/i386/elf/Makefile: New file.
46751 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46753 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46754 from fanotify_init.
46755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46758 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46760 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46762 * sysdeps/multiarch/strcmp.S: Likewise.
46764 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46766 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46767 strncase_l-nonascii.
46768 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46769 Add strncase_l-ssse3.
46770 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46771 * sysdeps/x86_64/strcmp.S: Likewise.
46772 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46773 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46774 * sysdeps/x86_64/strncase.S: New file.
46775 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46776 * sysdeps/x86_64/strncase_l.S: New file.
46777 * string/Makefile (strop-tests): Add strncasecmp.
46778 * string/test-strncasecmp.c: New file.
46780 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46783 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46784 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46786 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46788 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46790 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46792 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46793 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46794 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46796 2010-05-01 Alan Modra <amodra@gmail.com>
46798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46799 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46800 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46801 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46802 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46803 tidying. Don't tail-call __sigjmp_save for static lib.
46804 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46806 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46807 (CALL_MCOUNT): Add eh info, and nop after bl.
46808 (TAIL_CALL_SYSCALL_ERROR): New macro.
46809 (PSEUDO_RET): Use it.
46810 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46811 Correct save location of integer regs and cr.
46812 (_dl_profile_resolve): Correct cr save location. Delete nops
46813 after bl when SHARED. Reduce cfi size a little by better
46814 placement of cfi directives.
46815 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46816 make a stack frame. Instead use parm save area as a temp.
46817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46818 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46820 Don't make a stack frame for parent, use parm save area.
46821 Increase child stack frame to 112 bytes. Don't save unused reg,
46822 and adjust reg usage. Set up cfi on error recovery and
46823 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46825 (__makecontext): Add dummy nop after jump to exit.
46826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46827 Use correct parm save area and cr save, reduce stack frame.
46828 Correct cfi for possible PSEUDO_RET frame setup.
46829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46830 Branch to local label emitted by PSEUDO_RET rather than
46833 2010-08-12 Andreas Schwab <schwab@redhat.com>
46836 * locale/programs/locale.c (print_assignment): New function.
46837 (show_locale_vars): Use it.
46839 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46841 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46843 (struct statfs64): Likewise.
46844 (_STATFS_F_FLAGS): Define.
46845 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46846 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46847 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46848 (ST_VALID): Define locally.
46849 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46850 __statvfs_getflags, use the provided value.
46851 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46852 __ASSUME_STATFS_F_FLAGS.
46854 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46856 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46857 Add sys/fanotify.h.
46858 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46859 fanotify_mask for GLIBC_2.13.
46860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46861 fanotify_init and fanotify_mark.
46862 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46863 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46865 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46867 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46868 prlimit64 for GLIBC_2.13.
46869 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46871 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46875 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46876 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46879 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46882 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46883 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46885 * nss/Makefile: Add rules to build and run tst-nss-test1.
46886 * shlib-versions: Add entry for libnss_test1.
46887 * nss/nss_test1.c: New file.
46888 * nss/tst-nss-test1.c: New file.
46890 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46891 (__nss_configure_lookup): Set appropriate entry in
46892 __nss_configure_lookup to true.
46893 * nss/nsswitch.h: Define enum with indeces of databases in
46894 databases and __nss_database_custom arrays. Declare
46895 __nss_database_custom.
46896 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46897 to avoid using nscd when custom rules are installed.
46898 * nss/getXXbyYY_r.c: Likewise.
46899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46901 * nss/nss_files/files-parse.c: Whitespace fixes.
46903 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46906 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46907 * posix/fnmatch_loop.c: Likewise.
46909 2010-07-17 Andi Kleen <ak@linux.intel.com>
46911 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46912 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46913 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46914 * Versions.def [GLIBC_2.13]: Add.
46916 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46918 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46919 Also fail if tpwd after pwuid call is NULL.
46921 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46923 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46924 when converting to ms.
46926 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46928 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46929 EOPNOTSUPP errors with ENOTTY.
46930 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46931 EOPNOTSUPP errors with ENOTTY.
46933 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46935 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46936 Add strcasecmp_l-ssse3.
46937 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46939 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46940 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46941 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46943 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46945 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46947 * string/Makefile (strop-tests): Add strcasecmp.
46948 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46949 strcasecmp_l-nonascii.
46950 (gen-as-const-headers): Add locale-defines.sym.
46951 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46952 * sysdeps/x86_64/strcasecmp.S: New file.
46953 * sysdeps/x86_64/strcasecmp_l.S: New file.
46954 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46955 * sysdeps/x86_64/locale-defines.sym: New file.
46956 * string/test-strcasecmp.c: New file.
46958 * string/test-strcasestr.c: Test both ends of the range of characters.
46959 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46961 2010-07-29 Roland McGrath <roland@redhat.com>
46964 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46966 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46968 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46971 2010-07-27 Andreas Schwab <schwab@redhat.com>
46973 * manual/memory.texi (Malloc Tunable Parameters): Document
46976 2010-07-26 Roland McGrath <roland@redhat.com>
46979 * configure.in (-fgnu89-inline check): Set and substitute
46980 gnu89_inline, not libc_cv_gnu89_inline.
46981 * configure: Regenerated.
46982 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46984 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46986 * string/test-strnlen.c: New file.
46987 * string/Makefile (strop-tests): Add strnlen.
46988 * string/tester.c (test_strnlen): Add a few more test cases.
46989 * string/tst-strlen.c: Better error reporting.
46991 * sysdeps/x86_64/strnlen.S: New file.
46993 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46995 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46996 lower-latency instructions.
46998 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47000 * string/test-strcasestr.c: New file.
47001 * string/test-strstr.c: New file.
47002 * string/Makefile (strop-tests): Add strstr and strcasestr.
47003 * string/str-two-way.h: Don't undefine MAX.
47004 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47006 2010-07-21 Andreas Schwab <schwab@redhat.com>
47008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47009 strcasestr-nonascii.
47010 (CFLAGS-strcasestr-nonascii.c): Define.
47011 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47012 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47013 Remove unused attribute.
47015 2010-07-20 Roland McGrath <roland@redhat.com>
47017 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47018 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47019 ld.so.cache was broken. With it, there is no way to disable dsocaps
47020 like LD_HWCAP_MASK can disable hwcaps.
47022 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47024 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47026 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47028 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47029 call in strcasestr.
47030 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47031 __strcasestr_sse42_nonascii.
47032 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47033 strcasestr-nonascii.c.
47034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47036 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47039 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47040 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47041 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47043 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47048 2010-07-06 Andreas Schwab <schwab@redhat.com>
47051 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47054 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47056 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47057 _PC_PIPE_BUF using F_GETPIPE_SZ.
47059 2010-07-05 Roland McGrath <roland@redhat.com>
47061 * manual/arith.texi (Rounding Functions): Fix rint description
47062 implicit in round description.
47064 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47066 * elf/Makefile: Fix linking for a few tests to make recent linker
47069 2010-06-30 Andreas Schwab <schwab@redhat.com>
47071 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47072 $(common-objpfx)libc_nonshared.a.
47074 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47076 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47077 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47078 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47079 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47080 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47081 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47082 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47083 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47098 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47099 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47100 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47101 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47102 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47103 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47104 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47105 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47106 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47107 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47108 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47109 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47125 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47127 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47128 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47129 * string/memmove.c (memmove): Renamed to ...
47130 (MEMMOVE): ...this. Default to memmove.
47131 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47132 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47135 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47136 mempcpy-ssse3-back memmove-ssse3-back.
47137 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47138 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47140 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47141 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47142 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47143 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47144 * sysdeps/x86_64/multiarch/memmove.c: New file.
47145 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47146 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47147 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47148 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47149 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47152 (index_Fast_Copy_Backward): Define.
47153 (HAS_ARCH_FEATURE): Define.
47154 (HAS_FAST_REP_STRING): Define.
47155 (HAS_FAST_COPY_BACKWARD): Define.
47157 2010-06-21 Andreas Schwab <schwab@redhat.com>
47159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47160 Restore proper fallback handling.
47162 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47165 * posix/group_member.c (__group_member): Correct checking loop.
47167 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47168 OOM in getpwuid_r correctly. Return error number when the caller
47169 should return, otherwise -1.
47170 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47171 call returning > 0 value.
47172 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47174 2010-06-07 Andreas Schwab <schwab@redhat.com>
47176 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47177 libc_nonshared.a from targets in modules-names.
47179 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47181 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47184 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47186 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47191 2010-06-02 Andreas Schwab <schwab@redhat.com>
47193 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47195 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47199 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47203 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47204 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47206 2010-06-14 Roland McGrath <roland@redhat.com>
47208 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47210 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47212 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47213 __REDIRECT followed by __THROW.
47214 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47215 * posix/getopt.h (getopt): Likewise.
47217 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47219 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47220 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47221 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47223 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47224 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47226 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47228 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47230 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47234 Properly check family and model.
47236 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47238 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47240 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47242 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47244 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47246 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47249 2010-05-19 Andreas Schwab <schwab@redhat.com>
47251 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47254 2010-05-21 Andreas Schwab <schwab@redhat.com>
47256 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47257 and internal_recvmmsg.
47258 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47259 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47260 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47261 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47263 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47264 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47265 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47267 2010-05-20 Andreas Schwab <schwab@redhat.com>
47269 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47271 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47273 POWER7 optimizations.
47274 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47275 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47277 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47279 * version.h: Update for 2.13 development version.
47281 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47283 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47284 exceptions. Return 0.
47286 2010-05-07 Roland McGrath <roland@redhat.com>
47288 * elf/ldconfig.c (main): Add a const.
47290 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47292 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47293 (args_options): Add no-idn option.
47294 (ahosts_keys_int): Add idn_flags to ai_flags.
47295 (parse_option): Handle 'i' option to clear idn_flags.
47297 * malloc/malloc.c (_int_free): Possible race in the most recently
47298 added check. Only act on the data if no current modification
47301 See ChangeLog.17 for earlier changes.