1 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5 Rename member __data.d to __data.__elision_data.
7 2014-06-24 Wilco <wdijkstr@arm.com>
9 * NEWS: Add 16918 to fixed bug list.
11 2014-06-24 Wilco <wdijkstr@arm.com>
13 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15 2014-06-24 Wilco <wdijkstr@arm.com>
17 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
20 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
22 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26 2014-06-24 Wilco <wdijkstr@arm.com>
28 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30 2014-06-24 Wilco <wdijkstr@arm.com>
32 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34 * sysdeps/arm/fesetround.c (fesetround): Remove space.
35 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37 2014-06-24 Wilco <wdijkstr@arm.com>
40 * sysdeps/arm/feupdateenv.c (feupdateenv):
41 Rewrite to reduce FPSCR accesses and fix return value.
43 2014-06-24 Wilco <wdijkstr@arm.com>
45 * sysdeps/arm/fclrexcpt.c (feclearexcept):
46 Optimize to avoid unnecessary FPSCR writes.
47 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
50 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
52 2014-06-24 Wilco <wdijkstr@arm.com>
54 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
55 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
56 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
57 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
58 Call libc_fetestexcept_vfp.
59 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
60 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
61 __SOFTFP__ ifdef so that they can be built for softfp.
63 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
65 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
66 argument type signed char.
68 * Makerules (check-abi): Dump diff of symlist if the test
71 2014-06-23 Roland McGrath <roland@hack.frob.com>
73 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
76 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
77 Remove unused variable ST.
79 2014-06-23 Joseph Myers <joseph@codesourcery.com>
83 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
84 small arguments before calling __expm1.
85 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
86 small arguments before calling __expm1f.
87 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
88 small arguments before calling __expm1l.
89 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
91 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
92 * math/auto-libm-test-in: Add more cosh tests. Do not allow
93 spurious underflow for some cosh tests.
94 * math/auto-libm-test-out: Regenerated.
95 * sysdeps/i386/fpu/libm-test-ulps: Update.
98 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
99 (__ieee754_y1): Set errno if return value overflows.
100 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
101 (__ieee754_y1f): Set errno if return value overflows.
102 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
103 (__ieee754_y1l): Set errno if return value overflows.
104 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
105 (__ieee754_y1l): Set errno if return value overflows.
106 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
107 * math/auto-libm-test-out: Regenerated.
109 * math/gen-auto-libm-tests.c: Document use of
110 ignore-zero-inf-sign.
111 (input_flag_type): Add value flag_ignore_zero_inf_sign.
112 (input_flags): Add ignore-zero-inf-sign.
113 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
114 * math/gen-libm-test.pl (generate_testfile): Handle
115 ignore-zero-inf-sign.
116 * math/auto-libm-test-in: Mark some cpow tests with
117 ignore-zero-inf-sign and some with xfail-rounding.
118 * math/auto-libm-test-out: Regenerated.
119 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
120 * sysdeps/i386/fpu/libm-test-ulps: Update.
121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
124 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
125 overflowing or underflowing operations take place with sign of
127 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
128 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
129 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
130 (__ieee754_pow): Recompute overflowing and underflowing results in
131 original rounding mode.
132 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
133 (__powl_helper): Allow negative argument X and scale negated value
134 as needed. Avoid passing value outside [-1, 1] to f2xm1.
135 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
136 overflowing or underflowing operations take place with sign of
138 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
140 * math/auto-libm-test-in: Add more tests of pow.
141 * math/auto-libm-test-out: Regenerated.
142 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
143 (pow_tonearest_test_data): Remove.
144 (pow_test_tonearest): Likewise.
145 (pow_towardzero_test_data): Likewise.
146 (pow_test_towardzero): Likewise.
147 (pow_downward_test_data): Likewise.
148 (pow_test_downward): Likewise.
149 (pow_upward_test_data): Likewise.
150 (pow_test_upward): Likewise.
151 (main): Don't call removed functions.
152 * sysdeps/i386/fpu/libm-test-ulps: Update.
153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
155 2014-06-23 Roland McGrath <roland@hack.frob.com>
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
331 2014-06-23 Will Newton <will.newton@linaro.org>
332 Wilco <wdijkstr@arm.com>
334 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
335 implementation. Include get-rounding-mode.h.
336 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
337 [!libc_feholdsetround_noex_ctx]: Define
338 libc_feholdsetround_noex_ctx.
339 [!libc_feholdsetround_noexf_ctx]: Define
340 libc_feholdsetround_noexf_ctx.
341 [!libc_feholdsetround_noexl_ctx]: Define
342 libc_feholdsetround_noexl_ctx.
343 (libc_feholdsetround_ctx): New function.
344 (libc_feresetround_ctx): New function.
345 (libc_feholdsetround_noex_ctx): New function.
346 (libc_feresetround_noex_ctx): New function.
348 2014-06-23 Roland McGrath <roland@hack.frob.com>
350 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
351 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
352 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
353 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
354 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
355 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
357 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
358 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
359 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
360 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
361 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
362 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
363 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
364 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
365 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
366 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
367 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
369 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
371 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
372 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
373 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
374 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
375 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
377 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
378 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
379 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
380 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
381 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
383 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
386 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
387 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
389 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
391 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
394 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
395 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
396 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
397 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
398 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
399 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
400 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
401 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
402 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
403 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
405 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
407 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
408 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
409 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
410 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
411 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
412 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
413 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
414 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
415 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
416 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
417 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
418 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
421 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
423 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
428 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
429 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
430 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
431 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
432 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
434 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
435 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
436 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
438 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
439 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
440 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
442 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
443 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
444 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
445 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
446 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
447 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
448 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
449 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
450 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
451 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
452 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
454 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
456 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
457 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
458 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
460 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
463 2014-06-23 Joseph Myers <joseph@codesourcery.com>
465 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
466 (FALLOC_FL_COLLAPSE_RANGE): New macro.
467 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
468 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
469 (IPV6_PMTUDISC_INTERFACE): Likewise.
470 (IPV6_PMTUDISC_OMIT): Likewise.
472 2014-06-23 Andreas Schwab <schwab@suse.de>
474 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
475 Remove unused errout label.
477 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
479 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
480 macro: hardware supports Vector Crypto instructions.
482 2014-06-23 Will Newton <will.newton@linaro.org>
484 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
485 rather than __builtin_expect.
487 * elf/dl-lookup.c (undefined_msg): Remove variable.
488 (_dl_lookup_symbol_x): Replace undefined_msg with string
491 * elf/dl-lookup.c (do_lookup_unique): New function.
492 (do_lookup_x): Move STB_GNU_UNIQUE handling code
493 to a separate function.
495 2014-06-23 Andreas Schwab <schwab@suse.de>
498 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
499 before reading the next line.
501 2014-06-23 Will Newton <will.newton@linaro.org>
503 * test-skeleton.c (signal_handler): Use printf and %m
504 rather than perror. Use printf rather than fprintf to
505 stderr. Use puts rather than fputs to stderr.
508 2014-06-22 Ludovic Courtès <ludo@gnu.org>
510 * nscd/nscd.c (thread_info_t): Remove typedef.
511 (thread_info): Remove variable.
513 2014-06-21 Allan McRae <allan@archlinux.org>
515 * NEWS: Mention CVE-2014-4043.
517 2014-06-20 Roland McGrath <roland@hack.frob.com>
519 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
520 * nptl/smp.h: ... here.
522 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
524 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
525 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
526 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
527 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
529 * nptl/allocatestack.c: Include <stack-aliasing.h>.
530 * nptl/stack-aliasing.h: New file.
531 * sysdeps/i386/i686/stack-aliasing.h: New file.
532 * sysdeps/i386/i686/nptl/Makefile: File removed.
533 * sysdeps/x86_64/stack-aliasing.h: New file.
534 * sysdeps/x86_64/nptl/Makefile
535 (CFLAGS-pthread_create.c): Variable removed.
537 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
538 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
540 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
541 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
544 2014-06-21 Joseph Myers <joseph@codesourcery.com>
546 * sysdeps/unix/sysv/linux/arm/kernel-features.h
547 (__ASSUME_SIGFRAME_V2): Remove macro.
548 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
549 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
550 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
551 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
552 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
553 Declare as function. Remove conditional macro definitions.
554 (__default_rt_sa_restorer): Likewise.
555 (__default_sa_restorer_v1): Remove declaration.
556 (__default_sa_restorer_v2): Likewise.
557 (__default_rt_sa_restorer_v1): Likewise.
558 (__default_rt_sa_restorer_v2): Likewise.
559 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
560 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
561 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
563 2014-06-20 Roland McGrath <roland@hack.frob.com>
565 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
566 (libpthread-routines): Add sysdep.
567 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
568 * sysdeps/unix/sysv/linux/sparc/Versions
569 (libpthread: GLIBC_2.3.3): New version set.
570 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
571 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
572 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
573 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
574 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
575 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
577 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
578 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
579 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
580 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
581 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
583 * sysdeps/sparc/nptl/sem_init.c: ... here.
584 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
585 * sysdeps/sparc/nptl/sem_post.c: ... here.
586 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
587 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
588 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
589 * sysdeps/sparc/nptl/sem_wait.c: ... here.
590 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
591 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
592 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
593 (libpthread-routines): Add cpu_relax.
594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
596 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
597 (librt: GLIBC_2.3.3): New version set.
598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
599 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
600 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
601 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
604 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
607 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
609 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
611 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
613 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
615 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
618 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
622 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
626 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
630 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
634 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
638 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
641 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
647 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
649 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
652 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
654 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
656 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
658 2014-06-20 Joseph Myers <joseph@codesourcery.com>
660 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
661 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
662 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
663 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
664 * nscd/nscd.c: Likewise.
665 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
666 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
667 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
668 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
670 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
672 (init_mq_netlink): Remove conditional have_sock_cloexec
673 definitions. Remove code conditional on have_sock_cloexec < 0.
674 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
675 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
676 * sysdeps/unix/sysv/linux/opensock.c: Do not include
678 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
679 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
681 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
683 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
684 Add tests for memset_chk and memset.
686 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
689 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
692 * elf/tst-dl-iter-static.c: New file.
693 * elf/Makefile (tests-static): Add tst-dl-iter-static.
695 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
698 2014-06-20 Joseph Myers <joseph@codesourcery.com>
700 * sysdeps/unix/sysv/linux/kernel-features.h
701 (__ASSUME_F_GETOWN_EX): Remove macro.
702 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
704 (miss_F_GETOWN_EX): Remove variable or macro.
705 (do_fcntl): Do not check miss_F_GETOWN_EX.
706 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
708 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
711 [!__ASSUME_AT_RANDOM]: Remove conditional code.
712 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
714 * sysdeps/unix/sysv/linux/kernel-features.h
715 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
716 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
717 [ADJ_OFFSET_SS_READ]: Make code unconditional.
718 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
720 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
723 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
724 Fix calculation of the symbol's value.
725 * sysdeps/arm/tst-armtlsdescloc.c: New file.
726 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
727 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
728 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
729 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
730 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
731 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
732 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
733 (modules-names): Add `tst-armtlsdescmod',
734 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
735 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
736 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
737 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
738 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
739 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
740 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
741 ($(objpfx)tst-armtlsdescloc): New dependency.
742 ($(objpfx)tst-armtlsdescextnow): Likewise.
743 ($(objpfx)tst-armtlsdescextlazy): Likewise.
744 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
746 * sysdeps/arm/configure: Regenerate.
748 2014-06-20 Joseph Myers <joseph@codesourcery.com>
750 * include/fcntl.h (__atfct_seterrno): Remove prototype.
751 (__atfct_seterrno_2): Likewise.
752 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
754 (__ASSUME_ATFCTS): Do not undefine and redefine.
755 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
756 (__have_atfcts): Remove conditional definition.
757 (__fxstatat([__NR_fstatat64]: Make code unconditional.
758 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
759 unreachable if [__ASSUME_ATFCTS].
760 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
761 not undefine and redefine.
762 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
764 (faccessat) [__NR_faccessat]: Make code unconditional.
765 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
766 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
768 (fchmodat) [__NR_fchmodat]: Make code unconditional.
769 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
770 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
772 (fchownat) [__NR_fchownat]: Make code unconditional.
773 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
774 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
776 (futimesat) [__NR_futimesat]: Make code unconditional.
777 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
778 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
780 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
781 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
782 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
784 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
785 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
786 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
787 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
789 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
790 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
791 * sysdeps/unix/sysv/linux/linkat.c: Do not include
793 (linkat) [__NR_linkat]: Make code unconditional.
794 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
795 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
796 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
798 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
799 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
800 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
802 (mkdirat) [__NR_mkdirat]: Make code unconditional.
803 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
804 * sysdeps/unix/sysv/linux/openat.c: Do not include
806 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
807 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
808 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
809 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
810 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
811 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
813 (readlinkat) [__NR_readlinkat]: Make code unconditional.
814 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
815 result of INLINE_SYSCALL directly, not via int variable.
816 * sysdeps/unix/sysv/linux/renameat.c: Do not include
818 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
819 (renameat) [__NR_renameat]: Make code unconditional.
820 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
821 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
822 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
823 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
824 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
825 (__ASSUME_ATFCTS): Do not undefine and redefine.
826 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
828 (symlinkat) [__NR_symlinkat]: Make code unconditional.
829 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
830 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
832 (unlinkat) [__NR_unlinkat]: Make code unconditional.
833 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
834 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
835 (__ASSUME_ATFCTS): Do not undefine and redefine.
836 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
838 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
839 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
840 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
842 (__xmknodat) [__NR_mknodat]: Make code unconditional.
843 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
845 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
847 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
849 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
852 * posix/regcomp.c (parse_reg_exp): Deallocate partially
853 constructed tree before returning error.
854 * posix/bug-regexp36.c: Expand test case.
856 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
859 * math/libm-test.inc (scalbln_test_date):
860 Add errno expectations.
861 * math/w_scalblnf.c: New File.
862 Add wrapper which checks for setting errno to ERANGE.
863 Add weak_alias for corresponding scalbln function.
864 * math/w_scalbln.c: Likewise.
865 * math/w_scalblnl.c: Likewise.
866 * math/Makefile (libm-calls): Add w_scalbln.
867 * sysdeps/ieee754/flt-32/s_scalblnf.c:
868 Remove weak_alias for corresponding scalbln function.
869 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
871 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
873 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
874 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
875 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
876 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
877 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
878 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
879 Remove long_double_symbol for scalblnl function in libm, libc.
880 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
881 Add wrapper which checks for setting errno to ERANGE.
882 Add long_double_symbol for scalblnl function in libm, libc.
883 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
884 Remove long_double_symbol for scalblnl in libm.
885 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
886 Add wrapper which checks for setting errno to ERANGE.
887 Add long_double_symbol for scalblnl function in libm.
888 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
889 Do not use wrapper because of own implementation.
891 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
893 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
894 3 bytes for __pad1 for x32.
895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
897 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
898 H.J. Lu <hongjiu.lu@intel.com>
900 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
901 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
902 * sysdeps/x86_64/multiarch/memset.S: Likewise.
903 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
904 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
906 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
909 * posix/regcomp.c (parse_expression): Deallocate partially
910 constructed tree before returning error.
911 * posix/Makefile.c (tests): Add bug-regex36.
912 (generated): Add bug-regex36.mtrace.
913 (tests-special): Add $(objpfx)bug-regex36-mem.out
914 (bug-regex36-ENV): New variable.
915 ($(objpfx)bug-regex36-mem.out): New rule.
916 * posix/bug-regex36.c: New file.
918 2014-06-19 Will Newton <will.newton@linaro.org>
920 * malloc/malloc.c (systrim): If extra is zero then return
923 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
925 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
927 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
929 * sysdeps/aarch64/strchr.S: New file.
931 2014-06-18 Joseph Myers <joseph@codesourcery.com>
934 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
935 from arguments -2 or below.
936 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
937 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
939 2014-06-18 Andreas Schwab <schwab@suse.de>
942 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
943 of a bracket expr not to run off the end of the string.
944 * posix/Makefile (tests): Add tst-fnmatch3.
945 * posix/tst-fnmatch3.c: New file.
947 2014-06-18 Joseph Myers <joseph@codesourcery.com>
949 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
950 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
951 [$(cross-compiling) = no]: Likewise.
952 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
953 [$(cross-compiling) = no]: Likewise.
955 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
958 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
959 double, adjusted for any remainder from the high double.
960 * math/libm-test.inc (nearbyint): Add tests.
963 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965 * nptl/sysdeps/powerpc/Makefile: Moved ...
966 * sysdeps/powerpc/nptl/Makefile: ... here.
967 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
968 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
969 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
970 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
971 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
972 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
973 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
974 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
975 * nptl/sysdeps/powerpc/tls.h: Moved ...
976 * sysdeps/powerpc/nptl/tls.h: ... here.
978 2014-06-16 Joseph Myers <joseph@codesourcery.com>
981 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
982 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
983 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
984 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
985 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
986 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
987 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
988 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
989 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
991 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
993 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
995 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
997 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1000 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1003 2014-06-16 Florian Weimer <fweimer@redhat.com>
1006 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1007 non-executed part of the test.
1009 2014-06-16 Andreas Schwab <schwab@suse.de>
1011 * string/bits/string2.h (strdup, strndup): Update feature guard.
1013 2014-06-14 David S. Miller <davem@davemloft.net>
1015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1017 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1019 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1020 that was previously under [RESET_PID].
1021 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1023 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1024 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1025 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1026 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1027 (__libc_vfork): New strong alias.
1028 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1030 2014-06-14 Andi Kleen <ak@linux.intel.com>
1032 * sysdeps/generic/elide.h: New file.
1034 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1036 * Makefile (installed-headers): Adjust path of pthread.h header.
1038 2014-06-13 Roland McGrath <roland@hack.frob.com>
1040 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1041 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1042 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1043 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1045 * nptl/sysdeps/s390/Makefile: Moved ...
1046 * sysdeps/s390/nptl/Makefile: ... here.
1047 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1048 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1049 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1050 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1051 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1052 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1053 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1054 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1055 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1056 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1057 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1058 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1059 * nptl/sysdeps/s390/tls.h: Moved ...
1060 * sysdeps/s390/nptl/tls.h: ... here.
1062 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1063 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1065 2014-06-13 David S. Miller <davem@davemloft.net>
1067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1074 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1075 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1076 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1077 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1078 Remove RESET_PID cpp guards.
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1080 Remove RESET_PID cpp guards.
1081 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1083 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1085 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1088 2014-06-13 Andi Kleen <ak@linux.intel.com>
1090 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1091 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1092 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1093 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1094 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1095 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1096 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1097 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1098 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1099 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1100 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1101 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1102 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1103 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1104 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1105 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1106 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1107 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1108 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1109 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1111 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1112 (pthread_rwlock_rdlock): Add elision.
1113 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1114 (pthread_rwlock_wrlock): Add elision.
1115 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1116 (pthread_rwlock_trywrlock): Add elision.
1117 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1118 (pthread_rwlock_tryrdlock): Add elision.
1119 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1120 (pthread_rwlock_tryrdlock): Add elision unlock.
1121 * nptl/sysdeps/pthread/pthread.h:
1122 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1123 (PTHREAD_RWLOCK_INITIALIZER,
1124 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1125 Handle new elision field.
1126 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1127 * sysdeps/arm/nptl/bits/pthreadtypes.h
1128 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1129 * sysdeps/sh/nptl/bits/pthreadtypes.h
1130 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1131 * sysdeps/tile/nptl/bits/pthreadtypes.h
1132 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1133 * sysdeps/a/nptl/bits/pthreadtypes.h
1134 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1135 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1137 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1138 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1139 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1141 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1142 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1143 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1145 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1146 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1147 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1149 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1151 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1152 (elision_init): Set try_xbegin to zero when no RTM.
1153 * sysdeps/x86/nptl/bits/pthreadtypes.h
1154 (pthread_rwlock_t): Change __pad1 to __rwelision.
1155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1157 2014-06-13 Andi Kleen <ak@linux.intel.com>
1159 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1160 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1161 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1162 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1164 2014-06-13 Meador Inge <meadori@codesourcery.com>
1167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1168 that the cached result has been set before returning it.
1170 2014-06-12 Roland McGrath <roland@hack.frob.com>
1172 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1173 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1174 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1175 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1176 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1177 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1179 * nptl/sysdeps/sparc/Makefile: Moved ...
1180 * sysdeps/sparc/nptl/Makefile: ... here.
1181 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1182 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1183 * nptl/sysdeps/sparc/tls.h: Moved ...
1184 * sysdeps/sparc/nptl/tls.h: ... here.
1185 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1186 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1187 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1188 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1189 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1190 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1191 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1192 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1193 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1194 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1195 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1196 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1197 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1198 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1199 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1200 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1201 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1202 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1204 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1205 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1207 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1208 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1210 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1211 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1214 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1216 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1217 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1219 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1220 (struct list_links): Type removed.
1221 (struct thread_node, struct timer_node): Replace struct list_links
1222 with struct list_head.
1223 (list_unlink_ip): Likewise.
1224 * sysdeps/pthread/timer_routines.c
1225 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1226 (list_append, list_insbefore): Likewise.
1227 (list_init): Function removed.
1228 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1229 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1230 * sysdeps/pthread/Makefile: ... here, new file.
1232 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1233 * sysdeps/nptl/Implies: ... here.
1234 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1235 * nptl/sysdeps/pthread/list.h: Moved ...
1236 * include/list.h: ... here.
1237 * nptl/sysdeps/pthread/createthread.c: Moved ...
1238 * nptl/createthread.c: ... here.
1239 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1240 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1241 * nptl/pt-longjmp.c: ... here.
1242 * nptl/sysdeps/pthread/Makefile: Moved ...
1243 * sysdeps/nptl/Makefile: ... here.
1244 * nptl/sysdeps/pthread/Subdirs: Moved ...
1245 * sysdeps/nptl/Subdirs: ... here.
1246 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1247 * sysdeps/nptl/aio_misc.h: ... here.
1248 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1249 * sysdeps/nptl/bits/libc-lock.h: ... here.
1250 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1251 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1252 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1253 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1254 * nptl/sysdeps/pthread/configure: Moved ...
1255 * sysdeps/nptl/configure: ... here.
1256 * nptl/sysdeps/pthread/configure.ac: Moved ...
1257 * sysdeps/nptl/configure.ac: ... here.
1258 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1259 * sysdeps/nptl/gai_misc.h: ... here.
1260 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1261 * sysdeps/nptl/librt-cancellation.c: ... here.
1262 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1263 * sysdeps/nptl/malloc-machine.h: ... here.
1264 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1265 * sysdeps/nptl/pthread-functions.h: ... here.
1266 * nptl/sysdeps/pthread/pthread.h: Moved ...
1267 * sysdeps/nptl/pthread.h: ... here.
1268 * nptl/sysdeps/pthread/setxid.h: Moved ...
1269 * sysdeps/nptl/setxid.h: ... here.
1270 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1271 * sysdeps/nptl/sigfillset.c: ... here.
1272 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1273 * sysdeps/nptl/tcb-offsets.h: ... here.
1274 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1275 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1276 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1277 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1278 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1279 * sysdeps/pthread/allocalim.h: ... here.
1280 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1281 * sysdeps/pthread/bits/sigthread.h: ... here.
1282 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1283 * sysdeps/pthread/flockfile.c: ... here.
1284 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1285 * sysdeps/pthread/ftrylockfile.c: ... here.
1286 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1287 * sysdeps/pthread/funlockfile.c: ... here.
1288 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1289 * sysdeps/pthread/posix-timer.h: ... here.
1290 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1291 * sysdeps/pthread/timer_create.c: ... here.
1292 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1293 * sysdeps/pthread/timer_delete.c: ... here.
1294 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1295 * sysdeps/pthread/timer_getoverr.c: ... here.
1296 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1297 * sysdeps/pthread/timer_gettime.c: ... here.
1298 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1299 * sysdeps/pthread/timer_routines.c: ... here.
1300 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1301 * sysdeps/pthread/timer_settime.c: ... here.
1302 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1303 * sysdeps/pthread/tst-timer.c: ... here.
1304 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1305 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1307 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1308 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1310 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1311 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1312 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1313 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1314 Update #include target.
1315 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1316 * sysdeps/i386/i686/nptl/Makefile: ... here.
1317 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1318 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1319 Update #include target.
1320 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1321 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1322 * nptl/sysdeps/i386/Makefile: Moved ...
1323 * sysdeps/i386/nptl/Makefile: ... here.
1324 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1325 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1326 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1327 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1328 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1329 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1330 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1331 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1332 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1333 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1334 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1335 * nptl/sysdeps/i386/tls.h: Moved ...
1336 * sysdeps/i386/nptl/tls.h: ... here.
1338 * sysdeps/sh/Makefile [$(subdir) = csu]
1339 (gen-as-const-headers): Add tcb-offsets.sym.
1340 * nptl/sysdeps/sh/Makefile: File removed.
1341 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1342 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1343 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1344 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1345 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1346 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1347 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1348 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1349 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1350 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1351 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1352 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1353 * nptl/sysdeps/sh/tls.h: Moved ...
1354 * sysdeps/sh/nptl/tls.h: ... here.
1355 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1356 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1357 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1358 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1359 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1360 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1361 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1362 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1363 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1364 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1366 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1367 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1368 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1369 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1370 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1371 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1372 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1373 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1374 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1375 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1376 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1377 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1378 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1379 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1381 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1382 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1384 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1386 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1388 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1389 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1390 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1391 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1392 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1393 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1394 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1396 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1397 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1398 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1399 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1400 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1401 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1402 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1404 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1406 * posix/spawn_faction_addopen.c: Include string.h.
1408 2014-06-11 Roland McGrath <roland@hack.frob.com>
1410 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1411 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1412 * nptl/sysdeps/x86_64/Makefile: Moved ...
1413 * sysdeps/x86_64/nptl/Makefile: ... here.
1414 * nptl/sysdeps/x86_64/configure: Moved ...
1415 * sysdeps/x86_64/nptl/configure: ... here.
1416 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1417 * sysdeps/x86_64/nptl/configure.ac: ... here.
1418 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1419 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1420 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1421 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1422 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1423 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1424 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1425 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1426 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1427 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1428 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1429 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1430 * nptl/sysdeps/x86_64/tls.h: Moved ...
1431 * sysdeps/x86_64/nptl/tls.h: ... here.
1432 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1433 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1434 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1435 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1437 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1439 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1443 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1445 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1447 [POSIX] (off_t): Likewise.
1448 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1449 [POSIX] (S_ISBLK): Require macro.
1450 [POSIX] (S_ISCHR): Likewise.
1451 [POSIX] (S_ISDIR): Likewise.
1452 [POSIX] (S_ISFIFO): Likewise.
1453 [POSIX] (S_ISREG): Likewise.
1454 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1456 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1458 [POSIX] (time_t): Likewise.
1459 [POSIX] (timer_t): Likewise.
1461 2014-06-11 Florian Weimer <fweimer@redhat.com>
1464 * posix/spawn_int.h (struct __spawn_action): Make the path string
1465 non-const to support deallocation.
1466 * posix/spawn_faction_addopen.c
1467 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1468 * posix/spawn_faction_destroy.c
1469 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1470 path in all spawn_do_open actions.
1471 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1472 posix_spawn_file_actions_addopen.
1474 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1476 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1477 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1478 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1479 conditional code always true.
1480 (__libc_vfork): New alias.
1482 2014-06-11 Roland McGrath <roland@hack.frob.com>
1484 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1485 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1487 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1489 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1490 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1492 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1493 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1495 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1496 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1498 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1500 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1501 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1502 multiarch strcmp for PPC64.
1503 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1504 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1506 multiarch optimizations.
1507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1508 (__libc_ifunc_impl_list): Likewise.
1510 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1512 * benchtests/scripts/validate_benchout.py: New script.
1513 * benchtests/Makefile (bench-func): Call it.
1514 * benchtests/scripts/benchout.schema.json: New file.
1516 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1518 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1519 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1520 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1521 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1522 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1523 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1524 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1525 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1526 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1527 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1528 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1529 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1530 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1531 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1532 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1533 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1637 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1638 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1639 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1640 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1643 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1645 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1646 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1659 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1662 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1663 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1664 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1667 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1671 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1672 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1673 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1675 2014-06-10 Wilco <wdijkstr@arm.com>
1677 * math/test-fenv-return.c: New file.
1678 * math/Makefile: Add new test test-fenv-return.
1680 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1683 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1685 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1686 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1687 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1688 0.0L for an argument of 1.0L.
1689 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1691 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1692 value when x - 1 is zero.
1693 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1694 * sysdeps/i386/fpu/libm-test-ulps: Update.
1695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1697 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1700 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1702 2014-06-09 Roland McGrath <roland@hack.frob.com>
1704 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1705 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1707 2014-06-09 Roland McGrath <roland@hack.frob.com>
1709 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1710 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1712 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1713 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1715 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1716 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1718 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1719 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1721 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1722 if not already defined.
1723 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1724 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1725 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1726 (TLS_INIT_TP): Use it.
1727 (TLS_DEFINE_INIT_TP): New macro.
1728 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1730 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1732 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1734 [POSIX] (IXANY): Likewise.
1735 [POSIX] (OLCUC): Likewise.
1736 [POSIX || POSIX2008] (CBAUD): Do not allow.
1737 [POSIX || POSIX2008] (DEFECHO): Likewise.
1738 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1739 [POSIX || POSIX2008] (ECHOKE): Likewise.
1740 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1741 [POSIX || POSIX2008] (EXTA): Likewise.
1742 [POSIX || POSIX2008] (EXTB): Likewise.
1743 [POSIX || POSIX2008] (FLUSHO): Likewise.
1744 [POSIX || POSIX2008] (LOBLK): Likewise.
1745 [POSIX || POSIX2008] (PENDIN): Likewise.
1746 [POSIX || POSIX2008] (SWTCH): Likewise.
1747 [POSIX || POSIX2008] (VDISCARD): Likewise.
1748 [POSIX || POSIX2008] (VDSUSP): Likewise.
1749 [POSIX || POSIX2008] (VLNEXT): Likewise.
1750 [POSIX || POSIX2008] (VREPRINT): Likewise.
1751 [POSIX || POSIX2008] (VSTATUS): Likewise.
1752 [POSIX || POSIX2008] (VWERASE): Likewise.
1753 (B*): Change to B[0123456789]*.
1754 * conform/data/time.h-data [POSIX || UNIX98]
1755 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1756 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1757 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1758 [POSIX] (tm_*): Do not allow.
1760 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1762 * Makefile (install): Don't set LANGUAGE.
1763 * Makefile.in (install): Likewise.
1764 * assert/Makefile (test-assert-ENV): Remove variable.
1765 (test-assert-perr-ENV): Likewise.
1766 * elf/Makefile (neededtest4-ENV): Likewise.
1767 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1768 [$(cross-compiling) = no]: Don't set LANGUAGE.
1769 * io/ftwtest-sh (LANG): Remove variable.
1770 * libio/Makefile (tst-widetext-ENV): Likewise.
1771 * manual/install.texi (Running make install): Don't refer to
1772 environment settings for make install.
1773 * INSTALL: Regenerated.
1774 * nptl/tst-tls6.sh: Don't set LANG.
1775 * posix/globtest.sh (LANG): Remove variable.
1776 * string/Makefile (tester-ENV): Likewise.
1777 (inl-tester-ENV): Likewise.
1778 (noinl-tester-ENV): Likewise.
1779 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1780 [$(cross-compiling) = no]: Don't set LANGUAGE.
1781 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1782 without explicit environment settings.
1784 2014-06-06 Roland McGrath <roland@hack.frob.com>
1786 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1787 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1789 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1791 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1793 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1794 other files in the crypt directory.
1795 * crypt/crypt.c: Remove duplicate includes.
1796 * crypt/crypt-entry.c: Likewise.
1797 * crypt/crypt_util.c: Likewise.
1799 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1801 * Makeconfig (run-program-env): New variable.
1802 (run-program-prefix-before-env): Likewise.
1803 (run-program-prefix-after-env): Likewise.
1804 (run-program-prefix): Define in terms of new variables.
1805 (built-program-cmd-before-env): New variable.
1806 (built-program-cmd-after-env): Likewise.
1807 (built-program-cmd): Define in terms of new variables.
1808 (test-program-prefix-before-env): New variable.
1809 (test-program-prefix-after-env): Likewise.
1810 (test-program-prefix): Define in terms of new variables.
1811 (test-program-cmd-before-env): New variable.
1812 (test-program-cmd-after-env): Likewise.
1813 (test-program-cmd): Define in terms of new variables.
1814 * Rules (make-test-out): Use $(run-program-env).
1815 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1816 (help): Do not mention environment variables. Mention
1817 --timeoutfactor option.
1818 (timeoutfactor): New variable.
1819 (blacklist_exports): Remove function.
1820 (exports): Remove variable.
1821 (command): Do not include ${exports}.
1822 * manual/install.texi (Configuring and compiling): Do not mention
1823 test wrappers preserving environment variables. Mention that last
1824 assignment to a variable must take precedence.
1825 * INSTALL: Regenerated.
1826 * benchtests/Makefile (run-bench): Use $(run-program-env).
1827 * catgets/Makefile ($(objpfx)test1.cat): Use
1828 $(built-program-cmd-before-env), $(run-program-env) and
1829 $(built-program-cmd-after-env).
1830 ($(objpfx)test2.cat): Do not specify environment variables
1832 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1833 $(run-program-env) and $(built-program-cmd-after-env).
1834 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1835 $(run-program-env) and $(test-program-cmd-after-env).
1836 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1838 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1839 run_program_env and test_program_cmd_after_env arguments.
1840 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1841 * elf/tst-pathopt.sh: Use run_program_env argument.
1842 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1843 $(test-wrapper-env) and $(run-program-env).
1844 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1845 run_program_env arguments.
1846 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1847 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1848 $(test-program-prefix-before-env), $(run-program-env) and
1849 $(test-program-prefix-after-env).
1850 ($(objpfx)tst-gettext2.out): Likewise.
1851 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1852 run_program_env and test_program_prefix_after_env arguments.
1853 * intl/tst-gettext2.sh: Likewise.
1854 * intl/tst-gettext4.sh: Do not set environment variables
1856 * intl/tst-gettext6.sh: Likewise.
1857 * intl/tst-translit.sh: Likewise.
1858 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1859 $(test-program-prefix-before-env), $(run-program-env) and
1860 $(test-program-prefix-after-env).
1861 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1862 run_program_env and test_program_prefix_after_env arguments.
1863 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1864 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1865 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1866 explicitly with each use of ${test_wrapper_env}.
1867 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1868 $(test-program-prefix-before-env), $(run-program-env) and
1869 $(test-program-prefix-after-env).
1870 * posix/tst-getconf.sh: Do not set environment variables
1872 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1873 run_program_env and test_program_prefix_after_env arguments.
1874 * stdio-common/tst-printf.sh: Do not set environment variables
1876 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1877 $(test-program-prefix-before-env), $(run-program-env) and
1878 $(test-program-prefix-after-env).
1879 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1880 run_program_env and test_program_prefix_after_env arguments.
1881 Split $test calls into $test_pre and $test.
1882 * timezone/Makefile (build-testdata): Use
1883 $(built-program-cmd-before-env), $(run-program-env) and
1884 $(built-program-cmd-after-env).
1886 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1888 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1889 strlen for non SHARED builds.
1891 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1893 * nptl/allocatestack.c (check_list): Inlined function...
1894 (__reclaim_stacks): ... here.
1896 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1899 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1902 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1904 * Rules (make-test-out): Include
1905 LOCPATH=$(common-objpfx)localedata in default environment.
1906 * debug/Makefile (tst-chk1-ENV): Remove variable.
1907 (tst-chk2-ENV): Likewise.
1908 (tst-chk3-ENV): Likewise.
1909 (tst-chk4-ENV): Likewise.
1910 (tst-chk5-ENV): Likewise.
1911 (tst-chk6-ENV): Likewise.
1912 (tst-lfschk1-ENV): Likewise.
1913 (tst-lfschk2-ENV): Likewise.
1914 (tst-lfschk3-ENV): Likewise.
1915 (tst-lfschk4-ENV): Likewise.
1916 (tst-lfschk5-ENV): Likewise.
1917 (tst-lfschk6-ENV): Likewise.
1918 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1919 (tst-iconv7-ENV): Likewise.
1920 * intl/Makefile (LOCPATH-ENV): Likewise.
1921 (tst-codeset-ENV): Likewise.
1922 (tst-gettext3-ENV): Likewise.
1923 (tst-gettext5-ENV): Likewise.
1924 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1925 (tst-fopenloc-ENV): Likewise.
1926 (tst-fgetws-ENV): Remove variable.
1927 (tst-ungetwc1-ENV): Likewise.
1928 (tst-ungetwc2-ENV): Likewise.
1929 (bug-ungetwc2-ENV): Likewise.
1930 (tst-swscanf-ENV): Likewise.
1931 (bug-ftell-ENV): Likewise.
1932 (tst-fgetwc-ENV): Likewise.
1933 (tst-fseek-ENV): Likewise.
1934 (tst-ftell-partial-wide-ENV): Likewise.
1935 (tst-ftell-active-handler-ENV): Likewise.
1936 (tst-ftell-append-ENV): Likewise.
1937 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1938 (tst-regexloc-ENV): Likewise.
1939 (bug-regex1-ENV): Likewise.
1940 (tst-regex-ENV): Likewise.
1941 (tst-regex2-ENV): Likewise.
1942 (bug-regex5-ENV): Likewise.
1943 (bug-regex6-ENV): Likewise.
1944 (bug-regex17-ENV): Likewise.
1945 (bug-regex18-ENV): Likewise.
1946 (bug-regex19-ENV): Likewise.
1947 (bug-regex20-ENV): Likewise.
1948 (bug-regex22-ENV): Likewise.
1949 (bug-regex23-ENV): Likewise.
1950 (bug-regex25-ENV): Likewise.
1951 (bug-regex26-ENV): Likewise.
1952 (bug-regex30-ENV): Likewise.
1953 (bug-regex32-ENV): Likewise.
1954 (bug-regex33-ENV): Likewise.
1955 (bug-regex34-ENV): Likewise.
1956 (bug-regex35-ENV): Likewise.
1957 (tst-rxspencer-ENV): Likewise.
1958 (tst-rxspencer-no-utf8-ENV): Likewise.
1959 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1960 (tst-sscanf-ENV): Likewise.
1961 (tst-swprintf-ENV): Likewise.
1962 (tst-swscanf-ENV): Likewise.
1963 (test-vfprintf-ENV): Likewise.
1964 (scanf13-ENV): Likewise.
1965 (bug14-ENV): Likewise.
1966 (tst-grouping-ENV): Likewise.
1967 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1968 (tst-strtod3-ENV): Likewise.
1969 (tst-strtod4-ENV): Likewise.
1970 (tst-strtod5-ENV): Likewise.
1971 (testmb2-ENV): Likewise./
1972 * string/Makefile (tst-strxfrm-ENV): Likewise.
1973 (tst-strxfrm2-ENV): Likewise.
1974 (bug-strcoll1-ENV): Likewise.
1975 (test-strcasecmp-ENV): Likewise.
1976 (test-strncasecmp-ENV): Likewise.
1977 * time/Makefile (tst-strptime-ENV): Likewise.
1978 (tst-ftime_l-ENV): Likewise.
1979 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1980 (tst-mbrtowc-ENV): Likewise.
1981 (tst-wcrtomb-ENV): Likewise.
1982 (tst-mbrtowc2-ENV): Likewise.
1983 (tst-c16c32-1-ENV): Likewise.
1984 (tst-mbsnrtowcs-ENV): Likewise.
1986 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1988 * manual/resource.texi (How to get information about the memory
1989 subsystem?): Fix typo.
1990 Reported by Peon de la Parra Ivan <peon@keba.com>
1992 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1995 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1996 (pthread_spin_lock): Branch out of spin loop to proper location.
1997 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1998 (pthread_spin_lock): Likewise.
2000 * nptl/tst-spin4.c: New test.
2001 * nptl/Makefile (tests): Add tst-spin4.
2003 2014-06-03 Andreas Schwab <schwab@suse.de>
2006 * resolv/res_send.c (send_dg): Reload file descriptor after
2009 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2011 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2013 2014-06-03 Richard Henderson <rth@redhat.com>
2015 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2016 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2017 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2018 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2019 in the SAVE_PID block.
2020 (__libc_vfork): New alias.
2021 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2023 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2024 child in registers, not on the stack. Remove RESET_PID conditionals.
2025 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2027 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2029 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2031 2014-06-03 Wilco <wdijkstr@arm.com>
2033 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2034 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2035 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2036 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2037 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2040 2014-06-03 Wilco <wdijkstr@arm.com>
2042 * sysdeps/aarch64/fpu/math_private.h
2043 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2044 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2045 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2046 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2049 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2051 * crypt/crypt-private.h: Include ufc-crypt.h.
2052 (__b64_from_24bit): Declare extern.
2053 * crypt/crypt_util.c(__b64_from_24bit): New function.
2054 (b64t): New static const variable.
2055 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2056 (b64t): Remove variable.
2057 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2058 * crypt/sha256-crypt.c: Include crypt-private.h.
2059 (b64t): Remove variable.
2060 (__sha256_crypt_r): Remove b64_from_24bit and replace
2061 with __b64_from_24bit.
2062 * crypt/sha512-crypt.c: Likewise.
2064 2014-06-02 Roland McGrath <roland@hack.frob.com>
2066 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2067 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2068 Label the code __libc_vfork rather than __vfork.
2069 [!NOT_IN_libc] (vfork): Define as weak alias.
2070 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2071 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2072 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2074 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2076 * malloc/malloc.c (malloc_info): Fix format specifier for
2079 2014-06-02 Wilco <wdijkstr@arm.com>
2081 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2084 2014-06-02 Wilco <wdijkstr@arm.com>
2087 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2088 Rewrite to reduce FPCR/FPSR accesses.
2090 2014-06-01 David S. Miller <davem@davemloft.net>
2092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2094 2014-05-31 David S. Miller <davem@davemloft.net>
2096 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2097 to occur in round to nearest mode when |x| >= 2.0
2099 2014-05-30 Richard Henderson <rth@twiddle.net>
2101 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2102 (PSEUDO_RET_NOERRNO): Remove.
2103 (ret): Don't redefine.
2104 (ret_NOERRNO): Define in terms of ret.
2105 (ret_ERRVAL): Likewise.
2107 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2108 use of PSEUDO_RET; perform the error check directly.
2110 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2112 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2115 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2117 * malloc/malloc (malloc_info): Fix formatting.
2119 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2120 Roland McGrath <roland@hack.frob.com>
2122 * malloc/malloc (malloc_info): Also print mmapped statistics.
2124 2014-05-30 Roland McGrath <roland@hack.frob.com>
2126 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2127 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2129 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2131 * malloc/malloc.c (malloc_info): Inline mi_arena.
2133 2014-05-29 Richard Henderson <rth@twiddle.net>
2135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2136 Remove comma before expanding ASM_ARGS_##nr.
2137 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2138 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2140 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2141 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2142 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2143 (ASM_ARGS_1): Add leading comma.
2145 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2146 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2147 to __errno_location.
2148 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2149 Remove the expected plt for __errno_location.
2151 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2152 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2155 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2156 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2157 it and break it down.
2158 (DOCARGS_0, DOCARGS_1): Do nothing.
2159 (DOCARGS_2): Update to store into the new stack frame.
2160 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2161 (UNDOCARGS_1): Update to restore from the new stack frame.
2162 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2163 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2165 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2166 (SINGLE_THREAD_P): New parameter for result regno.
2167 (PSEUDO): Update to match; use cbz instead of beq.
2169 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2170 Use ENTRY to define the _nocancel entry point. Share the syscall
2171 and syscall error check paths with the cancel path.
2174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2175 whitespace; tabs before and after asm mnemonics.
2177 2014-05-29 Eric Wong <normalperson@yhbt.net>
2180 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2181 Call fstat64 or stat64 internally, depending on arguments passed.
2182 Replace stat buffer argument with file descriptor argument.
2183 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2184 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2185 Pass fd to __internal_statvfs instead of calling fstat64.
2186 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2187 Pass fd to __internal_statvfs64 instead of calling fstat64.
2188 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2189 Pass -1 to __internal_statvfs instead of calling stat64.
2190 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2191 Pass -1 to __internal_statvfs64 instead of calling stat64.
2193 2014-05-28 Roland McGrath <roland@hack.frob.com>
2195 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2196 that was previously under [RESET_PID].
2197 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2199 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2200 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2202 2014-05-27 Roland McGrath <roland@hack.frob.com>
2204 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2206 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2207 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2209 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2211 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2213 2014-05-27 Andreas Schwab <schwab@suse.de>
2215 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2217 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2218 * elf/rtld.c (init_tls, dl_main): Likewise.
2219 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2220 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2221 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2222 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2223 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2224 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2225 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2226 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2227 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2228 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2229 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2230 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2231 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2232 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2233 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2234 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2235 * sysdeps/generic/tls.h: Update description.
2237 2014-05-27 Will Newton <will.newton@linaro.org>
2240 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2241 and restore r2 rather than just restoring.
2243 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2246 * libio/tst-ftell-append.c: New test case.
2247 * libio/Makefile (tests): Add test case.
2248 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2250 * libio/wfileops.c (do_ftell_wide): Likewise.
2252 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2256 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2260 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2261 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2262 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2263 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2264 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2265 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2272 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2273 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2274 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2275 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2276 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2278 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2279 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2281 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2283 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2285 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2286 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2287 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2289 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2290 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2292 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2310 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2315 conditional [RESET_PID].
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2317 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2324 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2325 (__libc_vfork): New strong alias.
2326 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2333 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2334 (__libc_vfork): New strong alias.
2335 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2340 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2342 * malloc/malloc.c (mi_arena): New function.
2343 (malloc_info): Remove nested function mi_arena. Call non-nosted
2346 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2348 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2350 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2351 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2352 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2353 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2354 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2355 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2356 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2358 2014-05-26 Andreas Schwab <schwab@suse.de>
2361 * locale/programs/repertoire.c (repertoire_read): Add slash
2362 between I18NPATH element and file name.
2363 * locale/programs/locfile.c (locfile_read): Likewise.
2365 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2367 * nptl/pthread_mutexattr_settype.c
2368 (__pthread_mutexattr_settype):
2369 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2371 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2373 * nptl/tst-mutex5 (do_test):
2374 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2376 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2378 * benchtests/README: Document 'init' directive.
2379 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2381 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2382 (parse_file): Recognize 'init' directive.
2384 2014-05-26 Kyle McMartin <kyle@redhat.com>
2387 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2388 alignment of struct pthread.
2390 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2393 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2394 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2395 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2396 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2398 2014-05-25 Richard Henderson <rth@twiddle.net>
2400 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2401 (SINGLE_THREAD_P_PIC): Remove.
2402 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2403 (SINGLE_THREAD_P_PIC): Remove.
2405 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2406 branch to syscall error ...
2408 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2409 from __local_syscall_error to .Lsyscall_error.
2410 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2411 (SYSCALL_ERROR): Update label name.
2413 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2414 Do not use DOARGS/UNDOARGS.
2415 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2416 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2417 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2418 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2419 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2424 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2425 define if !NOT_IN_libc.
2426 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2427 define with non-default symbol versions.
2429 2014-05-23 Richard Henderson <rth@twiddle.net>
2431 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2432 (vfork, __vfork): Define via compat_symbol.
2434 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2435 [!HAVE_IFUNC] (vfork_compat): Remove.
2436 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2438 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2441 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2442 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2445 2014-05-23 Richard Henderson <rth@twiddle.net>
2447 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2448 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2449 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2450 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2452 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2453 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2454 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2455 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2456 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2457 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2458 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2459 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2460 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2461 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2462 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2463 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2464 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2465 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2469 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2470 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2471 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2473 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2475 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2477 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2479 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2480 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2481 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2482 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2483 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2484 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2485 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2486 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2487 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2488 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2489 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2490 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2491 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2492 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2493 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2494 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2495 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2496 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2497 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2498 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2499 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2500 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2501 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2502 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2503 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2504 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2505 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2507 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2509 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2510 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2511 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2512 before exiting on error.
2513 (__libc_vfork): New strong alias.
2514 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2515 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2517 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2518 that was previously under [RESET_PID].
2519 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2521 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2523 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2526 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2527 value when x - 1 is zero.
2528 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2529 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2530 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2531 0.0L for an argument of 1.0L.
2532 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2534 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2535 value when x - 1 is zero.
2536 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2537 * sysdeps/i386/fpu/libm-test-ulps: Update.
2538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2540 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2542 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2543 alphasort and versionsort.
2545 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2547 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2549 [copysignf]: Likewise.
2551 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2553 * crypt/md5-crypt.c: Fix formatting.
2555 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2557 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2558 (b64_from_24bit): New function.
2560 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2563 libc_hidden_builtin_def to ifunc.
2564 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2565 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2567 2014-05-21 Roland McGrath <roland@hack.frob.com>
2569 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2570 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2572 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2574 * nscd/Depend (linuxthreads): Remove.
2576 * resolv/Depend (linuxthreads): Remove.
2577 * rt/Depend (linuxthreads): Remove.
2579 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2580 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2581 $(common-objpfx)elf/.
2582 (link-libc-before-gnulib): Likewise.
2583 (elfobjdir): Remove variable.
2584 * Makefile (install): Use $(elf-objpfx) instead of
2585 $(common-objpfx)elf/.
2586 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2588 (link-libc-deps): Likewise.
2589 ($(common-objpfx)libc.so): Likewise.
2590 ($(common-objpfx)linkobj/libc.so): Likewise.
2591 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2592 instead of $(common-objpfx)elf/.
2593 (symbolic-link-list): Likewise.
2594 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2595 [$(cross-compiling) = no]: Likewise.
2596 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2598 (static-gnulib-arch): Likewise.
2599 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2600 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2601 $(common-objpfx)elf/.
2603 2014-05-21 Richard Henderson <rth@redhat.com>
2605 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2606 (SINGLE_THREAD_P): Use the correct width load. Fold
2607 into the ldr offset.
2609 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2610 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2612 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2614 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2615 (libgcc_s_resume): Use __attribute_used__.
2616 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2619 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2621 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2622 optimization when used with float constants.
2624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2626 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2629 * locale/nl_langinfo_l.c: Make direct reference to every
2630 _nl_current_CATEGORY symbol.
2631 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2632 (tests-static): Add tst-langinfo-static.
2633 (tests-special): Add tst-langinfo-static.out.
2634 ($(objpfx)tst-langinfo.out): Redirect output.
2635 ($(objpfx)tst-langinfo-static.out): New.
2636 * localedata/tst-langinfo.sh: Send output to stdout.
2637 * localedata/tst-langinfo-static.c: New file.
2640 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2641 when the shift amount is modulo the limb size.
2643 2014-05-20 Richard Henderson <rth@redhat.com>
2646 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2647 Change type of sa_flags from unsigned int to int.
2650 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2652 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2654 2014-05-20 Will Newton <will.newton@linaro.org>
2656 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2657 Test the return value of the system call in the nocancel case.
2659 2014-05-20 Will Newton <will.newton@linaro.org>
2660 Yvan Roux <yvan.roux@linaro.org>
2662 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2663 #include of asm/ptrace.h.
2664 (PTRACE_GET_THREAD_AREA): Remove #undef.
2665 (PTRACE_GETHBPREGS): Likewise.
2666 (PTRACE_SETHBPREGS): Likewise.
2667 (struct user_regs_struct): New structure.
2668 (struct user_fpsimd_struct): New structure.
2669 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2670 #include of asm/ptrace.h and second #include of sys/user.h.
2671 (PTRACE_GET_THREAD_AREA): Remove #undef.
2672 (PTRACE_GETHBPREGS): Likewise.
2673 (PTRACE_SETHBPREGS): Likewise.
2674 (ELF_NGREG): Use new struct user_regs_struct.
2675 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2677 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2679 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2680 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2682 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2686 membar to avoid block loads/stores to overlap previous stores.
2688 2014-05-17 Richard Henderson <rth@redhat.com>
2690 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2691 Create the __##syscall_name##_nocancel entry point.
2692 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2693 Remove; let the sysdep-cancel.h code create it.
2695 2014-05-17 David S. Miller <davem@davemloft.net>
2697 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2698 Protect with __USE_GNU.
2699 (TIOCSET_TEMPT): Likewise.
2700 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2701 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2702 these are already provided in bits/ioctl-types.h
2704 2014-05-16 Roland McGrath <roland@hack.frob.com>
2706 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2707 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2709 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2710 Use wait4 regardless of [__NR_waitpid].
2712 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2715 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2716 (_FP_NANSIGN_Q): Set the quiet bit.
2718 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2720 * benchtests/Makefile
2721 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2722 not $(common-objpfx)math/libm.so.
2723 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2724 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2725 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2726 $(common-objpfx)dlfcn/libdl.so.
2727 ($(objpfx)tst-audit8): Depend on $(libm), not
2728 $(common-objpfx)math/libm.so.
2729 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2730 not $(common-objpfx)dlfcn/libdl.so.
2732 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2733 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2734 [$(build-shared) = yes].
2735 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2736 $(common-objpfx)nptl/libpthread.so.
2737 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2738 $(common-objpfx)math/libm.so$(libm.so-version) or
2739 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2740 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2741 $(common-objpfx)dlfcn/libdl.so.
2742 * setjmp/Makefile (link-libm): Remove variable.
2743 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2744 * stdio-common/Makefile (link-libm): Remove variable.
2745 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2746 * stdlib/Makefile (link-libm): Remove variable.
2747 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2748 ($(objpfx)tst-strtod-round): Likewise.
2749 ($(objpfx)tst-tininess): Likewise.
2750 ($(objpfx)tst-strtod-underflow): Likewise.
2751 ($(objpfx)tst-strtod6): Likewise.
2752 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2753 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2754 $(common-objpfx)dlfcn/libdl.so.
2756 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2758 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2759 BSD terminal modes definitions.
2761 2014-05-16 Roland McGrath <roland@hack.frob.com>
2763 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2764 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2766 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2767 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2768 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2769 Don't do #include_next.
2770 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2771 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2772 Don't do #include_next.
2773 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2774 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2775 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2776 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2778 2014-05-16 Allan McRae <allan@archlinux.org>
2780 * po/sv.po: Update Swedish translation from translation project.
2782 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2785 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2788 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2789 errno if the TIOCGPTN ioctl fails with an error different than
2791 * login/tst-ptsname.c: New file.
2792 * login/Makefile (tests): Add tst-ptsname.
2795 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2798 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2802 herrno to return EAI_AGAIN.
2804 2014-05-14 Roland McGrath <roland@hack.frob.com>
2806 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2807 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2808 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2809 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2813 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2815 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2817 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2819 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2820 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2821 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2823 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2825 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2826 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2827 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2828 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2829 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2831 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2835 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2837 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2839 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2842 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2858 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2860 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2864 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2866 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2868 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2871 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2873 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2875 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2877 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2879 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2881 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2883 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2885 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2887 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2889 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2892 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2894 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2896 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2897 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2898 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2899 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2900 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2901 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2902 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2903 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2904 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2905 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2906 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2907 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2908 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2909 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2910 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2911 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2912 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2913 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2914 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2915 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2916 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2917 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2918 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2920 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2921 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2922 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2923 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2924 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2925 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2926 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2928 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2929 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2931 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2932 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2933 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2934 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2935 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2941 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2944 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2945 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2947 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2948 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2949 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2950 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2952 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2953 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2954 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2955 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2956 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2957 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2958 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2959 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2961 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2962 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2964 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2966 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2967 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2968 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2969 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2970 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2972 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2974 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2976 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2978 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2980 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2983 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2986 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2989 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2990 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2992 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2993 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2994 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2995 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2997 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2999 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3001 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3002 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3003 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3006 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3009 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3011 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3012 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3014 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3015 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3017 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3019 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3021 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3022 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3023 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3025 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3027 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3029 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3032 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3035 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3038 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3041 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3043 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3045 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3048 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3050 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3052 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3054 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3055 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3057 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3058 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3062 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3063 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3065 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3066 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3070 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3072 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3074 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3076 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3078 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3080 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3082 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3084 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3085 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3087 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3088 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3090 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3091 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3092 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3094 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3096 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3098 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3100 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3102 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3104 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3106 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3109 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3110 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3111 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3114 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3116 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3117 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3118 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3123 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3126 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3128 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3130 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3131 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3132 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3133 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3134 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3135 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3136 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3137 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3138 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3139 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3140 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3141 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3142 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3145 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3146 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3147 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3148 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3150 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3151 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3152 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3153 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3154 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3155 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3156 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3157 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3158 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3159 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3161 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3164 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3165 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3167 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3169 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3170 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3171 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3172 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3173 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3174 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3175 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3176 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3177 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3182 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3198 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3199 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3200 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3201 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3203 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3204 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3205 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3206 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3207 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3208 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3209 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3210 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3211 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3212 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3214 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3215 that was previously under [RESET_PID].
3216 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3217 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3218 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3220 * sysdeps/i386/nptl/Implies: New file.
3221 * sysdeps/x86_64/nptl/Implies: New file.
3222 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3223 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3225 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3227 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3228 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3229 (__libc_vfork): New strong alias.
3230 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3231 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3233 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3234 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3235 (__libc_vfork): New strong alias.
3236 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3237 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3239 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3240 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3241 (__libc_vfork): New strong alias.
3242 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3243 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3244 * nptl/pt-vfork.c: New file.
3245 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3246 (libpthread: GLIBC_2.20): New version set (empty).
3248 2014-05-14 Will Newton <will.newton@linaro.org>
3250 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3253 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3256 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3257 arguments with exponent 65 or above.
3258 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3259 arguments 0x1p113L or above.
3260 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3261 to arguments 0x1p107L or above.
3262 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3263 positive arguments with exponent 65 or above.
3264 * math/auto-libm-test-in: Add more tests of log1p.
3265 * math/auto-libm-test-out: Regenerated.
3268 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3269 non-finite arguments is +0.
3270 * math/s_cacosf.c (__cacosf): Likewise.
3271 * math/s_cacosl.c (__cacosl): Likewise.
3272 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3273 * sysdeps/i386/fpu/libm-test-ulps: Update.
3274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3277 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3279 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3280 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3281 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3282 for explicit high bit of mantissa when testing for argument equal
3284 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3285 * sysdeps/i386/fpu/libm-test-ulps: Update.
3286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3289 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3290 (__erf): Scale by 16 instead of 8 in potentially underflowing
3291 case. Ensure exception if result actually underflows.
3292 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3293 (__erff): Scale by 16 instead of 8 in potentially underflowing
3294 case. Ensure exception if result actually underflows.
3295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3296 (efx8): Remove variable.
3297 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3298 case. Ensure exception if result actually underflows.
3299 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3300 (efx8): Remove variable.
3301 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3302 case. Ensure exception if result actually underflows.
3303 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3304 (efx8): Remove variable.
3305 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3306 case. Ensure exception if result actually underflows.
3307 * math/auto-libm-test-in: Add more tests of erf.
3308 * math/auto-libm-test-out: Regenerated.
3310 2014-05-14 Andreas Schwab <schwab@suse.de>
3312 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3313 Remove code conditionalized on USE___THREAD.
3315 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3316 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3319 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3322 Define unconditionally.
3323 (__ASSUME_O_CLOEXEC): Likewise.
3324 (__ASSUME_SOCK_CLOEXEC): Likewise.
3325 (__ASSUME_IN_NONBLOCK): Likewise.
3326 (__ASSUME_PIPE2): Likewise.
3327 (__ASSUME_EVENTFD2): Likewise.
3328 (__ASSUME_SIGNALFD4): Likewise.
3329 (__ASSUME_DUP3): Likewise.
3330 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3331 (__ASSUME_DUP3): Do not define.
3332 (__ASSUME_EVENTFD2): Likewise.
3333 (__ASSUME_IN_NONBLOCK): Likewise.
3334 (__ASSUME_O_CLOEXEC): Likewise.
3335 (__ASSUME_PIPE2): Likewise.
3336 (__ASSUME_SIGNALFD4): Likewise.
3337 (__ASSUME_SOCK_CLOEXEC): Likewise.
3338 (__ASSUME_UTIMES): Undefine.
3339 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3340 (__ASSUME_UTIMES): Do not define.
3341 (__ASSUME_O_CLOEXEC): Likewise.
3342 (__ASSUME_SOCK_CLOEXEC): Likewise.
3343 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3344 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3346 (__ASSUME_PIPE2): Likewise.
3347 (__ASSUME_EVENTFD2): Likewise.
3348 (__ASSUME_SIGNALFD4): Likewise.
3349 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3350 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3352 (__ASSUME_EVENTFD2): Likewise.
3353 (__ASSUME_SIGNALFD4): Likewise.
3354 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3355 (__ASSUME_32BITUIDS): Likewise.
3356 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3357 (__ASSUME_IPC64): Likewise.
3358 (__ASSUME_ST_INO_64_BIT): Likewise.
3359 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3360 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3361 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3362 (__ASSUME_UTIMES): Do not define.
3363 (__ASSUME_PSELECT): Likewise.
3364 (__ASSUME_PPOLL): Likewise.
3365 (__ASSUME_O_CLOEXEC): Likewise.
3366 (__ASSUME_SOCK_CLOEXEC): Likewise.
3367 (__ASSUME_IN_NONBLOCK): Likewise.
3368 (__ASSUME_PIPE2): Likewise.
3369 (__ASSUME_EVENTFD2): Likewise.
3370 (__ASSUME_SIGNALFD4): Likewise.
3371 (__ASSUME_DUP3): Likewise.
3372 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3373 (__ASSUME_UTIMES): Likewise.
3374 (__ASSUME_O_CLOEXEC): Likewise.
3375 (__ASSUME_SOCK_CLOEXEC): Likewise.
3376 (__ASSUME_IN_NONBLOCK): Likewise.
3377 (__ASSUME_PIPE2): Likewise.
3378 (__ASSUME_EVENTFD2): Likewise.
3379 (__ASSUME_SIGNALFD4): Likewise.
3380 (__ASSUME_DUP3): Likewise.
3381 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3382 (__ASSUME_UTIMES): Likewise.
3383 (__ASSUME_O_CLOEXEC): Likewise.
3384 (__ASSUME_SOCK_CLOEXEC): Likewise.
3385 (__ASSUME_IN_NONBLOCK): Likewise.
3386 (__ASSUME_PIPE2): Likewise.
3387 (__ASSUME_EVENTFD2): Likewise.
3388 (__ASSUME_SIGNALFD4): Likewise.
3389 (__ASSUME_DUP3): Likewise.
3390 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3392 (__ASSUME_UTIMES): Likewise.
3393 (__ASSUME_EVENTFD2): Likewise.
3394 (__ASSUME_SIGNALFD4): Likewise.
3395 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3396 (__ASSUME_O_CLOEXEC): Likewise.
3397 (__ASSUME_SOCK_CLOEXEC): Likewise.
3398 (__ASSUME_IN_NONBLOCK): Likewise.
3399 (__ASSUME_PIPE2): Likewise.
3400 (__ASSUME_EVENTFD2): Likewise.
3401 (__ASSUME_SIGNALFD4): Likewise.
3402 (__ASSUME_DUP3): Likewise.
3403 (__ASSUME_UTIMES): Undefine.
3405 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3406 feclearexcept. Remove symbol versioning code.
3407 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3408 symbol versioning code.
3409 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3410 symbol versioning code.
3411 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3412 feupdateenv. Remove symbol versioning code.
3413 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3414 fegetexceptflag. Remove symbol versioning code.
3415 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3416 fesetexceptflag. Remove symbol versioning code.
3417 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3418 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3419 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3420 (__posix_fadvise64_l32): Remove prototype.
3421 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3424 2014-05-13 Roland McGrath <roland@hack.frob.com>
3426 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3427 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3428 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3429 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3431 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3433 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3434 current working directory
3436 2014-05-13 Roland McGrath <roland@hack.frob.com>
3438 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3439 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3440 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3441 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3442 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3443 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3444 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3445 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3447 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3448 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3449 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3450 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3451 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3457 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3458 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3459 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3461 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3463 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3464 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3465 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3466 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3467 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3468 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3469 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3470 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3471 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3472 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3473 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3474 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3475 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3476 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3477 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3478 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3479 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3481 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3482 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3484 * sysdeps/unix/sysv/linux/arm/Makefile
3485 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3486 Add rt-aeabi_unwind_cpp_pr1.
3487 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3488 Add nptl-aeabi_unwind_cpp_pr1.
3489 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3490 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3491 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3492 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3493 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3494 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3496 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3497 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3498 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3499 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3501 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3502 Deconditionalize the code that was previously under [RESET_PID].
3503 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3505 * sysdeps/generic/exit-thread.h: New file.
3506 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3507 * include/unistd.h (__exit_thread): Remove declaration.
3508 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3509 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3510 * csu/libc-start.c: Include <exit-thread.h>.
3511 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3512 * nptl/pthread_create.c: Include <exit-thread.h>.
3513 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3514 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3515 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3516 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3517 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3518 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3519 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3520 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3521 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3522 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3523 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3524 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3525 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3526 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3527 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3528 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3529 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3531 2014-05-13 Andreas Schwab <schwab@suse.de>
3533 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3535 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3537 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3538 (__ASSUME_UTIMES): Do not condition on kernel version.
3539 (__ASSUME_PSELECT): Define unconditionally.
3540 (__ASSUME_PPOLL): Likewise.
3541 (__ASSUME_ATFCTS): Likewise.
3542 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3543 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3544 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3545 (__ASSUME_UTIMENSAT): Define unconditionally.
3546 (__ASSUME_PRIVATE_FUTEX): Likewise.
3547 (__ASSUME_FALLOCATE): Likewise.
3548 (__ASSUME_O_CLOEXEC): Likewise.
3549 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3550 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3551 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3552 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3553 (__ASSUME_IN_NONBLOCK): Likewise.
3554 (__ASSUME_PIPE2): Likewise.
3555 (__ASSUME_EVENTFD2): Likewise.
3556 (__ASSUME_SIGNALFD4): Likewise.
3557 (__ASSUME_DUP3): Likewise.
3558 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3559 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3560 (__ASSUME_AT_RANDOM): Likewise.
3561 (__ASSUME_PREADV): Likewise.
3562 (__ASSUME_PWRITEV): Likewise.
3563 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3564 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3565 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3566 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3567 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3568 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3569 (__ASSUME_O_CLOEXEC): Define unconditionally.
3570 (__ASSUME_PSELECT): Do not undefine conditionally.
3571 (__ASSUME_PPOLL): Likewise.
3572 (__ASSUME_ATFCTS): Likewise.
3573 (__ASSUME_SET_ROBUST_LIST): Likewise.
3574 (__ASSUME_UTIMENSAT): Likewise.
3575 (__ASSUME_FDATASYNC): Define unconditionally.
3576 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3577 (__ASSUME_SIGFRAME_V2): Likewise.
3578 )__ASSUME_EVENTFD2): Likewise.
3579 (__ASSUME_SIGNALFD4): Likewise.
3580 (__ASSUME_PSELECT): Do not undefine conditionally.
3581 (__ASSUME_PPOLL): Likewise.
3582 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3583 (__ASSUME_PSELECT): Define unconditionally.
3584 (__ASSUME_PPOLL): Likewise.
3585 (__ASSUME_O_CLOEXEC): Likewise.
3586 (__ASSUME_SOCK_CLOEXEC): Likewise.
3587 (__ASSUME_IN_NONBLOCK): Likewise.
3588 (__ASSUME_PIPE2): Likewise.
3589 (__ASSUME_EVENTFD2): Likewise.
3590 (__ASSUME_SIGNALFD4): Likewise.
3591 (__ASSUME_DUP3): Likewise.
3592 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3593 (__ASSUME_O_CLOEXEC): Likewise.
3594 (__ASSUME_SOCK_CLOEXEC): Likewise.
3595 (__ASSUME_IN_NONBLOCK): Likewise.
3596 (__ASSUME_PIPE2): Likewise.
3597 (__ASSUME_EVENTFD2): Likewise.
3598 (__ASSUME_SIGNALFD4): Likewise.
3599 (__ASSUME_DUP3): Likewise.
3600 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3601 (__ASSUME_EVENTFD2): Likewise.
3602 (__ASSUME_SIGNALFD4): Likewise.
3603 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3605 2014-05-12 Andreas Schwab <schwab@suse.de>
3608 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3609 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3610 than maximum RPC packet size.
3611 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3612 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3613 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3614 (_nss_nis_getservbyport_r): Likewise.
3616 2014-05-12 Will Newton <will.newton@linaro.org>
3618 * malloc/Makefile (tests): Add tst-mallopt.
3619 * malloc/tst-mallopt.c: New file.
3621 2014-05-09 Roland McGrath <roland@hack.frob.com>
3623 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3624 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3626 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3628 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3629 (tst-tlsmod6.so): Likewise.
3631 2014-05-09 Roland McGrath <roland@hack.frob.com>
3633 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3635 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3638 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3639 and <dl-procinfo.h>.
3640 (__fegetenv): Save SSE state in envp->__eip if supported.
3641 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3642 envp->__eip if supported.
3643 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3644 and <dl-procinfo.h>.
3645 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3646 __data_offset and __data_selector in environment to 0. Set SSE
3648 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3650 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3652 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3654 2014-05-09 Will Newton <will.newton@linaro.org>
3656 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3657 and libc_relro_required for ARM.
3658 * sysdeps/arm/preconfigure: Regenerate.
3660 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3661 Stefan Liebler <stli@linux.vnet.ibm.com>
3663 * config.make.in (enable-lock-elision): New Makefile variable.
3664 * configure.ac: Likewise.
3665 * configure: Regenerate.
3666 * sysdeps/s390/configure.ac:
3667 Add check for gcc transactions support.
3668 * sysdeps/s390/configure: Regenerate.
3669 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3670 Build elision files if enabled.
3671 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3672 Add lock elision support for s390.
3673 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3674 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3675 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3676 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3677 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3678 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3679 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3681 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3683 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3685 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3687 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3688 (__lll_timedlock_elision, __lll_lock_elision)
3689 (__lll_unlock_elision, __lll_trylock_elision)
3690 (lll_timedlock_elision, lll_lock_elision)
3691 (lll_unlock_elision, lll_trylock_elision): Add.
3692 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3693 (pthread_mutex_t): Add lock elision support for s390.
3695 2014-05-14 Wilco <wdijkstr@arm.com>
3697 * sysdeps/arm/fclrexcpt.c: Cleanup.
3698 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3699 * sysdeps/arm/feenablxcpt.c: Cleanup.
3700 * sysdeps/arm/fegetenv.c: Cleanup.
3701 * sysdeps/arm/fegetexcept.c: Cleanup.
3702 * sysdeps/arm/fegetround.c: Cleanup.
3703 * sysdeps/arm/feholdexcpt.c: Cleanup.
3704 * sysdeps/arm/fesetenv.c: Cleanup.
3705 * sysdeps/arm/fesetround.c: Cleanup.
3706 * sysdeps/arm/feupdateenv.c: Cleanup.
3707 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3708 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3709 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3710 * sysdeps/arm/ftestexcept.c: Cleanup.
3711 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3712 * sysdeps/arm/setfpucw.c: Cleanup.
3714 2014-05-09 Will Newton <will.newton@linaro.org>
3716 * sysdeps/arm/armv7/strcmp.S: New file.
3717 * NEWS: Mention addition of ARMv7 optimized strcmp.
3719 2014-05-08 Roland McGrath <roland@hack.frob.com>
3721 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3722 look for %.ac rather than %.in.
3724 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3725 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3726 * sysdeps/mach/hurd/configure: Regenerated.
3727 * sysdeps/unix/sysv/linux/configure: Regenerated.
3729 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3731 2014-05-07 Steve Ellcey <sellcey@mips.com>
3734 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3738 2014-05-07 Andreas Schwab <schwab@suse.de>
3740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3741 when skipping over non-matching result from nscd.
3743 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3746 * nptl/sockperf.c (client): Check socket return value.
3749 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3750 nscd security class.
3752 2014-05-06 Roland McGrath <roland@hack.frob.com>
3754 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3755 * sysdeps/arm/unwind.h: ... here.
3757 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3760 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3763 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3765 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3766 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3767 multiarch strncpy for PPC64.
3768 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3769 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3771 multiarch optimizations.
3772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3773 (__libc_ifunc_impl_list): Likewise.
3774 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3775 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3776 multiarch stpncpy for PPC64.
3777 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3778 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3780 2014-05-06 Andreas Schwab <schwab@suse.de>
3783 * gmon/mcount.c (_MCOUNT_DECL): Use
3784 atomic_compare_and_exchange_bool_acq instead of
3785 catomic_compare_and_exchange_bool_acq.
3787 2014-05-05 Roland McGrath <roland@hack.frob.com>
3789 * elf/Makefile (others, install-bin): Remove pldd.
3790 (pldd-modules): Variable removed.
3791 ($(objpfx)pldd): Target removed.
3792 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3793 (others, install-bin): Append pldd here.
3794 ($(objpfx)pldd): New target.
3796 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3797 to 0, so the first #if test emitted later doesn't see it undefined.
3798 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3799 * sysdeps/gnu/errlist.c: Regenerated.
3801 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3803 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3804 [libc_hidden_builtin_def]: Define to empty value.
3805 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3806 [libc_hidden_builtin_def]: Likewise.
3807 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3808 [libc_hidden_builtin_def]: Likewise.
3809 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3810 [libc_hidden_builtin_def]: Likewise.
3811 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3812 __redirect_memcpy and define ifunc as default hidden symbol.
3813 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3814 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3816 2014-05-04 Adam Conrad <adconrad@0c3.net>
3818 * locale/iso-4217.def: Reintroduce XDR currency.
3820 2014-05-04 Allan McRae <allan@archlinux.org>
3822 * po/eo.po: Update Esperanto translation from translation project.
3824 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3826 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3827 and FEATURE_INDEX_MAX to 1.
3828 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3830 2014-05-01 Steve Ellcey <sellcey@mips.com>
3832 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3833 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3834 * iconvdata/big5.c (ONE_DIRECTION): Define.
3835 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3836 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3837 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3838 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3839 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3840 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3841 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3842 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3843 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3844 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3845 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3846 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3847 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3848 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3849 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3850 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3851 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3852 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3853 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3854 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3855 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3856 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3857 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3858 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3859 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3860 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3861 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3862 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3863 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3864 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3865 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3866 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3867 * iconvdata/johab.c (ONE_DIRECTION): Define.
3868 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3869 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3870 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3871 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3872 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3873 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3874 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3875 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3876 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3877 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3879 2014-05-01 Roland McGrath <roland@hack.frob.com>
3881 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3882 (_IO_JUMPS_OFFSET): Define to 0.
3884 * nptl/sysdeps/pthread/bits/libc-lock.h
3885 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3886 (__libc_lock_define_initialized_recursive): Always define using
3887 initializer. Modern compilers treat uninitialized (implicit zero) and
3888 explicit zero initializers the same (i.e. put the datum in bss).
3890 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3892 * nscd/nscd-client.h: Include <string.h>.
3894 2014-05-01 David S. Miller <davem@davemloft.net>
3897 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3898 multiple zero bytes exist at the end of a string.
3899 Reported by Aurelien Jarno <aurelien@aurel32.net>
3901 * string/test-strcmp.c (check): Add explicit test for situations where
3902 there are multiple zero bytes after the first.
3904 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3907 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3908 when compiling wprintf.
3909 * stdio-common/tstdiomisc.c (t3): New function.
3912 2014-05-01 Steve Ellcey <sellcey@mips.com>
3914 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3915 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3916 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3917 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3919 2014-05-01 Steve Ellcey <sellcey@mips.com>
3921 * stdlib/longlong.h: Updated from GCC.
3923 2014-05-01 Will Newton <will.newton@linaro.org>
3924 Bernard Ogden <bernie.ogden@linaro.org>
3926 * NEWS: Update fixed bug list.
3929 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3931 2014-04-30 David S. Miller <davem@davemloft.net>
3933 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3934 (libc_feholdexcept_setround_sparc_ctx): New function.
3935 (libc_fesetenv_sparc_ctx): Likewise.
3936 (libc_feupdateenv_sparc_ctx): Likewise.
3937 (libc_feholdsetround_sparc_ctx): Likewise.
3938 (libc_feholdexcept_setround_ctx): Define.
3939 (libc_feholdexcept_setroundf_ctx): Likewise.
3940 (libc_feholdexcept_setroundl_ctx): Likewise.
3941 (libc_fesetenv_ctx): Likewise.
3942 (libc_fesetenvf_ctx): Likewise.
3943 (libc_fesetenvl_ctx): Likewise.
3944 (libc_feupdateenv_ctx): Likewise.
3945 (libc_feupdateenvf_ctx): Likewise.
3946 (libc_feupdateenvl_ctx): Likewise.
3947 (libc_feresetround_ctx): Likewise.
3948 (libc_feresetroundf_ctx): Likewise.
3949 (libc_feresetroundl_ctx): Likewise.
3950 (libc_feholdsetround_ctx): Likewise.
3951 (libc_feholdsetroundf_ctx): Likewise.
3952 (libc_feholdsetroundl_ctx): Likewise.
3954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3955 with __USE_GNU instead of XOPEN cpp guards.
3957 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3960 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3961 with XOPEN cpp guards.
3963 2014-04-30 Julian Brown <julian@codesourcery.com>
3966 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3969 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3972 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3974 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3975 * sysdeps/unix/sysv/linux/configure: Regenerated.
3976 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3977 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3978 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3979 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3980 * README: Update reference to required Linux kernel version.
3981 * manual/install.texi (Linux): Update reference to required Linux
3982 kernel headers version.
3983 * INSTALL: Regenerated.
3985 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3987 [POSIX] (limits.h): Likewise.
3988 [POSIX] (math.h): Likewise.
3989 [POSIX] (sys/wait.h): Likewise.
3990 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3992 [POSIX] (stddef.h): Do not allow header inclusion.
3994 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3996 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3998 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4000 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4001 Return immediately after lll_futex_wake.
4003 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4006 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4008 (datahead_init_pos): Call datahead_init_common early.
4009 (datahead_init_neg): Likewise.
4011 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4012 datahead_init_neg): New functions.
4013 * nscd/aicache.c (addhstaiX): Use them.
4014 * nscd/grpcache.c (cache_addgr): Likewise.
4015 * nscd/hstcache.c (cache_addhst): Likewise.
4016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4017 * nscd/netgroupcache.c (do_notfound): Likewise.
4018 (addgetnetgrentX): Likewise.
4019 (addinnetgrX): Likewise.
4020 * nscd/pwdcache.c (cache_addpw): Likewise.
4021 * nscd/servicescache.c (cache_addserv): Likewise.
4023 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4024 Atsushi Onoe <atsushi@onoe.org>
4029 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4030 one response is valid.
4031 * resolv/res_send.c (send_dg): Check for validity of other
4032 response if the current response is a referral.
4034 2014-04-29 Steve Ellcey <sellcey@mips.com>
4036 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4038 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4041 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4042 Always divide by positive zero when computing -Inf result.
4043 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4044 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4046 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4048 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4049 FPSCR if value do not change.
4050 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4051 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4052 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4053 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4054 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4055 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4058 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4060 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4061 * sysdeps/unix/sysv/linux/hppa: Move directory from
4062 ports/systeps/unix/sysv/linux/hppa.
4063 * README: Update listing for hppa-*-linux-gnu.
4065 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4068 * manual/stdio.texi (Hook functions): Fix types of stream hook
4071 * socket/sys/socket.h: Fix typo in comment.
4073 2014-04-28 Wilco <wdijkstr@arm.com>
4075 * sysdeps/arm/fenv_private.h: New file.
4076 * sysdeps/arm/math_private.h: New file.
4077 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4079 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4081 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4083 (La_x86_64_retval): Likewise.
4085 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4087 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4088 fpsr if value didn't change.
4089 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4090 to fpcr if value didn't change.
4091 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4092 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4093 fpsr or fpcr if value didn't change.
4094 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4095 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4096 fpcr if value didn't change.
4097 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4098 to fpsr if value didn't change.
4100 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4102 * nptl/tst-sem3.c: Use test-skeleton.c
4103 (main): Rename to do_test. Use return instead of
4105 * nptl/tst-sem4.c: Use test-skeleton.c
4106 (main): Rename to do_test.
4108 2014-04-22 David S. Miller <davem@davemloft.net>
4110 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4111 (struct sigaction): New struct member __glibc_reserved0, change
4112 type of sa_flags to int.
4114 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4116 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4117 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4119 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4121 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4122 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4124 2014-04-22 Will Newton <will.newton@linaro.org>
4125 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4127 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4128 (__longjmp): Add longjmp and longjmp_target SystemTap
4130 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4131 (__sigsetjmp): Add setjmp SystemTap probe.
4133 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4135 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4138 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4140 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4142 * sysdeps/powerpc/fpu/fenv_private.h
4143 (libc_feholdexcept_setroundl_ctx): Define to
4144 libc_feholdexcept_setround_ppc_ctx.
4145 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4146 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4147 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4148 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4150 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4152 * sysdeps/aarch64/math-tests.h: New file.
4154 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4156 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4159 Check and set bit_AVX2_Usable.
4160 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4162 (bit_AVX2): Likewise.
4163 (index_AVX2_Usable): Likewise.
4164 (CPUID_AVX2): Likewise.
4165 (HAS_AVX2): Likewise.
4167 2014-04-17 Will Newton <will.newton@linaro.org>
4169 * manual/setjmp.texi (System V contexts): Add note that
4170 calling setcontext on a context created by a call to a
4171 signal handler is undefined. Update text to note that
4172 setcontext from a signal handler is possible but not
4176 * stdlib/tst-setcontext.c: Include signal.h.
4177 (main): Check that the signal stack before and
4178 after swapcontext is the same.
4180 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4181 Re-implement to restore registers in user code and avoid
4182 rt_sigreturn system call.
4184 2014-04-17 Wilco <wdijkstr@arm.com>
4186 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4187 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4188 * math/test-fenv.c: Skip exception trap tests on targets which only
4189 support non-stop mode.
4191 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4192 Wilco Dijkstra <wilco.dijkstra@arm.com>
4194 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4195 (libc_feholdsetround_aarch64_ctx)
4196 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4197 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4198 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4199 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4200 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4201 (libc_feresetround_noexl_ctx): Define.
4203 2014-04-16 Richard Henderson <rth@redhat.com>
4205 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4207 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4210 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4211 const from the non-libc, non-ldso copy.
4213 * sysdeps/alpha/libm-test-ulps: Regenerate.
4215 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4216 Wilco Dijkstra <wilco.dijkstra@arm.com>
4218 * sysdeps/aarch64/fpu/math_private.h: New file.
4220 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4222 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4224 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4226 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4227 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4228 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4229 Intel MPX bound registers before _dl_profile_fixup.
4230 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4231 registers after _dl_profile_fixup. Save and restore bound
4232 registers bnd0/bnd1 when calling _dl_call_pltexit.
4233 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4234 (LR_BND_OFFSET): Likewise.
4235 (LRV_BND0_OFFSET): Likewise.
4236 (LRV_BND1_OFFSET): Likewise.
4238 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4240 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4242 * sysdeps/mach/hurd/i386/tls.h: ... here.
4243 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4244 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4247 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4249 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4251 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4253 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4255 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4258 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4259 * sysdeps/s390/configure: Regenerate.
4262 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4263 Set round-to-nearest internally to reduce error accumulation.
4265 2014-04-16 Alan Modra <amodra@gmail.com>
4269 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4270 * math/libm-test.inc (frexp_test_data): Add tests.
4271 * NEWS: Update fixed bug list.
4273 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4275 * benchtests/Makefile: Depend on libraries in build directory.
4276 (bench-math): Separate out math tests.
4277 (bench-pthread): Separate out pthread tests.
4278 (bench): Include math and pthread tests.
4280 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4283 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4284 _dl_debug_initialize.
4286 * configure.ac: Remove SELinux header check.
4287 * configure: Regenerate.
4288 * nscd/selinux.c (perms): Array of const char* to permission names.
4289 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4290 default policy. Call string_to_security_class and string_to_av_perm to
4291 translate strings. Enforce default policy and call avs_has_perm with
4292 results of translated strings.
4294 2014-04-13 David S. Miller <davem@davemloft.net>
4296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4298 2014-04-12 Allan McRae <allan@archlinux.org>
4301 * manual/string.texi (Collation Functions): Fix qsort argument
4303 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4305 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4307 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4308 Make the test a no-op if there are no exceptions defined.
4310 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4312 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4313 enable-hardcoded-path-in-tests
4315 2014-04-11 Will Newton <will.newton@linaro.org>
4317 * benchtests/Makefile (extra-objs): Add json-lib.o.
4318 (bench-func): Tidy up JSON output.
4319 * benchtests/bench-skeleton.c: Include json-lib.h.
4320 (main): Use JSON library functions to do output of
4322 * benchtests/bench-timing-type.c (main): Output the
4323 timing type simply, leaving formatting to the user.
4324 * benchtests/json-lib.c: New file.
4325 * benchtests/json-lib.h: Likewise.
4327 2014-04-11 Torvald Riegel <triegel@redhat.com>
4330 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4331 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4332 memory barriers. Add comments.
4333 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4334 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4335 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4336 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4337 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4338 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4340 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4342 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4343 * sysdeps/s390/s390-64/configure.ac: ... this ...
4344 * sysdeps/s390/configure.ac: ... to here.
4345 * sysdeps/s390/s390-32/configure: Delete file.
4346 * sysdeps/s390/s390-64/configure: Delete file.
4347 * sysdeps/s390/configure: Regenerate.
4349 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4351 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4353 2014-04-11 Will Newton <will.newton@linaro.org>
4355 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4356 to zero if it is not defined elsewhere. (mtrim): Test
4357 the value of MALLOC_DEBUG with #if rather than #ifdef.
4359 2014-04-10 Torvald Riegel <triegel@redhat.com>
4361 * benchtests/pthread_once-inputs: New file.
4362 * benchtests/pthread_once-source.c: New file.
4363 * benchtests/README: Update documentation.
4365 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4366 H.J. Lu <hongjiu.lu@intel.com>
4368 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4369 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4370 * sysdeps/x86_64/configure: Regenerated.
4371 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4373 (REGISTER_SAVE_RAX): Likewise.
4374 (REGISTER_SAVE_RCX): Likewise.
4375 (REGISTER_SAVE_RDX): Likewise.
4376 (REGISTER_SAVE_RSI): Likewise.
4377 (REGISTER_SAVE_RDI): Likewise.
4378 (REGISTER_SAVE_R8): Likewise.
4379 (REGISTER_SAVE_R9): Likewise.
4380 (REGISTER_SAVE_BND0): Likewise.
4381 (REGISTER_SAVE_BND1): Likewise.
4382 (REGISTER_SAVE_BND2): Likewise.
4383 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4384 bound registers when calling _dl_fixup.
4386 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4388 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4389 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4391 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4392 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4393 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4394 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4395 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4396 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4397 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4399 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4402 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4403 pathconf(_PC_NAME_MAX).
4405 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4407 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4409 (__PTHREAD_SPINS): Move definition to ...
4410 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4411 (__PTHREAD_SPINS): ... here.
4412 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4413 (__PTHREAD_SPIN): Likewise.
4414 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4415 (__PTHREAD_SPIN): Likewise.
4416 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4417 (__PTHREAD_SPIN): Likewise.
4418 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4419 (__PTHREAD_SPIN): Likewise.
4420 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4421 (__PTHREAD_SPIN): Likewise.
4422 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4423 (__PTHREAD_SPIN): Likewise.
4424 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4425 (__PTHREAD_SPIN): Likewise.
4426 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4427 (__PTHREAD_SPIN): Likewise.
4428 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4429 (__PTHREAD_SPIN): Likewise.
4430 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4431 (__PTHREAD_SPIN): Likewise.
4432 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4433 (__PTHREAD_SPIN): Likewise.
4434 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4435 (__PTHREAD_SPIN): Likewise.
4437 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4438 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4439 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4440 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4442 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4443 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4444 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4445 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4447 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4448 strlen symbol for non multi-arch builds.
4449 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4450 missing hidden_def and weak_alias.
4452 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4454 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4456 2014-04-07 Will Newton <will.newton@linaro.org>
4458 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4459 and contents. [!_LIBC] Remove #ifndef and contents.
4460 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4461 * string/memccpy.c (__memccpy): Use ANSI prototype.
4462 * string/memfrob.c (memfrob): Likewise.
4463 * string/strcoll.c (STRCOLL): Likewise.
4464 * string/strlen.c (strlen): Likewise.
4465 * string/strtok.c (STRTOK): Likewise.
4466 * string/strcat.c: Remove unused #include of memcopy.h.
4467 (strcat): Use ANSI prototype.
4468 * string/strchr.c: Remove unused #include of memcopy.h.
4469 (strchr): Use ANSI prototype.
4470 * string/strcmp.c: Remove unused #include of memcopy.h.
4471 (strcmp): Use ANSI prototype.
4472 * string/strcpy.c: Remove unused #include of memcopy.h.
4473 (strcpy): Use ANSI prototype.
4475 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4477 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4478 * config.make.in (config-extra-cppflags): Set it from
4479 libc_extra_cppflags.
4480 * configure.ac (libc_extra_cflags): Make it accumulate over
4481 configure fragments.
4482 (libc_extra_cppflags): New flag.
4483 * configure. Regenerate.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4485 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4486 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4490 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4491 result for FE_DOWNWARD rounding mode.
4492 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4496 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4498 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4499 in function argument name.
4501 2014-04-03 David Svoboda <svoboda@cert.org>
4504 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4507 2014-04-03 Roland McGrath <roland@hack.frob.com>
4509 * elf/dl-unmap-segments.h: New file.
4510 * sysdeps/generic/ldsodefs.h
4511 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4512 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4513 * elf/dl-fptr.c: Likewise.
4514 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4515 * sysdeps/aarch64/tlsdesc.c: Likewise.
4516 * sysdeps/arm/tlsdesc.c: Likewise.
4517 * sysdeps/i386/tlsdesc.c: Likewise.
4518 * sysdeps/tile/dl-runtime.c: Likewise.
4519 * sysdeps/x86_64/tlsdesc.c: Likewise.
4520 * elf/dl-load.h: New file.
4521 * elf/dl-load.c: Include it.
4522 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4523 Macros moved to dl-load.h.
4524 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4525 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4526 Use _dl_unmap_segments in place of __munmap.
4527 Break out segment-mapping loop into ...
4528 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4530 2014-04-03 Will Newton <will.newton@linaro.org>
4532 * elf/dl-lookup.c (do_lookup_x): Remove comment
4533 referring to nested function and move variable
4534 declarations down to before first use.
4536 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4540 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4542 * math/s_catanf.c (__catanf): Likewise.
4543 * math/s_catanh.c (__catanh): Likewise.
4544 * math/s_catanhf.c (__catanhf): Likewise.
4545 * math/s_catanhl.c (__catanhl): Likewise.
4546 * math/s_catanl.c (__catanl): Likewise.
4547 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4548 by positive zero when computing -Inf result.
4549 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4550 (catanh_test): Likewise.
4551 * sysdeps/i386/fpu/libm-test-ulps: Update.
4552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4555 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4556 instead of using underflowing value in computing result.
4557 * math/s_clog10.c (__clog10): Likewise.
4558 * math/s_clog10f.c (__clog10f): Likewise.
4559 * math/s_clog10l.c (__clog10l): Likewise.
4560 * math/s_clogf.c (__clogf): Likewise.
4561 * math/s_clogl.c (__clogl): Likewise.
4562 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4563 (clog10_test): Likewise.
4564 * sysdeps/i386/fpu/libm-test-ulps: Update.
4565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4567 2014-04-02 Alan Modra <amodra@gmail.com>
4570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4571 output when value is near a power of two. Use int64_t for lx and
4572 remove casts. Use decimal rather than hex exponent constants.
4573 Don't use long double multiplication when double will suffice.
4574 * math/libm-test.inc (nextafter_test_data): Add tests.
4575 * NEWS: Add 16739 and 16786 to bug list.
4577 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4579 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4581 2014-04-01 Will Newton <will.newton@linaro.org>
4583 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4584 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4586 2014-04-01 Florian Weimer <fweimer@redhat.com>
4589 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4590 * nptl/tst-setuid2.c: New file.
4591 * nptl/Makefile (xtests): Add tst-setuid2.
4593 2014-04-01 Alan Modra <amodra@gmail.com>
4596 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4598 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4602 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4603 set errno as appropriate.
4604 * math/w_scalbf.c (__scalbf): Likewise.
4605 * math/w_scalbl.c (__scalbl): Likewise.
4606 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4607 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4608 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4612 * math/w_atan2.c: Include <errno.h>.
4613 (__atan2): Set errno for result underflowing to zero.
4614 * math/w_atan2f.c: Include <errno.h>.
4615 (__atan2f): Set errno for result underflowing to zero.
4616 * math/w_atan2l.c: Include <errno.h>.
4617 (__atan2l): Set errno for result underflowing to zero.
4618 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4620 * math/auto-libm-test-out: Regenerated.
4622 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4624 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4625 Encode instruction correctly in little endian.
4626 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4628 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4630 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4632 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4635 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4638 * sysdeps/unix/sysv/linux/kernel-features.h
4639 [__sparc__ && !__arch64__ && !__sparc_v9__]
4640 (__ASSUME_SET_ROBUST_LIST): Do not define.
4641 [__sparc__ && !__arch64__ && !__sparc_v9__]
4642 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4643 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4645 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4646 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4647 (__ASSUME_REQUEUE_PI): Likewise.
4648 (__ASSUME_SET_ROBUST_LIST): Likewise.
4649 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4650 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4652 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4653 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4655 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4657 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4659 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4660 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4662 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4663 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4668 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4669 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4671 2014-03-31 Will Newton <will.newton@linaro.org>
4673 * benchtests/Makefile (bench): Add ffs and ffsll to list
4675 * benchtests/ffs-inputs: New file.
4676 * benchtests/ffsll-inputs: Likewise.
4678 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4681 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4682 too large before casting to int.
4683 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4684 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4685 * math/libm-test.inc (scalb_test_data): Add more tests.
4687 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4689 * benchtests/Makefile (DETAILED_OPT): New make option.
4690 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4692 * benchtests/bench-skeleton.c: Include stdbool.h.
4693 (main): Store and print timings per input.
4694 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4695 member to each argument value.
4696 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4697 (_print_arg_data): Initialize per-input timing to 0.
4699 * benchtests/Makefile (timing-type): New binary.
4700 (bench-clean): Also remove bench-timing-type.
4701 (bench): New target for timing-type.
4702 (bench-func): Print output in JSON format.
4703 * benchtests/bench-skeleton.c (main): Print output in JSON
4705 * benchtests/bench-timing-type.c: New file.
4706 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4707 (TIMING_PRINT_STATS): Remove.
4708 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4711 * benchtests/bench-modf.c: Remove.
4712 * benchtests/modf-inputs: New inputs file.
4714 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4717 * math/s_clog10.c (M_PI_LOG10E): New macro.
4718 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4719 imaginary parts are 0.
4720 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4721 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4722 imaginary parts are 0.
4723 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4724 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4725 imaginary parts are 0.
4726 * math/libm-test.inc (clog10_test_data): Update expected results
4727 for when real and imaginary parts are 0.
4729 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4731 * elf/dl-load.c: Finish conversion of __builtin_expect into
4734 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4737 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4738 1+x for argument with exponent below -67.
4739 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4741 * math/auto-libm-test-in: Add more tests of exp.
4742 * math/auto-libm-test-out: Regenerated.
4744 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4747 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4748 (nscd_getnetgrent): Use it.
4751 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4754 2014-03-27 Andi Kleen <ak@linux.intel.com>
4756 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4757 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4758 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4759 (lll_robust_unlock): Remove out of line section. Use cfi
4761 (LLL_STUB_UNWIND_INFO*): Remove.
4762 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4763 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4764 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4765 (lll_robust_unlock): Remove out of line section. Use cfi
4767 (LLL_STUB_UNWIND_INFO*): Remove.
4769 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4772 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4775 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4777 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4779 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4782 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4784 * math/test-fenv-preserve.c: New file.
4785 * math/Makefile (tests): Add test-fenv-preserve.
4787 2014-03-26 Will Newton <will.newton@linaro.org>
4789 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4791 2014-03-25 Roland McGrath <roland@hack.frob.com>
4793 * scripts/versionlist.awk: Partition the version sets and emit all
4794 GLIBC_* (sorted) before all others (sorted).
4796 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4798 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4799 GLIBC_2.2.5 version.
4801 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4803 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4806 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4811 2014-03-25 Andreas Schwab <schwab@suse.de>
4813 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4814 label to be used after in6ailist is initialized.
4816 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4819 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4821 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4825 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4827 (fp_formats): Update initializers.
4828 (init_fp_formats): Initialize new field.
4829 (output_for_one_input_case): Allow underflow for results up to
4831 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4832 * math/auto-libm-test-in: Don't mark some underflows from asin and
4834 * math/auto-libm-test-out: Regenerated.
4835 * sysdeps/i386/fpu/libm-test-ulps: Update.
4836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4838 2014-03-25 Andreas Schwab <schwab@suse.de>
4840 * libio/Makefile (tst-ftell-partial-wide-ENV)
4841 (tst-ftell-active-handler-ENV): Define.
4843 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4845 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4847 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4849 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4851 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4853 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4854 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4855 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4857 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4860 * elf/dl-load.c (open_verify): Add mode parameter.
4861 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4862 (open_path): Change from boolean 'secure' to complete flag 'mode'
4863 (_dl_map_object): Adjust.
4864 * elf/Makefile (tests): Add tst-dlopen-aout.
4865 * elf/tst-dlopen-aout.c: New test.
4867 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4870 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4871 (struct stat): Rename member pad0 to __glibc_reserved0.
4874 * sysdeps/s390/s390-32/bits/wordsize.h
4875 (__WORDSIZE32_SIZE_ULONG): New define.
4876 * sysdeps/s390/s390-64/bits/wordsize.h
4877 (__WORDSIZE32_SIZE_ULONG): Likewise.
4878 * sysdeps/generic/stdint.h (SIZE_MAX):
4879 Define as UL if __WORDSIZE32_SIZE_ULONG.
4882 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4883 (__glibc_reserved0): New variable.
4884 (sa_flags): Change type to int.
4886 * posix/Makefile (before-compile): Use += before-compile instead
4889 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4890 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4892 2014-03-20 Andreas Schwab <schwab@suse.de>
4895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4896 non-matching result from nscd.
4898 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4900 * scripts/bench.py: Moved to ...
4901 * benchtests/scripts/bench.py: ... here.
4902 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4904 2014-03-24 Andreas Schwab <schwab@suse.de>
4907 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4908 alloca_account and account alloca use for struct in6ailist.
4910 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4913 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4914 rounding mode to recompute results that overflow to infinity or
4916 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4918 * math/auto-libm-test-out: Regenerated.
4919 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4920 (ccosh_test): Likewise.
4921 (csin_test_data): Use plus_oflow.
4922 (csin_test): Use ALL_RM_TEST.
4923 (csinh_test_data): Use plus_oflow.
4924 (csinh_test): Use ALL_RM_TEST.
4925 * sysdeps/i386/fpu/libm-test-ulps: Update.
4926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4928 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4930 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4931 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4932 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4935 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4937 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4938 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4939 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4940 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4942 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4943 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4945 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4946 * sysdeps/i386/fpu/libm-test-ulps: Update.
4947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4949 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4951 * scripts/bench.pl: Remove file.
4952 * scripts/bench.py: New benchmark script.
4953 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4954 * benchtests/README: Mention python dependency.
4955 * scripts/pylintrc: New file.
4956 * scripts/pylint: New file.
4958 * bits/mathdef.h: Use #ifdef instead of #if.
4959 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4960 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4961 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4962 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4963 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4964 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4966 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4969 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4971 and strpbrk-ppc64 objects.
4972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4973 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4974 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4975 multiarch strpbrk for POWER7.
4976 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4977 multiarch strpbrk for PPC64.
4978 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4980 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4983 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4985 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4986 (atan_test): Likewise.
4987 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4988 (atanh_test): Use ALL_RM_TEST.
4989 (atan2_test_data): Likewise.
4990 (cabs_test): Likewise.
4991 (cacosh_test): Likewise.
4992 (carg_test): Likewise.
4993 (casin_test): Likewise.
4994 (casinh_test): Likewise.
4995 (cbrt_test): Likewise.
4996 (csqrt_test): Likewise.
4997 (erf_test): Likewise.
4998 (erfc_test): Likewise.
4999 (pow10_test): Likewise.
5000 (exp2_test): Likewise.
5001 (hypot_test): Likewise.
5002 (j0_test): Likewise.
5003 (j1_test): Likewise.
5004 (lgamma_test): Likewise.
5005 (gamma_test): Likewise.
5006 (sincos_test): Likewise.
5007 (tanh_test): Likewise.
5008 (y0_test): Likewise.
5009 (y1_test): Likewise.
5010 * sysdeps/i386/fpu/libm-test-ulps: Update.
5011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5015 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5017 and strcspn-ppc64 objects.
5018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5019 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5020 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5021 multiarch strcspn for POWER7.
5022 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5023 multiarch strcspn for PPC64.
5024 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5026 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5029 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5031 * math/gen-libm-test.pl (generate_testfile): Expect only function
5032 name as argument to AUTO_TESTS_* and pass results for all rounding
5033 modes to parse_args.
5034 (parse_auto_input): Separate inputs of automatic tests from
5035 outputs before storing in %auto_tests.
5036 * math/libm-test.inc (acos_test_data): Update call to
5038 (acos_test): Use ALL_RM_TEST.
5039 (acos_tonearest_test_data): Remove.
5040 (acos_test_tonearest): Likewise.
5041 (acos_towardzero_test_data): Likewise.
5042 (acos_test_towardzero): Likewise.
5043 (acos_downward_test_data): Likewise.
5044 (acos_test_downward): Likewise.
5045 (acos_upward_test_data): Likewise.
5046 (acos_test_upward): Likewise.
5047 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5048 (asin_test_data): Likewise.
5049 (asin_test): Use ALL_RM_TEST.
5050 (asin_tonearest_test_data): Remove.
5051 (asin_test_tonearest): Likewise.
5052 (asin_towardzero_test_data): Likewise.
5053 (asin_test_towardzero): Likewise.
5054 (asin_downward_test_data): Likewise.
5055 (asin_test_downward): Likewise.
5056 (asin_upward_test_data): Likewise.
5057 (asin_test_upward): Likewise.
5058 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5059 (atan_test_data): Likewise.
5060 (atanh_test_data): Likewise.
5061 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5062 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5063 (carg_test_data): Likewise.
5064 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5065 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5066 (ccosh_test_data): Likewise.
5067 (cexp_test_data): Likewise.
5068 (clog_test_data): Likewise.
5069 (clog10_test_data): Likewise.
5070 (cos_test_data): Update call to AUTO_TESTS_f_f.
5071 (cos_test): Use ALL_RM_TEST.
5072 (cos_tonearest_test_data): Remove.
5073 (cos_test_tonearest): Likewise.
5074 (cos_towardzero_test_data): Likewise.
5075 (cos_test_towardzero): Likewise.
5076 (cos_downward_test_data): Likewise.
5077 (cos_test_downward): Likewise.
5078 (cos_upward_test_data): Likewise.
5079 (cos_test_upward): Likewise.
5080 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5081 (cosh_test): Use ALL_RM_TEST.
5082 (cosh_tonearest_test_data): Remove.
5083 (cosh_test_tonearest): Likewise.
5084 (cosh_towardzero_test_data): Likewise.
5085 (cosh_test_towardzero): Likewise.
5086 (cosh_downward_test_data): Likewise.
5087 (cosh_test_downward): Likewise.
5088 (cosh_upward_test_data): Likewise.
5089 (cosh_test_upward): Likewise.
5090 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5091 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5092 (ctan_test_data): Likewise.
5093 (ctan_test): Use ALL_RM_TEST.
5094 (ctan_tonearest_test_data): Remove.
5095 (ctan_test_tonearest): Likewise.
5096 (ctan_towardzero_test_data): Likewise.
5097 (ctan_test_towardzero): Likewise.
5098 (ctan_downward_test_data): Likewise.
5099 (ctan_test_downward): Likewise.
5100 (ctan_upward_test_data): Likewise.
5101 (ctan_test_upward): Likewise.
5102 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5103 (ctanh_test): Use ALL_RM_TEST.
5104 (ctanh_tonearest_test_data): Remove.
5105 (ctanh_test_tonearest): Likewise.
5106 (ctanh_towardzero_test_data): Likewise.
5107 (ctanh_test_towardzero): Likewise.
5108 (ctanh_downward_test_data): Likewise.
5109 (ctanh_test_downward): Likewise.
5110 (ctanh_upward_test_data): Likewise.
5111 (ctanh_test_upward): Likewise.
5112 (erf_test_data): Update call to AUTO_TESTS_f_f.
5113 (erfc_test_data): Likewise.
5114 (exp_test_data): Likewise.
5115 (exp_test): Use ALL_RM_TEST.
5116 (exp_tonearest_test_data): Remove.
5117 (exp_test_tonearest): Likewise.
5118 (exp_towardzero_test_data): Likewise.
5119 (exp_test_towardzero): Likewise.
5120 (exp_downward_test_data): Likewise.
5121 (exp_test_downward): Likewise.
5122 (exp_upward_test_data): Likewise.
5123 (exp_test_upward): Likewise.
5124 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5125 (exp10_test): Use ALL_RM_TEST.
5126 (exp10_tonearest_test_data): Remove.
5127 (exp10_test_tonearest): Likewise.
5128 (exp10_towardzero_test_data): Likewise.
5129 (exp10_test_towardzero): Likewise.
5130 (exp10_downward_test_data): Likewise.
5131 (exp10_test_downward): Likewise.
5132 (exp10_upward_test_data): Likewise.
5133 (exp10_test_upward): Likewise.
5134 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5135 (expm1_test_data): Likewise.
5136 (expm1_test): Use ALL_RM_TEST.
5137 (expm1_tonearest_test_data): Remove.
5138 (expm1_test_tonearest): Likewise.
5139 (expm1_towardzero_test_data): Likewise.
5140 (expm1_test_towardzero): Likewise.
5141 (expm1_downward_test_data): Likewise.
5142 (expm1_test_downward): Likewise.
5143 (expm1_upward_test_data): Likewise.
5144 (expm1_test_upward): Likewise.
5145 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5146 (fma_test): Use ALL_RM_TEST.
5147 (fma_towardzero_test_data): Remove.
5148 (fma_test_towardzero): Likewise.
5149 (fma_downward_test_data): Likewise.
5150 (fma_test_downward): Likewise.
5151 (fma_upward_test_data): Likewise.
5152 (fma_test_upward): Likewise.
5153 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5154 (j0_test_data): Update call to AUTO_TESTS_f_f.
5155 (j1_test_data): Likewise.
5156 (jn_test_data): Update call to AUTO_TESTS_if_f.
5157 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5158 (log_test_data): Update call to AUTO_TESTS_f_f.
5159 (log10_test_data): Likewise.
5160 (log1p_test_data): Likewise.
5161 (log2_test_data): Likewise.
5162 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5163 (pow_tonearest_test_data): Likewise.
5164 (sin_test_data): Update call to AUTO_TESTS_f_f.
5165 (sin_test): Use ALL_RM_TEST.
5166 (sin_tonearest_test_data): Remove.
5167 (sin_test_tonearest): Likewise.
5168 (sin_towardzero_test_data): Likewise.
5169 (sin_test_towardzero): Likewise.
5170 (sin_downward_test_data): Likewise.
5171 (sin_test_downward): Likewise.
5172 (sin_upward_test_data): Likewise.
5173 (sin_test_upward): Likewise.
5174 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5175 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5176 (sinh_test): Use ALL_RM_TEST.
5177 (sinh_tonearest_test_data): Remove.
5178 (sinh_test_tonearest): Likewise.
5179 (sinh_towardzero_test_data): Likewise.
5180 (sinh_test_towardzero): Likewise.
5181 (sinh_downward_test_data): Likewise.
5182 (sinh_test_downward): Likewise.
5183 (sinh_upward_test_data): Likewise.
5184 (sinh_test_upward): Likewise.
5185 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5186 (sqrt_test): Use ALL_RM_TEST.
5187 (sqrt_tonearest_test_data): Remove.
5188 (sqrt_test_tonearest): Likewise.
5189 (sqrt_towardzero_test_data): Likewise.
5190 (sqrt_test_towardzero): Likewise.
5191 (sqrt_downward_test_data): Likewise.
5192 (sqrt_test_downward): Likewise.
5193 (sqrt_upward_test_data): Likewise.
5194 (sqrt_test_upward): Likewise.
5195 (tan_test_data): Update call to AUTO_TESTS_f_f.
5196 (tan_test): Use ALL_RM_TEST.
5197 (tan_tonearest_test_data): Remove.
5198 (tan_test_tonearest): Likewise.
5199 (tan_towardzero_test_data): Likewise.
5200 (tan_test_towardzero): Likewise.
5201 (tan_downward_test_data): Likewise.
5202 (tan_test_downward): Likewise.
5203 (tan_upward_test_data): Likewise.
5204 (tan_test_upward): Likewise.
5205 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5206 (tgamma_test_data): Likewise.
5207 (y0_test_data): Likewise.
5208 (y1_test_data): Likewise.
5209 (yn_test_data): Update call to AUTO_TESTS_if_f.
5210 (main): Do not call removed functions.
5212 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5214 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5215 (ldexp_test_data): Remove.
5216 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5218 (scalb_test): Use ALL_RM_TEST.
5220 2014-03-19 Andreas Schwab <schwab@suse.de>
5222 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5224 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5227 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5228 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5229 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5230 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5231 (__ASSUME_PREADV): Undefine.
5232 (__ASSUME_PWRITEV): Likewise.
5234 2014-03-18 Roland McGrath <roland@hack.frob.com>
5236 * bits/mman-linux.h: Add comment about non-Linux use.
5237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5238 bits/mman-linux.h resting place.
5240 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5241 * bits/mman-linux.h: ... here.
5243 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5245 * conform/conformtest.pl: Add standard definition when calling C
5246 preprocessor on data files.
5247 (checknamespace): Remove unused variable.
5249 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5251 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5252 minus_oflow, plus_uflow and minus_uflow in expected results.
5253 * math/libm-test.inc (scalbn_test_data): Add more tests of
5254 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5256 (scalbn_test): Use ALL_RM_TEST.
5257 (scalbln_test_data): Add more tests of negative arguments. Use
5258 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5259 (scalbln_test): Use ALL_RM_TEST.
5261 2014-03-18 Roland McGrath <roland@hack.frob.com>
5263 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5265 2014-03-18 Will Newton <will.newton@linaro.org>
5267 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5270 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5272 * Makerules [!subdir] (check-abi): Exit with error status if a
5275 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5277 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5278 for rint. Include results for all rounding modes.
5279 (nearbyint_test): Use ALL_RM_TEST.
5280 (rint_test_data): Include all tests used for nearbyint.
5282 2014-03-17 Will Newton <will.newton@linaro.org>
5284 * nptl/sysdeps/pthread/pthread.h: Revert previous
5287 * sysdeps/generic/ldsodefs.h: Revert previous
5290 * libio/genops.c: Revert previous change.
5291 * libio/libioP.h: Likewise.
5292 * stdio-common/vfprintf.c: Likewise.
5294 * sysdeps/generic/math_private.h: Revert previous
5297 * sysdeps/generic/math_private.h: Check whether
5298 HAVE_RM_CTX is defined with #ifdef rather
5301 * argp/argp-fmtstream.h: Check whether
5302 __STRICT_ANSI__ is defined with #ifdef rather
5304 * argp/argp.h: Likewise.
5306 * libio/genops.c: Check whether
5307 _IO_JUMPS_OFFSET is defined with #ifdef rather
5309 * libio/libioP.h: Likewise.
5310 * stdio-common/vfprintf.c: Likewise.
5312 * sysdeps/generic/ldsodefs.h: Check whether
5313 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5316 * nptl/sysdeps/pthread/pthread.h: Check
5317 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5320 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5322 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5324 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5328 * libio/fileops.c (_IO_file_open): Seek to end of file but
5329 don't cache the offset.
5330 (get_file_offset): Remove function.
5331 (do_ftell): Use cached offset when available.
5332 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5333 don't cache the offset.
5334 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5336 (do_one_test): Call it.
5337 (do_ftell_test): Fix up expected old offset for a+ mode.
5338 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5341 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5342 up test status with function return status.
5343 (do_write_test): Likewise.
5344 (do_append_test): Likewise.
5346 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5347 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5350 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5352 * math/gen-libm-test.pl (parse_args): Handle results specified for
5353 each rounding mode separately.
5354 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5355 tests and results from lrint_tonearest_test_data,
5356 lrint_towardzero_test_data, lrint_downward_test_data and
5357 lrint_upward_test_data.
5358 (lrint_test): Use ALL_RM_TEST.
5359 (lrint_tonearest_test_data): Remove.
5360 (lrint_test_tonearest): Likewise.
5361 (lrint_towardzero_test_data): Likewise.
5362 (lrint_test_towardzero): Likewise.
5363 (lrint_downward_test_data): Likewise.
5364 (lrint_test_downward): Likewise.
5365 (lrint_upward_test_data): Likewise.
5366 (lrint_test_upward): Likewise.
5367 (llrint_test_data): Merge in per-rounding-mode tests and results
5368 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5369 llrint_downward_test_data and llrint_upward_test_data.
5370 (llrint_test): Use ALL_RM_TEST.
5371 (llrint_tonearest_test_data): Remove.
5372 (llrint_test_tonearest): Likewise.
5373 (llrint_towardzero_test_data): Likewise.
5374 (llrint_test_towardzero): Likewise.
5375 (llrint_downward_test_data): Likewise.
5376 (llrint_test_downward): Likewise.
5377 (llrint_upward_test_data): Likewise.
5378 (llrint_test_upward): Likewise.
5379 (rint_test_data): Merge in per-rounding-mode tests and results
5380 from rint_tonearest_test_data, rint_towardzero_test_data,
5381 rint_downward_test_data and rint_upward_test_data. Add
5382 per-rounding-mode results for tests not in those arrays.
5383 (rint_test): Use ALL_RM_TEST.
5384 (rint_tonearest_test_data): Remove.
5385 (rint_test_tonearest): Likewise.
5386 (rint_towardzero_test_data): Likewise.
5387 (rint_test_towardzero): Likewise.
5388 (rint_downward_test_data): Likewise.
5389 (rint_test_downward): Likewise.
5390 (rint_upward_test_data): Likewise.
5391 (rint_test_upward): Likewise.
5392 (main): Don't call removed functions.
5394 2014-03-14 Roland McGrath <roland@hack.frob.com>
5396 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5397 "Compiled on ..." crapola. It is anti-useful.
5399 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5401 * scripts/evaluate-test.sh: Handle fourth argument to determine
5402 whether test run should stop on failure.
5403 * Makeconfig (stop-on-test-failure): New variable.
5404 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5405 $(stop-on-test-failure).
5406 * Makefile (tests): Give a summary of results from testing and
5407 exit with failure status if they include an ERROR or FAIL.
5409 * manual/install.texi (Configuring and compiling): Mention
5410 stop-on-test-failure=y.
5411 * INSTALL: Regenerated.
5413 2014-03-14 Roland McGrath <roland@hack.frob.com>
5415 * scripts/versionlist.awk: New file.
5416 * Makerules [$(build-shared) = yes]
5417 (postclean-generated): Add Versions.def, not Versions.def.v and
5419 ($(common-objpfx)Versions.def.v.i): Target removed.
5420 ($(common-objpfx)Versions.def): New target.
5421 ($(common-objpfx)Versions.all): Depend on that rather that
5422 $(common-objpfx)Versions.def.v.
5423 * Versions.def: File removed.
5425 * Makeconfig (+gccwarn): Add -Wundef.
5426 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5427 a dl-sysdep.h breaking its contract.
5428 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5429 * include/stackinfo.h: New file.
5430 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5431 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5432 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5433 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5434 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5435 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5436 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5437 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5438 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5439 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5440 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5441 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5442 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5443 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5444 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5446 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5449 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5451 * math/libm-test.inc (round_test_data): Add more tests.
5454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5456 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5459 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5461 * math/libm-test.inc (ceil_test_data): Add more tests.
5463 * math/libm-test.inc (trunc_test_data): Add more tests related to
5466 2014-03-14 Roland McGrath <roland@hack.frob.com>
5468 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5469 with #if rather than #ifdef.
5470 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5472 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5474 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5475 first. Disable AVX-512 GCC support if assembler doesn't support
5477 * sysdeps/x86_64/configure: Regenerated.
5479 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5481 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5482 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5483 (__old_pthread_attr_setstack): Likewise.
5484 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5485 [!_STACK_GROWS_DOWN]: Likewise.
5487 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5489 * config.make.in (have-bash2): Delete.
5490 * configure.ac (libc_cv_have_bash2): Delete.
5491 * configure: Regenerate.
5492 * elf/Makefile (common-ldd-rewrite): Rename to ...
5493 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5494 (sh-ldd-rewrite): Delete.
5495 (bash-ldd-rewrite): Delete.
5496 (have-bash2): Delete checks.
5497 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5500 * config.make.in (have-ksh): Delete.
5502 * configure.ac (libc_cv_have_ksh): Delete.
5503 * configure: Regenerate.
5505 * elf/Makefile: Delete $(have-ksh) check.
5506 ($(objpfx)sotruss): Change KSH to BASH.
5507 * elf/sotruss.ksh: Rename to ...
5508 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5509 function style to match POSIX. Drop ksh vim mode setting.
5511 * manual/time.texi (Specifying the Time Zone with TZ): Change
5512 Tuesday to Thursday.
5514 * debug/tst-longjmp_chk2.c: Update header comment.
5515 (stackoverflow_handler): Add comment. Call assert on pass value.
5517 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5519 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5520 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5521 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5522 (La_x86_64_vector): Add zmm.
5523 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5524 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5525 ($(objpfx)tst-audit10): New target.
5526 ($(objpfx)tst-audit10.out): Likewise.
5527 (tst-audit10-ENV): New.
5528 (AVX512-CFLAGS): Likewise.
5529 (CFLAGS-tst-audit10.c): Likewise.
5530 (CFLAGS-tst-auditmod10a.c): Likewise.
5531 (CFLAGS-tst-auditmod10b.c): Likewise.
5532 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5533 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5534 * sysdeps/x86_64/configure: Regenerated.
5535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5536 AVX-512 zmm register support.
5537 (_dl_x86_64_save_sse): Likewise.
5538 (_dl_x86_64_restore_sse): Likewise.
5539 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5540 size vector registers.
5541 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5542 (ZMM_SIZE): Likewise.
5543 * sysdeps/x86_64/tst-audit10.c: New file.
5544 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5545 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5547 2014-03-13 Roland McGrath <roland@hack.frob.com>
5549 * configure.ac (HAVE_EHDR_START): New check.
5550 * configure: Regenerated.
5551 * config.h.in (HAVE_EHDR_START): New #undef.
5552 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5553 assuming the lowest-addressed segment maps the start of the file.
5555 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5557 * INSTALL: Regenerated.
5559 2014-03-13 Will Newton <will.newton@linaro.org>
5561 * manual/setjmp.texi (System V contexts): Improve
5562 clarity and grammar of documentation.
5564 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5567 * elf/Makefile (tests): Add tst-pie2.
5568 (tests-pie): Add tst-pie2.
5569 * elf/tst-pie2.c: New file.
5570 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5572 * elf/rtld.c (map_doit): Load executable as lt_executable.
5573 (dl_main): Likewise.
5575 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5578 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5579 (__ASSUME_PSELECT): Undefine.
5581 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5584 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5585 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5587 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5588 selector for static builds.
5590 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5593 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5596 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5599 IFUNC selector for static builds.
5601 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5603 * sysdeps/mips/math_private.h [__mips_hard_float]
5604 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5605 libc_feresetround_mips_ctx.
5606 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5607 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5608 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5611 * math/s_nextafter.c (__nextafter): Do not return value from
5612 overflowing computation.
5613 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5614 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5615 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5617 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5619 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5620 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5622 2014-03-11 Roland McGrath <roland@hack.frob.com>
5624 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5625 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5626 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5627 the new mov targetting sp.
5629 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5633 Define it for static builds as well.
5634 (NO_BZERO_IMPL): Likewise.
5636 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5638 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5639 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5640 multiarch strspn for PPC64.
5641 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5642 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5644 (__libc_ifunc_impl_list): Likewise.
5645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5646 multiarch optimizations
5647 * string/strspn.c (strspn): Using macro to redefine symbol name.
5649 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5650 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5652 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5653 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5654 multiarch strncat for PPC64.
5655 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5656 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5658 (__libc_ifunc_impl_list): Likewise.
5659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5660 multiarch optimizations
5662 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5665 * nscd/nscd.service: Make service type forking.
5667 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5669 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5670 sign in non default rounding modes.
5671 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5673 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5675 * math/libm-test.inc (ALL_RM_TEST): New macro.
5676 (ceil_test): Use ALL_RM_TEST.
5677 (cimag_test): Likewise.
5678 (conj_test): Likewise.
5679 (copysign_test): Likewise.
5680 (cproj_test): Likewise.
5681 (creal_test): Likewise.
5682 (fabs_test): Likewise.
5683 (floor_test): Likewise.
5684 (fmax_test): Likewise.
5685 (fmin_test): Likewise.
5686 (fmod_test): Likewise.
5687 (fpclassify_test): Likewise.
5688 (frexp_test): Likewise.
5689 (ilogb_test): Likewise.
5690 (isfinite_test): Likewise.
5691 (finite_test): Likewise.
5692 (isgreater_test): Likewise.
5693 (isgreaterequal_test): Likewise.
5694 (isinf_test): Likewise.
5695 (isless_test): Likewise.
5696 (islessequal_test): Likewise.
5697 (islessgreater_test): Likewise.
5698 (isnan_test): Likewise.
5699 (isnormal_test): Likewise.
5700 (issignaling_test): Likewise.
5701 (isunordered_test): Likewise.
5702 (logb_test): Likewise.
5703 (logb_downward_test_data): Remove.
5704 (logb_test_downward): Likewise.
5705 (lround_test): Use ALL_RM_TEST.
5706 (llround_test): Likewise.
5707 (modf_test): Likewise.
5708 (nexttoward_test): Likewise.
5709 (remainder_test): Likewise.
5710 (drem_test): Likewise.
5711 (remainder_tonearest_test_data): Likewise.
5712 (remainder_test_tonearest): Likewise.
5713 (drem_test_tonearest): Likewise.
5714 (remainder_towardzero_test_data): Likewise.
5715 (remainder_test_towardzero): Likewise.
5716 (drem_test_towardzero): Likewise.
5717 (remainder_downward_test_data): Likewise.
5718 (remainder_test_downward): Likewise.
5719 (drem_test_downward): Likewise.
5720 (remainder_upward_test_data): Likewise.
5721 (remainder_test_upward): Likewise.
5722 (drem_test_upward): Likewise.
5723 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5724 (round_test): Use ALL_RM_TEST.
5725 (signbit_test): Likewise.
5726 (trunc_test): Likewise.
5727 (significand_test): Likewise.
5728 (main): Don't call removed functions.
5730 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5733 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5735 (ILL_ILLOPN): Likewise.
5736 (ILL_ILLADR): Likewise.
5737 (ILL_ILLTRP): Likewise.
5738 (ILL_PRVOPC): Likewise.
5739 (ILL_PRVREG): Likewise.
5740 (ILL_COPROC): Likewise.
5741 (ILL_BADSTK): Likewise.
5742 (FPE_INTDIV): Likewise.
5743 (FPE_INTOVF): Likewise.
5744 (FPE_FLTDIV): Likewise.
5745 (FPE_FLTOVF): Likewise.
5746 (FPE_FLTUND): Likewise.
5747 (FPE_FLTRES): Likewise.
5748 (FPE_FLTINV): Likewise.
5749 (FPE_FLTSUB): Likewise.
5750 (SEGV_MAPERR): Likewise.
5751 (SEGV_ACCERR): Likewise.
5752 (BUS_ADRALN): Likewise.
5753 (BUS_ADRERR): Likewise.
5754 (BUS_OBJERR): Likewise.
5755 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5756 (TRAP_TRACE): Likewise.
5757 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5759 (CLD_KILLED): Likewise.
5760 (CLD_DUMPED): Likewise.
5761 (CLD_TRAPPED): Likewise.
5762 (CLD_STOPPED): Likewise.
5763 (CLD_CONTINUED): Likewise.
5764 (POLL_IN): Likewise.
5765 (POLL_OUT): Likewise.
5766 (POLL_MSG): Likewise.
5767 (POLL_ERR): Likewise.
5768 (POLL_PRI): Likewise.
5769 (POLL_HUP): Likewise.
5770 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5772 (ILL_ILLOPN): Likewise.
5773 (ILL_ILLADR): Likewise.
5774 (ILL_ILLTRP): Likewise.
5775 (ILL_PRVOPC): Likewise.
5776 (ILL_PRVREG): Likewise.
5777 (ILL_COPROC): Likewise.
5778 (ILL_BADSTK): Likewise.
5779 (FPE_INTDIV): Likewise.
5780 (FPE_INTOVF): Likewise.
5781 (FPE_FLTDIV): Likewise.
5782 (FPE_FLTOVF): Likewise.
5783 (FPE_FLTUND): Likewise.
5784 (FPE_FLTRES): Likewise.
5785 (FPE_FLTINV): Likewise.
5786 (FPE_FLTSUB): Likewise.
5787 (SEGV_MAPERR): Likewise.
5788 (SEGV_ACCERR): Likewise.
5789 (BUS_ADRALN): Likewise.
5790 (BUS_ADRERR): Likewise.
5791 (BUS_OBJERR): Likewise.
5792 (BUS_MCEERR_AR): Likewise.
5793 (BUS_MCEERR_AO): Likewise.
5794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5795 (TRAP_TRACE): Likewise.
5796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5798 (CLD_KILLED): Likewise.
5799 (CLD_DUMPED): Likewise.
5800 (CLD_TRAPPED): Likewise.
5801 (CLD_STOPPED): Likewise.
5802 (CLD_CONTINUED): Likewise.
5803 (POLL_IN): Likewise.
5804 (POLL_OUT): Likewise.
5805 (POLL_MSG): Likewise.
5806 (POLL_ERR): Likewise.
5807 (POLL_PRI): Likewise.
5808 (POLL_HUP): Likewise.
5809 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5810 (ILL_ILLOPN): Likewise.
5811 (ILL_ILLADR): Likewise.
5812 (ILL_ILLTRP): Likewise.
5813 (ILL_PRVOPC): Likewise.
5814 (ILL_PRVREG): Likewise.
5815 (ILL_COPROC): Likewise.
5816 (ILL_BADSTK): Likewise.
5817 (FPE_INTDIV): Likewise.
5818 (FPE_INTOVF): Likewise.
5819 (FPE_FLTDIV): Likewise.
5820 (FPE_FLTOVF): Likewise.
5821 (FPE_FLTUND): Likewise.
5822 (FPE_FLTRES): Likewise.
5823 (FPE_FLTINV): Likewise.
5824 (FPE_FLTSUB): Likewise.
5825 (SEGV_MAPERR): Likewise.
5826 (SEGV_ACCERR): Likewise.
5827 (BUS_ADRALN): Likewise.
5828 (BUS_ADRERR): Likewise.
5829 (BUS_OBJERR): Likewise.
5830 (BUS_MCEERR_AR): Likewise.
5831 (BUS_MCEERR_AO): Likewise.
5832 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5833 (TRAP_TRACE): Likewise.
5834 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5836 (CLD_KILLED): Likewise.
5837 (CLD_DUMPED): Likewise.
5838 (CLD_TRAPPED): Likewise.
5839 (CLD_STOPPED): Likewise.
5840 (CLD_CONTINUED): Likewise.
5841 (POLL_IN): Likewise.
5842 (POLL_OUT): Likewise.
5843 (POLL_MSG): Likewise.
5844 (POLL_ERR): Likewise.
5845 (POLL_PRI): Likewise.
5846 (POLL_HUP): Likewise.
5847 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5849 (ILL_ILLOPN): Likewise.
5850 (ILL_ILLADR): Likewise.
5851 (ILL_ILLTRP): Likewise.
5852 (ILL_PRVOPC): Likewise.
5853 (ILL_PRVREG): Likewise.
5854 (ILL_COPROC): Likewise.
5855 (ILL_BADSTK): Likewise.
5856 (ILL_BADIADDR): Likewise.
5857 (ILL_BREAK): Likewise.
5858 (FPE_INTDIV): Likewise.
5859 (FPE_INTOVF): Likewise.
5860 (FPE_FLTDIV): Likewise.
5861 (FPE_FLTOVF): Likewise.
5862 (FPE_FLTUND): Likewise.
5863 (FPE_FLTRES): Likewise.
5864 (FPE_FLTINV): Likewise.
5865 (FPE_FLTSUB): Likewise.
5866 (FPE_DECOVF): Likewise.
5867 (FPE_DECDIV): Likewise.
5868 (FPE_DECERR): Likewise.
5869 (FPE_INVASC): Likewise.
5870 (FPE_INVDEC): Likewise.
5871 (SEGV_MAPERR): Likewise.
5872 (SEGV_ACCERR): Likewise.
5873 (SEGV_PSTKOVF): Likewise.
5874 (BUS_ADRALN): Likewise.
5875 (BUS_ADRERR): Likewise.
5876 (BUS_OBJERR): Likewise.
5877 (BUS_MCEERR_AR): Likewise.
5878 (BUS_MCEERR_AO): Likewise.
5879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5880 (TRAP_TRACE): Likewise.
5881 (TRAP_BRANCH): Likewise.
5882 (TRAP_HWBKPT): Likewise.
5883 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5885 (CLD_KILLED): Likewise.
5886 (CLD_DUMPED): Likewise.
5887 (CLD_TRAPPED): Likewise.
5888 (CLD_STOPPED): Likewise.
5889 (CLD_CONTINUED): Likewise.
5890 (POLL_IN): Likewise.
5891 (POLL_OUT): Likewise.
5892 (POLL_MSG): Likewise.
5893 (POLL_ERR): Likewise.
5894 (POLL_PRI): Likewise.
5895 (POLL_HUP): Likewise.
5896 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5897 (ILL_ILLOPN): Likewise.
5898 (ILL_ILLADR): Likewise.
5899 (ILL_ILLTRP): Likewise.
5900 (ILL_PRVOPC): Likewise.
5901 (ILL_PRVREG): Likewise.
5902 (ILL_COPROC): Likewise.
5903 (ILL_BADSTK): Likewise.
5904 (FPE_INTDIV): Likewise.
5905 (FPE_INTOVF): Likewise.
5906 (FPE_FLTDIV): Likewise.
5907 (FPE_FLTOVF): Likewise.
5908 (FPE_FLTUND): Likewise.
5909 (FPE_FLTRES): Likewise.
5910 (FPE_FLTINV): Likewise.
5911 (FPE_FLTSUB): Likewise.
5912 (SEGV_MAPERR): Likewise.
5913 (SEGV_ACCERR): Likewise.
5914 (BUS_ADRALN): Likewise.
5915 (BUS_ADRERR): Likewise.
5916 (BUS_OBJERR): Likewise.
5917 (BUS_MCEERR_AR): Likewise.
5918 (BUS_MCEERR_AO): Likewise.
5919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5920 (TRAP_TRACE): Likewise.
5921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5923 (CLD_KILLED): Likewise.
5924 (CLD_DUMPED): Likewise.
5925 (CLD_TRAPPED): Likewise.
5926 (CLD_STOPPED): Likewise.
5927 (CLD_CONTINUED): Likewise.
5928 (POLL_IN): Likewise.
5929 (POLL_OUT): Likewise.
5930 (POLL_MSG): Likewise.
5931 (POLL_ERR): Likewise.
5932 (POLL_PRI): Likewise.
5933 (POLL_HUP): Likewise.
5934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5935 (ILL_ILLOPN): Likewise.
5936 (ILL_ILLADR): Likewise.
5937 (ILL_ILLTRP): Likewise.
5938 (ILL_PRVOPC): Likewise.
5939 (ILL_PRVREG): Likewise.
5940 (ILL_COPROC): Likewise.
5941 (ILL_BADSTK): Likewise.
5942 (FPE_INTDIV): Likewise.
5943 (FPE_INTOVF): Likewise.
5944 (FPE_FLTDIV): Likewise.
5945 (FPE_FLTOVF): Likewise.
5946 (FPE_FLTUND): Likewise.
5947 (FPE_FLTRES): Likewise.
5948 (FPE_FLTINV): Likewise.
5949 (FPE_FLTSUB): Likewise.
5950 (SEGV_MAPERR): Likewise.
5951 (SEGV_ACCERR): Likewise.
5952 (BUS_ADRALN): Likewise.
5953 (BUS_ADRERR): Likewise.
5954 (BUS_OBJERR): Likewise.
5955 (BUS_MCEERR_AR): Likewise.
5956 (BUS_MCEERR_AO): Likewise.
5957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5958 (TRAP_TRACE): Likewise.
5959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5961 (CLD_KILLED): Likewise.
5962 (CLD_DUMPED): Likewise.
5963 (CLD_TRAPPED): Likewise.
5964 (CLD_STOPPED): Likewise.
5965 (CLD_CONTINUED): Likewise.
5966 (POLL_IN): Likewise.
5967 (POLL_OUT): Likewise.
5968 (POLL_MSG): Likewise.
5969 (POLL_ERR): Likewise.
5970 (POLL_PRI): Likewise.
5971 (POLL_HUP): Likewise.
5972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5973 (ILL_ILLOPN): Likewise.
5974 (ILL_ILLADR): Likewise.
5975 (ILL_ILLTRP): Likewise.
5976 (ILL_PRVOPC): Likewise.
5977 (ILL_PRVREG): Likewise.
5978 (ILL_COPROC): Likewise.
5979 (ILL_BADSTK): Likewise.
5980 (FPE_INTDIV): Likewise.
5981 (FPE_INTOVF): Likewise.
5982 (FPE_FLTDIV): Likewise.
5983 (FPE_FLTOVF): Likewise.
5984 (FPE_FLTUND): Likewise.
5985 (FPE_FLTRES): Likewise.
5986 (FPE_FLTINV): Likewise.
5987 (FPE_FLTSUB): Likewise.
5988 (SEGV_MAPERR): Likewise.
5989 (SEGV_ACCERR): Likewise.
5990 (BUS_ADRALN): Likewise.
5991 (BUS_ADRERR): Likewise.
5992 (BUS_OBJERR): Likewise.
5993 (BUS_MCEERR_AR): Likewise.
5994 (BUS_MCEERR_AO): Likewise.
5995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5996 (TRAP_TRACE): Likewise.
5997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5999 (CLD_KILLED): Likewise.
6000 (CLD_DUMPED): Likewise.
6001 (CLD_TRAPPED): Likewise.
6002 (CLD_STOPPED): Likewise.
6003 (CLD_CONTINUED): Likewise.
6004 (POLL_IN): Likewise.
6005 (POLL_OUT): Likewise.
6006 (POLL_MSG): Likewise.
6007 (POLL_ERR): Likewise.
6008 (POLL_PRI): Likewise.
6009 (POLL_HUP): Likewise.
6010 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6011 (ILL_ILLOPN): Likewise.
6012 (ILL_ILLADR): Likewise.
6013 (ILL_ILLTRP): Likewise.
6014 (ILL_PRVOPC): Likewise.
6015 (ILL_PRVREG): Likewise.
6016 (ILL_COPROC): Likewise.
6017 (ILL_BADSTK): Likewise.
6018 (ILL_DBLFLT): Likewise.
6019 (ILL_HARDWALL): Likewise.
6020 (FPE_INTDIV): Likewise.
6021 (FPE_INTOVF): Likewise.
6022 (FPE_FLTDIV): Likewise.
6023 (FPE_FLTOVF): Likewise.
6024 (FPE_FLTUND): Likewise.
6025 (FPE_FLTRES): Likewise.
6026 (FPE_FLTINV): Likewise.
6027 (FPE_FLTSUB): Likewise.
6028 (SEGV_MAPERR): Likewise.
6029 (SEGV_ACCERR): Likewise.
6030 (BUS_ADRALN): Likewise.
6031 (BUS_ADRERR): Likewise.
6032 (BUS_OBJERR): Likewise.
6033 (BUS_MCEERR_AR): Likewise.
6034 (BUS_MCEERR_AO): Likewise.
6035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6036 (TRAP_TRACE): Likewise.
6037 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6039 (CLD_KILLED): Likewise.
6040 (CLD_DUMPED): Likewise.
6041 (CLD_TRAPPED): Likewise.
6042 (CLD_STOPPED): Likewise.
6043 (CLD_CONTINUED): Likewise.
6044 (POLL_IN): Likewise.
6045 (POLL_OUT): Likewise.
6046 (POLL_MSG): Likewise.
6047 (POLL_ERR): Likewise.
6048 (POLL_PRI): Likewise.
6049 (POLL_HUP): Likewise.
6050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6051 (ILL_ILLOPN): Likewise.
6052 (ILL_ILLADR): Likewise.
6053 (ILL_ILLTRP): Likewise.
6054 (ILL_PRVOPC): Likewise.
6055 (ILL_PRVREG): Likewise.
6056 (ILL_COPROC): Likewise.
6057 (ILL_BADSTK): Likewise.
6058 (FPE_INTDIV): Likewise.
6059 (FPE_INTOVF): Likewise.
6060 (FPE_FLTDIV): Likewise.
6061 (FPE_FLTOVF): Likewise.
6062 (FPE_FLTUND): Likewise.
6063 (FPE_FLTRES): Likewise.
6064 (FPE_FLTINV): Likewise.
6065 (FPE_FLTSUB): Likewise.
6066 (SEGV_MAPERR): Likewise.
6067 (SEGV_ACCERR): Likewise.
6068 (BUS_ADRALN): Likewise.
6069 (BUS_ADRERR): Likewise.
6070 (BUS_OBJERR): Likewise.
6071 (BUS_MCEERR_AR): Likewise.
6072 (BUS_MCEERR_AO): Likewise.
6073 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6074 (TRAP_TRACE): Likewise.
6075 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6077 (CLD_KILLED): Likewise.
6078 (CLD_DUMPED): Likewise.
6079 (CLD_TRAPPED): Likewise.
6080 (CLD_STOPPED): Likewise.
6081 (CLD_CONTINUED): Likewise.
6082 (POLL_IN): Likewise.
6083 (POLL_OUT): Likewise.
6084 (POLL_MSG): Likewise.
6085 (POLL_ERR): Likewise.
6086 (POLL_PRI): Likewise.
6087 (POLL_HUP): Likewise.
6088 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6089 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6092 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6093 before #include of <time.h>.
6094 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6095 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6096 (test-xfail-UNIX98/sched.h/conform): Likewise.
6098 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6100 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6101 error absence of trapping exception support.
6102 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6104 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6106 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6107 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6108 * timezone/Makefile (testdata): Move definition above include of
6110 (test-zones): New variable.
6111 (tests-special): Add zone files.
6112 (build-testdata): Use $(evaluate-test).
6114 * elf/Makefile (tests-special): Rename tests to end with .out.
6115 ($(objpfx)noload-mem): Likewise.
6116 ($(objpfx)tst-leaks1-mem): Likewise.
6117 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6118 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6119 $(objpfx)test-iconvconfig.out.
6120 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6121 set -e inside subshell and redirect output to file.
6122 * iconvdata/Makefile (generated): Rename tests to end with .out.
6124 (tests-special): Rename tests to end with .out.
6125 ($(objpfx)mtrace-tst-loading): Likewise.
6126 * intl/Makefile (generated): Likewise.
6127 (tests-special): Likewise.
6128 ($(objpfx)mtrace-tst-gettext): Likewise.
6129 * misc/Makefile (generated): Likewise.
6130 (tests-special): Likewise.
6131 ($(objpfx)tst-error1-mem): Likewise.
6132 * nptl/Makefile (tests-special): Likewise.
6133 ($(objpfx)tst-stack3-mem): Likewise.
6134 (generated): Likewise.
6135 * posix/Makefile (generated): Likewise.
6136 (tests-special): Likewise.
6137 (xtests-special): Likewise.
6138 ($(objpfx)tst-fnmatch-mem): Likewise.
6139 ($(objpfx)bug-regex2-mem): Likewise.
6140 ($(objpfx)bug-regex14-mem): Likewise.
6141 ($(objpfx)bug-regex21-mem): Likewise.
6142 ($(objpfx)bug-regex31-mem): Likewise.
6143 ($(objpfx)tst-vfork3-mem): Likewise.
6144 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6145 ($(objpfx)tst-pcre-mem): Likewise.
6146 ($(objpfx)tst-boost-mem): Likewise.
6147 ($(objpfx)bug-ga2-mem): Likewise.
6148 ($(objpfx)bug-glob2-mem): Likewise.
6149 * resolv/Makefile (generate): Likewise.
6150 (tests-special): Likewise.
6151 (xtests-special): Likewise.
6152 (generated): Likewise.
6153 ($(objpfx)mtrace-tst-leaks): Likewise.
6154 ($(objpfx)mtrace-tst-leaks2): Likewise.
6156 * scripts/merge-test-results.sh: New file.
6157 * Makefile (tests-special-notdir): New variable.
6158 (tests): Run merge-test-results.sh.
6160 * Rules (tests-special-notdir): New variable.
6161 (xtests-special-notdir): Likewise.
6162 (tests): Run merge-test-results.sh
6165 * Makeconfig (test-xfail-name): New variable.
6166 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6167 compute variable name for expected failures.
6168 * conform/Makefile (conformtest-headers-data): New variable.
6169 (conformtest-standards): Likewise.
6170 (conformtest-headers-ISO): Likewise.
6171 (conformtest-headers-ISO99): Likewise.
6172 (conformtest-headers-ISO11): Likewise.
6173 (conformtest-headers-POSIX): Likewise.
6174 (conformtest-headers-XPG3): Likewise.
6175 (conformtest-headers-XPG4): Likewise.
6176 (conformtest-headers-UNIX98): Likewise.
6177 (conformtest-headers-XOPEN2K): Likewise.
6178 (conformtest-headers-POSIX2008): Likewise.
6179 (conformtest-headers-XOPEN2K8): Likewise.
6180 (conformtest-header-list-base): Likewise.
6181 (conformtest-header-list-tests): Likewise.
6182 (conformtest-header-base): Likewise.
6183 (conformtest-header-tests): Likewise.
6184 (tests-special): Add $(conformtest-header-list-tests). If
6185 [$(fast-check) && !$(cross-compiling)], add
6186 $(conformtest-header-tests) instead of
6187 $(objpfx)run-conformtest.out.
6188 (generated): Add $(conformtest-header-list-base). If
6189 [$(fast-check) && !$(cross-compiling)], add
6190 $(conformtest-header-base). Remove previous setting.
6191 ($(conformtest-header-list-tests)): New target.
6192 (test-xfail-run-conformtest): Remove variable.
6193 ($(objpfx)run-conformtest.out): Remove target.
6194 (test-xfail-ISO11/complex.h/conform): New variable.
6195 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6196 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6197 (test-xfail-XPG3/varargs.h/conform): Likewise.
6198 (test-xfail-XPG4/varargs.h/conform): Likewise.
6199 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6200 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6201 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6202 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6203 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6204 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6205 (test-xfail-XPG3/ftw.h/conform): Likewise.
6206 (test-xfail-XPG3/grp.h/conform): Likewise.
6207 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6208 (test-xfail-XPG3/limits.h/conform): Likewise.
6209 (test-xfail-XPG3/pwd.h/conform): Likewise.
6210 (test-xfail-XPG3/search.h/conform): Likewise.
6211 (test-xfail-XPG3/signal.h/conform): Likewise.
6212 (test-xfail-XPG3/stdio.h/conform): Likewise.
6213 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6214 (test-xfail-XPG3/string.h/conform): Likewise.
6215 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6216 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6217 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6218 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6219 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6220 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6221 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6222 (test-xfail-XPG3/termios.h/conform): Likewise.
6223 (test-xfail-XPG3/time.h/conform): Likewise.
6224 (test-xfail-XPG3/unistd.h/conform): Likewise.
6225 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6226 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6227 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6228 (test-xfail-XPG4/netdb.h/conform): Likewise.
6229 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6230 (test-xfail-XPG4/signal.h/conform): Likewise.
6231 (test-xfail-XPG4/stdio.h/conform): Likewise.
6232 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6233 (test-xfail-XPG4/stropts.h/conform): Likewise.
6234 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6235 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6236 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6237 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6238 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6239 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6240 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6241 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6242 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6243 (test-xfail-XPG4/termios.h/conform): Likewise.
6244 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6245 (test-xfail-XPG4/unistd.h/conform): Likewise.
6246 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6247 (test-xfail-POSIX/sched.h/conform): Likewise.
6248 (test-xfail-POSIX/signal.h/conform): Likewise.
6249 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6250 (test-xfail-POSIX/tar.h/conform): Likewise.
6251 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6252 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6253 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6254 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6255 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6256 (test-xfail-UNIX98/sched.h/conform): Likewise.
6257 (test-xfail-UNIX98/signal.h/conform): Likewise.
6258 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6259 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6260 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6261 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6262 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6263 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6264 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6265 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6266 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6267 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6268 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6269 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6270 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6271 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6272 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6273 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6274 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6275 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6276 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6277 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6278 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6279 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6280 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6281 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6282 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6283 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6284 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6285 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6286 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6287 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6288 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6289 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6290 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6291 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6292 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6293 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6294 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6295 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6296 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6297 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6298 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6299 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6300 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6301 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6302 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6303 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6304 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6305 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6306 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6307 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6308 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6309 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6310 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6311 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6312 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6313 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6314 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6315 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6316 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6317 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6318 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6319 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6320 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6321 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6322 (conformtest-cc-flags): Likewise.
6323 ($(conformtest-header-tests): New target.
6324 * conform/check-header-lists.sh: New file.
6325 * conform/run-conformtest.sh: Remove.
6327 * conform/conformtest.pl: Allow ' and \ in values given for
6329 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6331 [POSIX] (sys/types.h): Likewise.
6332 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6334 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6336 * conform/data/signal.h-data (SIGIO): Remove expectation.
6337 [XPG3] (SIGBUS): Do not expect.
6338 [POSIX || XPG3] (SIGPOLL): Likewise.
6339 [POSIX || XPG3] (SIGPROF): Likewise.
6340 [POSIX || XPG3] (SIGSYS): Likewise.
6341 [XPG3] (SIGTRAP): Likewise.
6342 [POSIX || XPG3] (SIGURG): Likewise.
6343 [POSIX || XPG3] (SIGVTALRM): Likewise.
6344 [POSIX || XPG3] (SIGXCPU): Likewise.
6345 [POSIX || XPG3] (SIGXFSZ): Likewise.
6346 [POSIX] (SA_SIGINFO): Expect.
6347 [XPG3] (siginfo_t): Do not expect type or contents.
6348 [POSIX] (si_pid): Do not expect element.
6349 [POSIX] (si_uid): Likewise.
6350 [POSIX] (si_addr): Likewise.
6351 [POSIX] (si_status): Likewise.
6352 [POSIX] (si_band): Likewise.
6353 [XPG4] (si_value): Likewise.
6354 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6355 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6356 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6357 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6358 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6359 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6360 [POSIX || XPG3] (ILL_COPROC): Likewise.
6361 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6362 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6363 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6364 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6365 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6366 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6367 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6368 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6369 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6370 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6371 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6372 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6373 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6374 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6375 [POSIX || XPG3] (CLD_EXITED): Likewise.
6376 [POSIX || XPG3] (CLD_KILLED): Likewise.
6377 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6378 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6379 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6380 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6381 [POSIX || XPG3] (POLL_IN): Likewise.
6382 [POSIX || XPG3] (POLL_OUT): Likewise.
6383 [POSIX || XPG3] (POLL_MSG): Likewise.
6384 [POSIX || XPG3] (POLL_ERR): Likewise.
6385 [POSIX || XPG3] (POLL_PRI): Likewise.
6386 [POSIX || XPG3] (POLL_HUP): Likewise.
6387 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6388 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6389 (SIG*): Do not allow.
6390 [XPG3] (si_*): Likewise.
6391 [XPG3] (SI_*): Likewise.
6392 [XPG3 || XPG4] (sigev_*): Likewise.
6393 [XPG3 || XPG4] (SIGEV_*): Likewise.
6394 [XPG3 || XPG4] (sival_*): Likewise.
6395 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6396 [POSIX || XPG3] (BUS_*): Likewise.
6397 [POSIX || XPG3] (CLD_*): Likewise.
6398 [POSIX || XPG3] (FPE_*): Likewise.
6399 [POSIX || XPG3] (ILL_*): Likewise.
6400 [POSIX || XPG3] (POLL_*): Likewise.
6401 [POSIX || XPG3] (SEGV_*): Likewise.
6402 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6403 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6404 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6405 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6406 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6407 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6408 Specify type and value.
6409 (TVERSLEN): Likewise.
6410 (REGTYPE): Likewise.
6411 (AREGTYPE): Likewise.
6412 (LNKTYPE): Likewise.
6413 (SYMTYPE): Likewise.
6414 (CHRTYPE): Likewise.
6415 (BLKTYPE): Likewise.
6416 (DIRTYPE): Likewise.
6417 (FIFOTYPE): Likewise.
6418 (CONTTYPE): Likewise.
6423 (TUWRITE): Likewise.
6426 (TGWRITE): Likewise.
6429 (TOWRITE): Likewise.
6431 [POSIX] (TSVTX): Expect constant.
6433 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6435 * Makefile (tests): Change dependencies to ....
6436 (tests-special): ... additions to this variable.
6437 (tests): Depend on $(tests-special).
6438 * Makerules (check-abi-list): New variable.
6439 (check-abi): Depend on $(check-abi-list).
6440 [$(subdir) = elf] (tests-special): Add
6441 $(objpfx)check-abi-libc.out.
6442 [$(build-shared) = yes && subdir] (tests-special): Add
6444 [$(build-shared) = yes && subdir] (tests): Do not depend on
6446 * Rules (tests): Depend on $(tests-special).
6447 (xtests): Depend on $(xtests-special).
6448 * catgets/Makefile (tests): Change dependencies to ....
6449 (tests-special): ... additions to this variable.
6450 * conform/Makefile (tests): Change dependencies to ....
6451 (tests-special): ... additions to this variable.
6452 * elf/Makefile (tests): Change dependencies to ....
6453 (tests-special): ... additions to this variable.
6454 * grp/Makefile (tests): Change dependencies to ....
6455 (tests-special): ... additions to this variable.
6456 * iconv/Makefile (xtests): Change dependencies to ....
6457 (xtests-special): ... additions to this variable.
6458 * iconvdata/Makefile (tests): Change dependencies to ....
6459 (tests-special): ... additions to this variable.
6460 * intl/Makefile (tests): Change dependencies to ....
6461 (tests-special): ... additions to this variable. Also add
6462 $(objpfx)tst-gettext.out.
6463 * io/Makefile (tests): Change dependencies to ....
6464 (tests-special): ... additions to this variable.
6465 * libio/Makefile (tests): Change dependencies to ....
6466 (tests-special): ... additions to this variable.
6467 * malloc/Makefile (tests): Change dependencies to ....
6468 (tests-special): ... additions to this variable.
6469 * misc/Makefile (tests): Change dependencies to ....
6470 (tests-special): ... additions to this variable.
6471 * nptl/Makefile (tests): Change dependencies to ....
6472 (tests-special): ... additions to this variable.
6473 * nptl_db/Makefile (tests): Change dependencies to ....
6474 (tests-special): ... additions to this variable.
6475 * posix/Makefile (tests): Change dependencies to ....
6476 (tests-special): ... additions to this variable.
6477 (xtests): Change dependencies to ....
6478 (xtests-special): ... additions to this variable.
6479 * resolv/Makefile (tests): Change dependencies to ....
6480 (tests-special): ... additions to this variable.
6481 (xtests): Change dependencies to ....
6482 (xtests-special): ... additions to this variable.
6483 * stdio-common/Makefile (tests): Change dependencies to ....
6484 (tests-special): ... additions to this variable.
6485 (do-tst-unbputc): Remove target.
6486 (do-tst-printf): Likewise.
6487 * stdlib/Makefile (tests): Change dependencies to ....
6488 (tests-special): ... additions to this variable.
6489 * string/Makefile (tests): Change dependencies to ....
6490 (tests-special): ... additions to this variable.
6491 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6492 (tests-special): ... additions to this variable.
6494 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6496 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6498 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6499 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6501 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6502 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6503 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6504 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6505 * conform/data/libgen.h-data [XPG3]: Likewise.
6506 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6507 * conform/data/ndbm.h-data [XPG3]: Likewise.
6508 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6509 * conform/data/netdb.h-data [XPG3]: Likewise.
6510 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6511 * conform/data/poll.h-data [XPG3]: Likewise.
6512 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6513 * conform/data/strings.h-data [XPG3]: Likewise.
6514 * conform/data/stropts.h-data [XPG3]: Likewise.
6515 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6516 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6517 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6519 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6520 * conform/data/sys/time.h-data [XPG3]: Likewise.
6521 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6522 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6523 * conform/data/sys/un.h-data [XPG3]: Likewise.
6524 * conform/data/syslog.h-data [XPG3]: Likewise.
6525 * conform/data/ucontext.h-data [XPG3]: Likewise.
6526 * conform/data/utmpx.h-data [XPG3]: Likewise.
6527 * conform/data/varargs.h-data [UNIX98]: Enable file.
6529 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6531 * math/libm-test.inc (struct test_f_f_data): Move expected results
6532 into structure for each rounding mode.
6533 (struct test_ff_f_data): Likewise.
6534 (struct test_ff_f_data_nexttoward): Likewise.
6535 (struct test_fi_f_data): Likewise.
6536 (struct test_fl_f_data): Likewise.
6537 (struct test_if_f_data): Likewise.
6538 (struct test_fff_f_data): Likewise.
6539 (struct test_c_f_data): Likewise.
6540 (struct test_f_f1_data): Likewise.
6541 (struct test_fF_f1_data): Likewise.
6542 (struct test_ffI_f1_data): Likewise.
6543 (struct test_c_c_data): Likewise.
6544 (struct test_cc_c_data): Likewise.
6545 (struct test_f_i_data): Likewise.
6546 (struct test_ff_i_data): Likewise.
6547 (struct test_f_l_data): Likewise.
6548 (struct test_f_L_data): Likewise.
6549 (struct test_fFF_11_data): Likewise.
6551 (RM_FE_DOWNWARD): Likewise.
6552 (RM_FE_TONEAREST): Likewise.
6553 (RM_FE_TOWARDZERO): Likewise.
6554 (RM_FE_UPWARD): Likewise.
6555 (RUN_TEST_LOOP_f_f): Update references to expected results.
6556 (RUN_TEST_LOOP_2_f): Likewise.
6557 (RUN_TEST_LOOP_fff_f): Likewise.
6558 (RUN_TEST_LOOP_c_f): Likewise.
6559 (RUN_TEST_LOOP_f_f1): Likewise.
6560 (RUN_TEST_LOOP_fF_f1): Likewise.
6561 (RUN_TEST_LOOP_fI_f1): Likewise.
6562 (RUN_TEST_LOOP_ffI_f1): Likewise.
6563 (RUN_TEST_LOOP_c_c): Likewise.
6564 (RUN_TEST_LOOP_cc_c): Likewise.
6565 (RUN_TEST_LOOP_f_i): Likewise.
6566 (RUN_TEST_LOOP_f_i_tg): Likewise.
6567 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6568 (RUN_TEST_LOOP_f_b): Likewise.
6569 (RUN_TEST_LOOP_f_b_tg): Likewise.
6570 (RUN_TEST_LOOP_f_l): Likewise.
6571 (RUN_TEST_LOOP_f_L): Likewise.
6572 (RUN_TEST_LOOP_fFF_11): Likewise.
6573 * math/gen-libm-test.pl (parse_args): Output four copies of
6574 expected results for each test.
6576 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6577 (__ASSUME_UTIMES): Remove.
6578 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6579 (__ASSUME_UTIMES): Likewise.
6581 * math/gen-auto-libm-tests.c: Update comment on output format.
6582 (output_for_one_input_case): Generate before-rounding and
6583 after-rounding information as conditions on output flags not
6584 floating-point format.
6585 * math/auto-libm-test-out: Regenerated.
6586 * math/gen-libm-test.pl (cond_value): New function.
6587 (or_cond_value): Use cond_value.
6588 (generate_testfile): Handle conditional exceptions.
6590 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6592 * math/libm-test.inc (max_valid_error): New variable.
6593 (init_max_error): Take new argument specifying whether function
6594 results are exactly determined. Set max_valid_error and bound
6595 other variables for errors based on this argument.
6596 (set_max_error): Do not record results above max_valid_error.
6597 (check_float_internal): Only accept errors of up to 0.5ulps if
6598 also at most max_valid_error.
6599 (START): Take new argument EXACT and pass it to init_max_error.
6600 (acos_test): Update call to START.
6601 (acos_test_tonearest): Likewise.
6602 (acos_test_towardzero): Likewise.
6603 (acos_test_downward): Likewise.
6604 (acos_test_upward): Likewise.
6605 (acosh_test): Likewise.
6606 (asin_test): Likewise.
6607 (asin_test_tonearest): Likewise.
6608 (asin_test_towardzero): Likewise.
6609 (asin_test_downward): Likewise.
6610 (asin_test_upward): Likewise.
6611 (asinh_test): Likewise.
6612 (atan_test): Likewise.
6613 (atanh_test): Likewise.
6614 (atan2_test): Likewise.
6615 (cabs_test): Likewise.
6616 (cacos_test): Likewise.
6617 (cacosh_test): Likewise.
6618 (carg_test): Likewise.
6619 (casin_test): Likewise.
6620 (casinh_test): Likewise.
6621 (catan_test): Likewise.
6622 (catanh_test): Likewise.
6623 (cbrt_test): Likewise.
6624 (ccos_test): Likewise.
6625 (ccosh_test): Likewise.
6626 (ceil_test): Likewise.
6627 (cexp_test): Likewise.
6628 (cimag_test): Likewise.
6629 (clog_test): Likewise.
6630 (clog10_test): Likewise.
6631 (conj_test): Likewise.
6632 (copysign_test): Likewise.
6633 (cos_test): Likewise.
6634 (cos_test_tonearest): Likewise.
6635 (cos_test_towardzero): Likewise.
6636 (cos_test_downward): Likewise.
6637 (cos_test_upward): Likewise.
6638 (cosh_test): Likewise.
6639 (cosh_test_tonearest): Likewise.
6640 (cosh_test_towardzero): Likewise.
6641 (cosh_test_downward): Likewise.
6642 (cosh_test_upward): Likewise.
6643 (cpow_test): Likewise.
6644 (cproj_test): Likewise.
6645 (creal_test): Likewise.
6646 (csin_test): Likewise.
6647 (csinh_test): Likewise.
6648 (csqrt_test): Likewise.
6649 (ctan_test): Likewise.
6650 (ctan_test_tonearest): Likewise.
6651 (ctan_test_towardzero): Likewise.
6652 (ctan_test_downward): Likewise.
6653 (ctan_test_upward): Likewise.
6654 (ctanh_test): Likewise.
6655 (ctanh_test_tonearest): Likewise.
6656 (ctanh_test_towardzero): Likewise.
6657 (ctanh_test_downward): Likewise.
6658 (ctanh_test_upward): Likewise.
6659 (erf_test): Likewise.
6660 (erfc_test): Likewise.
6661 (exp_test): Likewise.
6662 (exp_test_tonearest): Likewise.
6663 (exp_test_towardzero): Likewise.
6664 (exp_test_downward): Likewise.
6665 (exp_test_upward): Likewise.
6666 (exp10_test): Likewise.
6667 (exp10_test_tonearest): Likewise.
6668 (exp10_test_towardzero): Likewise.
6669 (exp10_test_downward): Likewise.
6670 (exp10_test_upward): Likewise.
6671 (pow10_test): Likewise.
6672 (exp2_test): Likewise.
6673 (expm1_test): Likewise.
6674 (expm1_test_tonearest): Likewise.
6675 (expm1_test_towardzero): Likewise.
6676 (expm1_test_downward): Likewise.
6677 (expm1_test_upward): Likewise.
6678 (fabs_test): Likewise.
6679 (fdim_test): Likewise.
6680 (floor_test): Likewise.
6681 (fma_test): Likewise.
6682 (fma_test_towardzero): Likewise.
6683 (fma_test_downward): Likewise.
6684 (fma_test_upward): Likewise.
6685 (fmax_test): Likewise.
6686 (fmin_test): Likewise.
6687 (fmod_test): Likewise.
6688 (fpclassify_test): Likewise.
6689 (frexp_test): Likewise.
6690 (hypot_test): Likewise.
6691 (ilogb_test): Likewise.
6692 (isfinite_test): Likewise.
6693 (finite_test): Likewise.
6694 (isgreater_test): Likewise.
6695 (isgreaterequal_test): Likewise.
6696 (isinf_test): Likewise.
6697 (isless_test): Likewise.
6698 (islessequal_test): Likewise.
6699 (islessgreater_test): Likewise.
6700 (isnan_test): Likewise.
6701 (isnormal_test): Likewise.
6702 (issignaling_test): Likewise.
6703 (isunordered_test): Likewise.
6704 (j0_test): Likewise.
6705 (j1_test): Likewise.
6706 (jn_test): Likewise.
6707 (ldexp_test): Likewise.
6708 (lgamma_test): Likewise.
6709 (gamma_test): Likewise.
6710 (lrint_test): Likewise.
6711 (lrint_test_tonearest): Likewise.
6712 (lrint_test_towardzero): Likewise.
6713 (lrint_test_downward): Likewise.
6714 (lrint_test_upward): Likewise.
6715 (llrint_test): Likewise.
6716 (llrint_test_tonearest): Likewise.
6717 (llrint_test_towardzero): Likewise.
6718 (llrint_test_downward): Likewise.
6719 (llrint_test_upward): Likewise.
6720 (log_test): Likewise.
6721 (log10_test): Likewise.
6722 (log1p_test): Likewise.
6723 (log2_test): Likewise.
6724 (logb_test): Likewise.
6725 (logb_test_downward): Likewise.
6726 (lround_test): Likewise.
6727 (llround_test): Likewise.
6728 (modf_test): Likewise.
6729 (nearbyint_test): Likewise.
6730 (nextafter_test): Likewise.
6731 (nexttoward_test): Likewise.
6732 (pow_test): Likewise.
6733 (pow_test_tonearest): Likewise.
6734 (pow_test_towardzero): Likewise.
6735 (pow_test_downward): Likewise.
6736 (pow_test_upward): Likewise.
6737 (remainder_test): Likewise.
6738 (drem_test): Likewise.
6739 (remainder_test_tonearest): Likewise.
6740 (drem_test_tonearest): Likewise.
6741 (remainder_test_towardzero): Likewise.
6742 (drem_test_towardzero): Likewise.
6743 (remainder_test_downward): Likewise.
6744 (drem_test_downward): Likewise.
6745 (remainder_test_upward): Likewise.
6746 (drem_test_upward): Likewise.
6747 (remquo_test): Likewise.
6748 (rint_test): Likewise.
6749 (rint_test_tonearest): Likewise.
6750 (rint_test_towardzero): Likewise.
6751 (rint_test_downward): Likewise.
6752 (rint_test_upward): Likewise.
6753 (round_test): Likewise.
6754 (scalb_test): Likewise.
6755 (scalbn_test): Likewise.
6756 (scalbln_test): Likewise.
6757 (signbit_test): Likewise.
6758 (sin_test): Likewise.
6759 (sin_test_tonearest): Likewise.
6760 (sin_test_towardzero): Likewise.
6761 (sin_test_downward): Likewise.
6762 (sin_test_upward): Likewise.
6763 (sincos_test): Likewise.
6764 (sinh_test): Likewise.
6765 (sinh_test_tonearest): Likewise.
6766 (sinh_test_towardzero): Likewise.
6767 (sinh_test_downward): Likewise.
6768 (sinh_test_upward): Likewise.
6769 (sqrt_test): Likewise.
6770 (sqrt_test_tonearest): Likewise.
6771 (sqrt_test_towardzero): Likewise.
6772 (sqrt_test_downward): Likewise.
6773 (sqrt_test_upward): Likewise.
6774 (tan_test): Likewise.
6775 (tan_test_tonearest): Likewise.
6776 (tan_test_towardzero): Likewise.
6777 (tan_test_downward): Likewise.
6778 (tan_test_upward): Likewise.
6779 (tanh_test): Likewise.
6780 (tgamma_test): Likewise.
6781 (trunc_test): Likewise.
6782 (y0_test): Likewise.
6783 (y1_test): Likewise.
6784 (yn_test): Likewise.
6785 (significand_test): Likewise.
6787 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6788 individual tests in comment.
6789 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6790 (prev_max_error): New variable.
6791 (prev_real_max_error): Likewise.
6792 (prev_imag_max_error): Likewise.
6793 (compare_ulp_data): Don't refer to test names in comment.
6794 (find_test_ulps): Remove function.
6795 (find_function_ulps): Likewise.
6796 (find_complex_function_ulps): Likewise.
6797 (init_max_error): Take function name as argument. Look up ulps
6799 (print_ulps): Remove function.
6800 (print_max_error): Use prev_max_error instead of calling
6802 (print_complex_max_error): Use prev_real_max_error and
6803 prev_imag_max_error instead of calling find_complex_function_ulps.
6804 (check_float_internal): Take max_ulp parameter instead of calling
6805 find_test_ulps. Don't call print_ulps.
6806 (check_float): Update call to check_float_internal.
6807 (check_complex): Update calls to check_float_internal.
6808 (START): Pass argument to init_max_error.
6809 * math/gen-libm-test.pl (%results): Don't include "kind"
6811 (parse_ulps): Don't handle ulps of individual tests.
6812 (print_ulps_file): Likewise.
6813 (output_ulps): Likewise.
6814 * math/README.libm-test: Update.
6815 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6817 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6818 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6819 * sysdeps/arm/libm-test-ulps: Likewise.
6820 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6821 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6822 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6823 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6824 * sysdeps/microblaze/libm-test-ulps: Likewise.
6825 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6826 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6828 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6829 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6830 * sysdeps/sh/libm-test-ulps: Likewise.
6831 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6832 * sysdeps/tile/libm-test-ulps: Likewise.
6833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6835 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6837 * math/libm-test.inc (print_complex_max_error): Check separately
6838 whether real and imaginary errors are within allowed range and
6839 pass 0 to print_complex_function_ulps instead of value within
6842 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6844 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6846 (get_handles_fopen): Likewise.
6847 (do_write_test): Likewise.
6849 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6851 * libio/fileops.c (do_ftell): Use cached offset when
6853 * libio/iofwide.c (do_ftell_wide): Likewise.
6854 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6856 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6859 * libio/libioP.h (get_file_offset): New function.
6860 * libio/fileops.c (get_file_offset): Likewise.
6861 (do_ftell): Likewise.
6862 (_IO_new_file_seekoff): Split out ftell logic.
6863 * libio/wfileops.c (do_ftell_wide): Likewise.
6864 (_IO_wfile_seekoff): Split out ftell logic.
6865 * libio/tst-ftell-active-handler.c: New test case.
6866 * libio/Makefile (tests): Add it.
6868 2014-03-03 Roland McGrath <roland@hack.frob.com>
6870 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6871 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6873 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6876 * nscd/connections.c (nscd_init): Call do_exit.
6877 (start_threads): Call do_exit and notify_parent.
6878 (begin_drop_privileges): Call do_exit.
6879 (finish_drop_privileges): Likewise.
6880 * nscd/selinux.c (preserve_capabilities): Likewise.
6881 (install_real_capabilities): Likewise.
6882 (nscd_selinux_enabled): Likewise.
6883 (avc_create_thread): Likewise.
6884 (avc_alloc_lock): Likewise.
6885 (nscd_avc_init): Likewise.
6886 * nscd/nscd.c (parent_fd): New static variable.
6887 (main): Create a pipe between parent and child processes.
6888 Skip closing parent_fd.
6889 (monitor_child): New function.
6890 (do_exit): Likewise.
6891 (notify_parent): Likewise.
6892 * nscd/nscd.h (notify_parent): Likewise.
6893 (do_exit): Likewise.
6895 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6897 * malloc/malloc.c (__libc_calloc): Revert last change.
6899 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6903 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6905 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6909 (__libc_ifunc_impl_list): Likewise.
6910 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6911 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6912 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6913 * string/strrchr.c: Define STRRCHR.
6915 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6917 * benchtest/bench-strtok.c (simple_strtok): Delete.
6918 (strtok_string): Use as benchmark.
6919 * string/strtok (STRTOK): New macro.
6921 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6923 * manual/threads.texi: Add header and standard comments to all
6926 * elf/dl-lookup.c (check_match): New function.
6927 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6928 (do_lookup_x): Remove nested function check_match. Use non-nested
6929 function check_match.
6931 2014-02-28 Roland McGrath <roland@hack.frob.com>
6933 * csu/Makefile (generated, before-compile): Use += rather than =.
6934 * catgets/Makefile (generated, generated-dirs): Likewise.
6935 * debug/Makefile (generated): Likewise.
6936 * dlfcn/Makefile (generated): Likewise.
6937 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6938 * iconvdata/Makefile (before-compile, generated): Likewise.
6939 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6940 * libio/Makefile (generated): Likewise.
6941 * malloc/Makefile (generated): Likewise.
6942 * manual/Makefile (generated, generated-dirs): Likewise.
6943 * misc/Makefile (generated): Likewise.
6944 * posix/Makefile (generated): Likewise.
6945 * resolv/Makefile (generated): Likewise.
6946 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6947 * timezone/Makefile (generated, generated-dirs): Likewise.
6949 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6951 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6954 power8 implementation.
6955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6956 file: POWER8 llround ifunc implementation.
6957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6958 (__lllround): Add POWER8 implementation.
6959 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6960 POWER8 llround implementation.
6962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6963 power8 implementation.
6964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6965 file: POWER8 llrint ifunc implementation.
6966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6967 Add POWER8 implementation.
6968 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6969 POWER8 llrint implementation.
6971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6972 power8 implementation.
6973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6974 file: POWER8 finite ifunc implementation.
6975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6976 Add POWER8 implementation.
6977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6979 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6980 POWER8 finite implementation.
6981 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6984 power8 implementation.
6985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6986 file: POWER8 isinf ifunc implementation.
6987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6988 POWER8 implementation.
6989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6991 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6992 isinf implementation.
6993 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6996 (INIT_ARCH): Add hwcap2 initialization.
6997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6998 power8 implementation.
6999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7000 file: POWER8 isnan ifunc implementation.
7001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7002 POWER8 implementation.
7003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7005 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7006 isnan implementation.
7007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7009 2014-02-27 Joey Ye <joey.ye@arm.com>
7011 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7012 (_FP_NANFRAC_Q): Set to zero.
7014 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7017 * math/auto-libm-test-in: New test inputs.
7018 * math/auto-libm-test-out: Regenerate.
7019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7022 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7024 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7026 * scripts/evaluate-test.sh: Take new argument indicating whether
7027 failure is expected.
7028 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7029 indicating whether failure is expected.
7030 * conform/Makefile (test-xfail-run-conformtest): New variable.
7031 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7033 * posix/Makefile (test-xfail-annexc): New variable.
7034 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7036 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7038 * argp/Makefile: Include Makeconfig immediately after defining
7040 * assert/Makefile: Likewise.
7041 * benchtests/Makefile: Likewise.
7042 * catgets/Makefile: Likewise.
7043 * conform/Makefile: Likewise.
7044 * crypt/Makefile: Likewise.
7045 * csu/Makefile: Likewise.
7046 (all): Remove target.
7047 * ctype/Makefile: Include Makeconfig immediately after defining
7049 * debug/Makefile: Likewise.
7050 * dirent/Makefile: Likewise.
7051 * dlfcn/Makefile: Likewise.
7052 * gmon/Makefile: Likewise.
7053 * gnulib/Makefile: Likewise.
7054 * grp/Makefile: Likewise.
7055 * gshadow/Makefile: Likewise.
7056 * hesiod/Makefile: Likewise.
7057 * hurd/Makefile: Likewise.
7058 (all): Remove target.
7059 * iconvdata/Makefile: Include Makeconfig immediately after
7061 * inet/Makefile: Likewise.
7062 * intl/Makefile: Likewise.
7063 * io/Makefile: Likewise.
7064 * libio/Makefile: Likewise.
7065 (all): Remove target.
7066 * locale/Makefile: Include Makeconfig immediately after defining
7068 * login/Makefile: Likewise.
7069 * mach/Makefile: Likewise.
7070 (all): Remove target.
7071 * malloc/Makefile: Include Makeconfig immediately after defining
7073 (all): Remove target.
7074 * manual/Makefile: Include Makeconfig immediately after defining
7076 * math/Makefile: Likewise.
7077 * misc/Makefile: Likewise.
7078 * nis/Makefile: Likewise.
7079 * nss/Makefile: Likewise.
7080 * po/Makefile: Likewise.
7081 (all): Remove target.
7082 * posix/Makefile: Include Makeconfig immediately after defining
7084 * pwd/Makefile: Likewise.
7085 * resolv/Makefile: Likewise.
7086 * resource/Makefile: Likewise.
7087 * rt/Makefile: Likewise.
7088 * setjmp/Makefile: Likewise.
7089 * shadow/Makefile: Likewise.
7090 * signal/Makefile: Likewise.
7091 * socket/Makefile: Likewise.
7092 * soft-fp/Makefile: Likewise.
7093 * stdio-common/Makefile: Likewise.
7094 * stdlib/Makefile: Likewise.
7095 * streams/Makefile: Likewise.
7096 * string/Makefile: Likewise.
7097 * sunrpc/Makefile: Likewise.
7098 (all): Remove target.
7099 * sysvipc/Makefile: Include Makeconfig immediately after defining
7101 * termios/Makefile: Likewise.
7102 * time/Makefile: Likewise.
7103 * timezone/Makefile: Likewise.
7104 (all): Remove target.
7105 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7107 * wctype/Makefile: Likewise.
7109 2014-02-26 Steve Ellcey <sellcey@mips.com>
7111 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7112 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7113 (libc_feholdexcept_setround_mips): Ditto.
7114 (libc_feholdsetround): New.
7115 (libc_feholdsetroundf): New.
7116 (libc_feholdsetroundl): New.
7117 (libc_feupdateenv_test_mips): New.
7118 (libc_feupdateenv_test): New.
7119 (libc_feupdateenv_testf): New.
7120 (libc_feupdateenv_testl): New.
7121 (libc_feresetround): New.
7122 (libc_feresetroundf): New.
7123 (libc_feresetroundl): New.
7124 (libc_fetestexcept_mips): New.
7125 (libc_fetestexcept): New.
7126 (libc_fetestexceptf): New.
7127 (libc_fetestexceptl): New.
7129 (libc_feholdexcept_setround_mips_ctx): New.
7130 (libc_feholdexcept_setround_ctx): New.
7131 (libc_feholdexcept_setroundf_ctx): New.
7132 (libc_feholdexcept_setroundl_ctx): New.
7133 (libc_fesetenv_mips_ctx): New.
7134 (libc_fesetenv_ctx): New.
7135 (libc_fesetenv_ctxf): New.
7136 (libc_fesetenv_ctxl): New.
7137 (libc_feupdateenv_mips_ctx): New.
7138 (libc_feupdateenv_ctx): New.
7139 (libc_feupdateenvf_ctx): New.
7140 (libc_feupdateenvl_ctx): New.
7141 (libc_feholdsetround_mips_ctx): New.
7142 (libc_feholdsetround_ctx): New.
7143 (libc_feholdsetroundf_ctx): New.
7144 (libc_feholdsetroundl_ctx): New.
7145 (libc_feresetround_mips_ctx): New.
7146 (libc_feresetround_ctx): New.
7147 (libc_feresetroundf_ctx): New.
7148 (libc_feresetroundl_ctx): New.
7150 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7152 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7154 * manual/ipc.texi: New file.
7155 * manual/Makefile (chapters): Add ipc.
7156 * manual/job.texi: Add "Inter-Process Communication" to next.
7157 * manual/process.texi: Add "Inter-Process Communication" to prev.
7159 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7163 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7165 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7167 * manual/arith.texi: Fix spaces after sentences.
7168 * manual/charset.texi: Likewise.
7169 * manual/errno.texi: Likewise.
7170 * manual/install.texi: Likewise.
7171 * manual/llio.texi: Likewise.
7172 * manual/locale.texi: Likewise.
7173 * manual/maint.texi: Likewise.
7174 * manual/math.texi: Likewise.
7175 * manual/memory.texi: Likewise.
7176 * manual/message.texi: Likewise.
7177 * manual/probes.texi: Likewise.
7178 * manual/resource.texi: Likewise.
7179 * manual/signal.texi: Likewise.
7180 * manual/socket.texi: Likewise.
7181 * manual/stdio.texi: Likewise.
7182 * manual/string.texi: Likewise.
7183 * manual/time.texi: Likewise.
7184 * manual/users.texi: Likewise.
7186 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7189 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7190 _DEFAULT_SOURCE is defined.
7192 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7193 Carlos O'Donell <carlos@redhat.com>
7196 * elf/dl-tls.c (_dl_count_modids): New function.
7197 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7198 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7199 audit library and increment generation counter.
7200 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7201 * elf/tst-audit9.c: New file.
7202 * elf/tst-auditmod9a.c: New file.
7203 * elf/tst-auditmod9b.c: New file.
7204 * elf/Makefile: Add rules to build and run tst-audit9.
7206 2014-02-25 Florian Weimer <fweimer@redhat.com>
7209 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7211 2014-02-25 Will Newton <will.newton@linaro.org>
7213 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7214 (__longjmp): Restore sp and lr before restoring callee
7215 saved registers. Add longjmp and longjmp_target
7216 SystemTap probe point.
7217 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7218 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7219 Define to zero to match jmpbuf layout.
7220 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7221 (__sigsetjmp): Save sp and lr before saving callee
7222 saved registers. Add setjmp SystemTap probe point.
7224 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7226 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7228 2014-02-24 Andreas Schwab <schwab@suse.de>
7231 * elf/pldd.c (wait_for_ptrace_stop): New function.
7232 (main): Call it after attaching.
7234 2014-02-22 Roland McGrath <roland@hack.frob.com>
7236 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7237 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7238 Versions files is now verboten.
7239 * hurd/Versions (libc: GLIBC_2.0):
7240 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7241 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7242 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7243 * mach/Versions: Likewise.
7245 * csu/Versions: Remove unused %include.
7246 * resolv/Versions: Likewise.
7248 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7250 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7251 ($(objpfx)check-local-headers.out): Likewise.
7252 ($(objpfx)begin-end-check.out): Likewise.
7253 * Makerules (check-abi-%.out): Likewise.
7254 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7255 ($(objpfx)test2.cat): Likewise.
7256 ($(objpfx)de/libc.cat): Likewise.
7257 ($(objpfx)test-gencat.out): Likewise.
7258 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7259 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7260 ($(objpfx)noload-mem): Likewise.
7261 ($(objpfx)tst-pathopt.out): Likewise.
7262 ($(objpfx)tst-rtld-load-self.out): Likewise.
7263 ($(objpfx)tst-array1-cmp.out): Likewise.
7264 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7265 ($(objpfx)tst-array2-cmp.out): Likewise.
7266 ($(objpfx)tst-array3-cmp.out): Likewise.
7267 ($(objpfx)tst-array4-cmp.out): Likewise.
7268 ($(objpfx)tst-array5-cmp.out): Likewise.
7269 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7270 ($(objpfx)check-textrel.out): Likewise.
7271 ($(objpfx)check-execstack.out): Likewise.
7272 ($(objpfx)check-localplt.out): Likewise.
7273 ($(objpfx)order2-cmp.out): Likewise.
7274 ($(objpfx)tst-leaks1-mem): Likewise.
7275 ($(objpfx)tst-leaks1-static-mem): Likewise.
7276 ($(objpfx)tst-initorder-cmp.out): Likewise.
7277 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7278 ($(objpfx)tst-unused-dep.out): Likewise.
7279 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7280 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7281 * iconv/Makefile (test-iconvconfig): Likewise.
7282 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7283 ($(objpfx)iconv-test.out): Likewise.
7284 ($(objpfx)tst-tables.out): Likewise.
7285 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7286 ($(objpfx)tst-gettext.out): Likewise.
7287 ($(objpfx)tst-translit.out): Likewise.
7288 ($(objpfx)tst-gettext2.out): Likewise.
7289 ($(objpfx)tst-gettext4.out): Likewise.
7290 ($(objpfx)tst-gettext6.out): Likewise.
7291 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7292 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7293 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7294 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7296 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7297 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7298 ($(objpfx)wordexp-tst.out): Likewise.
7299 ($(objpfx)annexc.out): Likewise.
7300 ($(objpfx)tst-fnmatch-mem): Likewise.
7301 ($(objpfx)bug-regex2-mem): Likewise.
7302 ($(objpfx)bug-regex14-mem): Likewise.
7303 ($(objpfx)bug-regex21-mem): Likewise.
7304 ($(objpfx)bug-regex31-mem): Likewise.
7305 ($(objpfx)tst-vfork3-mem): Likewise.
7306 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7307 ($(objpfx)tst-pcre-mem): Likewise.
7308 ($(objpfx)tst-boost-mem): Likewise.
7309 ($(objpfx)tst-getconf.out): Likewise.
7310 ($(objpfx)bug-ga2-mem): Likewise.
7311 ($(objpfx)bug-glob2-mem): Likewise.
7312 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7313 ($(objpfx)mtrace-tst-leaks2): Likewise.
7314 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7315 ($(objpfx)tst-printf.out): Likewise.
7316 ($(objpfx)tst-setvbuf1.out): Likewise.
7317 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7318 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7319 ($(objpfx)tst-fmtmsg.out): Likewise.
7320 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7321 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7323 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7324 * bits/sigaction.h [__USE_MISC]: Likewise.
7325 * bits/waitstatus.h: Update #endif comments.
7326 * ctype/ctype.h: Likewise.
7327 * dirent/dirent.h: Likewise.
7328 [__USE_MISC]: Remove redundant conditionals.
7329 * grp/grp.h: Update #endif comments.
7330 [__USE_GNU]: Remove redundant conditionals.
7331 [__USE_MISC]: Likewise.
7332 * inet/netinet/in.h [__USE_GNU]: Likewise.
7333 * io/sys/stat.h [__USE_MISC]: Likewise.
7334 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7335 * libio/bits/stdio.h: Update #endif comments.
7336 [__USE_MISC]: Remove redundant conditionals.
7337 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7338 * libio/stdio.h: Update #endif comments.
7339 [__USE_MISC]: Remove redundant conditionals.
7340 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7341 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7342 * math/math.h: Update #else and #endif comments.
7343 [__USE_MISC]: Remove redundant conditionals.
7344 * misc/sys/uio.h: Update #endif comments.
7345 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7346 * posix/glob.h [__USE_MISC]: Likewise.
7347 * posix/sys/types.h: Update #endif comments.
7348 [__USE_MISC]: Remove redundant conditionals.
7349 * posix/sys/wait.h: Update #endif comments.
7350 [__USE_MISC]: Remove redundant conditionals.
7351 * posix/unistd.h: Update #endif comments.
7352 [__USE_MISC]: Remove redundant conditionals.
7353 * pwd/pwd.h [__USE_GNU]: Likewise.
7354 [__USE_MISC]: Likewise.
7355 * resolv/netdb.h [__USE_GNU]: Likewise.
7356 * signal/signal.h: Update #endif comments.
7357 [__USE_MISC]: Remove redundant conditionals.
7358 * stdlib/stdlib.h: Update #else and #endif comments.
7359 [__USE_MISC]: Remove redundant conditionals.
7360 [__USE_GNU]: Likewise.
7361 * string/bits/string2.h [__USE_MISC]: Likewise.
7362 * string/string.h: Update #endif comments.
7363 [__USE_MISC]: Remove redundant conditionals.
7364 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7366 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7367 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7368 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7370 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7374 [__USE_MISC]: Remove redundant conditionals.
7375 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7376 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7377 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7378 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7379 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7381 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7382 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7384 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7385 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7387 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7389 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7390 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7392 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7394 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7395 * sysdeps/x86/bits/string.h: Update #endif comments.
7396 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7398 * time/sys/time.h: Update #endif comments.
7399 * time/time.h: Likewise.
7400 [__USE_MISC]: Remove redundant conditionals.
7402 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7405 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7407 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7409 * Versions.def (librt): Add GLIBC_2.17.
7411 2014-02-21 Adam Conrad <adconrad@0c3.net>
7413 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7414 synonym for _SYS_AUXV_H to allow direct inclusion.
7415 * sysdeps/sparc/bits/hwcap.h: Likewise.
7416 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7417 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7418 * sysdeps/sparc/sysdep.h: Likewise.
7420 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7422 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7424 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7426 * benchtests/bench-strrchr.c: Print length instead of position.
7428 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7431 * sysdeps/unix/sysv/linux/kernel-features.h
7432 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7433 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7434 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7435 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7437 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7438 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7439 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7440 (__ASSUME_SENDMMSG): Define instead of using previous
7441 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7442 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7443 (__ASSUME_SENDMMSG_SYSCALL): Define.
7444 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7445 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7447 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7448 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7450 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7451 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7453 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7454 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7455 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7456 [__ASSUME_SENDMMSG]: Change conditionals to
7457 [__ASSUME_SENDMMSG_SOCKETCALL].
7458 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7459 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7461 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7462 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7464 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7465 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7466 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7467 [!__ASSUME_SENDMMSG]: Change conditional to
7468 [!__ASSUME_SENDMMSG_SOCKETCALL].
7469 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7470 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7474 * sysdeps/unix/sysv/linux/kernel-features.h
7475 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7476 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7477 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7478 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7479 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7480 [__i386__ || __sparc__]
7481 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7482 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7483 (__ASSUME_RECVMMSG): Define instead of using previous
7484 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7485 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7486 (__ASSUME_RECVMMSG_SYSCALL): Define.
7487 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7488 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7490 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7491 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7493 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7494 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7496 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7497 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7498 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7499 [__ASSUME_RECVMMSG]: Change condition to
7500 [__ASSUME_RECVMMSG_SOCKETCALL].
7501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7504 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7505 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7506 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7508 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7509 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7510 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7511 [!__ASSUME_RECVMMSG]: Change condition to
7512 [!__ASSUME_RECVMMSG_SOCKETCALL].
7513 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7514 (__ASSUME_RECVMMSG_SYSCALL): Define.
7517 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7518 __powerpc__ || __s390__ || __sh__ || __sparc__]
7519 (__ASSUME_SOCKETCALL): Define.
7520 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7521 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7522 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7523 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7524 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7525 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7526 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7527 (__ASSUME_ACCEPT4): Define instead of using previous
7528 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7529 __powerpc__ || __sparc__ || __s390__)] condition.
7530 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7531 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7532 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7533 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7534 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7535 [!__ASSUME_ACCEPT4]: Change condition to
7536 [!__ASSUME_ACCEPT4_SOCKETCALL].
7537 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7538 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7539 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7540 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7541 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7542 __ASSUME_ACCEPT4_SYSCALL.
7543 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7544 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7545 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7546 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7547 __ASSUME_ACCEPT4_SYSCALL.
7548 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7549 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7550 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7551 [__ASSUME_ACCEPT4]: Change condition to
7552 [__ASSUME_ACCEPT4_SOCKETCALL].
7553 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7554 (__ASSUME_SOCKETCALL): Define.
7555 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7556 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7557 (__ASSUME_SOCKETCALL): Define.
7558 (__ASSUME_ACCEPT4): Remove.
7559 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7561 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7562 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7564 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7565 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7567 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7569 (HWCAP_ARM_LPAE): Likewise.
7570 (HWCAP_ARM_EVTSTRM): Likewise.
7571 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7572 Add vpfd32, lpae and evtstrm.
7573 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7576 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7578 * math/auto-libm-test-in: Add tests of clog10.
7579 * math/auto-libm-test-out: Regenerated.
7580 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7581 * sysdeps/i386/fpu/libm-test-ulps: Update.
7582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7584 2014-02-18 Andreas Schwab <schwab@suse.de>
7587 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7588 Store non-zero if the second buffer was newly allocated.
7589 (send_dg): Likewise.
7590 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7591 to send_vc and send_dg.
7592 (res_nsend): Pass NULL for ansp2_malloced.
7593 * resolv/res_query.c (__libc_res_nquery): Add parameter
7594 answerp2_malloced and pass it down to __libc_res_nsend.
7595 (res_nquery): Pass additional NULL to __libc_res_nquery.
7596 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7597 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7598 second answer buffer if answerp2_malloced was set.
7599 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7600 (__libc_res_nquerydomain): Add parameter
7601 answerp2_malloced and pass it down to __libc_res_nquery.
7602 (res_nquerydomain): Pass additional NULL to
7603 __libc_res_nquerydomain.
7604 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7605 additional NULL to __libc_res_nsend and __libc_res_nquery.
7606 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7607 additional NULL to __libc_res_nsearch.
7608 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7609 parameter of __libc_res_nsearch to check for separately allocated
7611 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7613 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7614 additional NULL to __libc_res_nquery.
7615 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7617 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7618 * include/resolv.h: Update prototypes of __libc_res_nquery,
7619 __libc_res_nsearch, __libc_res_nsend.
7621 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7623 * math/auto-libm-test-in: Add tests of fma.
7624 * math/auto-libm-test-out: Regenerated.
7625 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7626 (fma_towardzero_test_data): Likewise.
7627 (fma_downward_test_data): Likewise.
7628 (fma_upward_test_data): Likewise.
7629 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7631 (rounding_modes): Add values for new field.
7632 (func_calc_method): Add value mpfr_fff_f.
7633 (func_calc_desc): Add mpfr_fff_f union field.
7634 (test_function): Add field exact_args.
7635 (FUNC): Add macro argument EXACT_ARGS.
7636 (FUNC_mpfr_f_f): Update call to FUNC.
7637 (FUNC_mpfr_f_f): Likewise.
7638 (FUNC_mpfr_ff_f): Likewise.
7639 (FUNC_mpfr_if_f): Likewise.
7640 (FUNC_mpc_c_f): Likewise.
7641 (FUNC_mpc_c_c): Likewise.
7642 (test_functions): Add fma. Update calls to FUNC.
7643 (handle_input_arg): Add argument exact_args.
7644 (add_test): Update call to handle_input_arg.
7645 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7646 (output_for_one_input_case): Update call to calc_generic_results.
7647 Recalculate exact zero results in each rounding mode.
7649 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7650 non-negative before setting low bit.
7651 * math/auto-libm-test-in: Mark one asin test possibly having
7653 * math/auto-libm-test-out: Regenerated.
7654 * sysdeps/i386/fpu/libm-test-ulps: Update.
7655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7657 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7659 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7660 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7661 ports/sysdeps/unix/sysv/linux/microblaze.
7662 * README: Add missing listing for microblaze*-*-linux-gnu.
7664 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7666 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7667 * sysdeps/unix/sysv/linux/ia64: Move directory from
7668 ports/sysdeps/unix/sysv/linux/ia64.
7669 * README: Update listing for ia64-*-linux-gnu.
7671 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7672 Joseph Myers <joseph@codesourcery.com>
7674 * Makeconfig (test-name): New variable.
7675 (evaluate-test): Likewise.
7676 * Makerules (do-test-clean): Remove .test-result files.
7677 (common-mostlyclean): Likewise.
7678 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7679 * scripts/evaluate-test.sh: New file.
7681 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7683 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7684 separate $(objpfx)tst-fopenloc-cmp.out and
7685 $(objpfx)tst-fopenloc-mem.out targets.
7686 (tests): Update dependencies.
7687 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7688 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7689 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7690 (tst-rxspencer-no-utf8-ARGS): New variable.
7691 (tst-rxspencer-no-utf8-ENV): Likewise.
7692 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7693 instead of $(objpfx)tst-rxspencer-mem.
7694 ($(objpfx)tst-rxspencer-mem): Change target to
7695 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7696 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7697 * posix/tst-rxspencer-no-utf8.c: New file.
7699 * elf/Makefile ($(objpfx)order.out): Remove rule.
7700 [$(run-built-tests) = yes] (tests): Depend on
7701 $(objpfx)order-cmp.out.
7702 ($(objpfx)order-cmp.out): New rule.
7703 [$(run-built-tests) = yes] (tests): Depend on
7704 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7705 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7706 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7707 $(objpfx)tst-array5-static-cmp.out.
7708 ($(objpfx)tst-array1.out): Remove rule.
7709 ($(objpfx)tst-array1-cmp.out): New rule.
7710 ($(objpfx)tst-array1-static.out): Remove rule.
7711 ($(objpfx)tst-array1-static-cmp.out): New rule.
7712 ($(objpfx)tst-array2.out): Remove rule.
7713 ($(objpfx)tst-array2-cmp.out): New rule.
7714 ($(objpfx)tst-array3.out): Remove rule.
7715 ($(objpfx)tst-array3-cmp.out): New rule.
7716 ($(objpfx)tst-array4.out): Remove rule.
7717 ($(objpfx)tst-array4-cmp.out): New rule.
7718 ($(objpfx)tst-array5.out): Remove rule.
7719 ($(objpfx)tst-array5-cmp.out): New rule.
7720 ($(objpfx)tst-array5-static.out): Remove rule.
7721 ($(objpfx)tst-array5-static-cmp.out): New rule.
7722 [$(run-built-tests) = yes] (tests): Depend on
7723 $(objpfx)order2-cmp.out.
7724 ($(objpfx)order2.out): Remove rule.
7725 ($(objpfx)order2-cmp.out): New rule.
7726 ($(objpfx)tst-initorder.out): Remove rule.
7727 [$(run-built-tests) = yes] (tests): Depend on
7728 $(objpfx)tst-initorder-cmp.out.
7729 ($(objpfx)tst-initorder-cmp.out): New rule.
7730 ($(objpfx)tst-initorder2.out): Remove rule.
7731 [$(run-built-tests) = yes] (tests): Depend on
7732 $(objpfx)tst-initorder2-cmp.out.
7733 ($(objpfx)tst-initorder2-cmp.out): New rule.
7734 [$(run-built-tests) = yes] (tests): Depend on
7735 $(objpfx)tst-unused-dep-cmp.out.
7736 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7737 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7738 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7739 on $(objpfx)tst-setvbuf1-cmp.out.
7740 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7741 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7742 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7743 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7744 ($(objpfx)tst-svc.out): Remove rule.
7745 ($(objpfx)tst-svc-cmp.out): New rule.
7747 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7749 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7750 * ctype/ctype.h [__USE_MISC]: Likewise.
7751 * dirent/dirent.h [__USE_MISC]: Likewise.
7752 * grp/grp.h [__USE_MISC]: Likewise.
7753 * io/fcntl.h [__USE_MISC]: Likewise.
7754 * io/sys/stat.h [__USE_MISC]: Likewise.
7755 * libio/stdio.h [__USE_MISC]: Likewise.
7756 * posix/unistd.h [__USE_MISC]: Likewise.
7757 * pwd/pwd.h [__USE_MISC]: Likewise.
7758 * stdlib.h [__USE_MISC]: Likewise.
7759 * string/bits/string2.h [__USE_MISC]: Likewise.
7760 * string/string.h [__USE_MISC]: Likewise.
7761 * time/time.h [__USE_MISC]: Likewise.
7763 2014-02-13 Andreas Schwab <schwab@suse.de>
7766 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7767 second answer buffer if it was separately allocated.
7769 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7771 * sysdeps/mips/math-tests.h: Include <features.h>.
7772 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7773 (ROUNDING_TESTS_long_double): Do not define.
7774 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7775 (EXCEPTION_TESTS_long_double): Likewise.
7776 * sysdeps/mips/mips64/libm-test-ulps: Update.
7778 * include/features.h (__USE_BSD): Remove macro definitions.
7779 (__USE_SVID): Likewise.
7780 (_BSD_SOURCE): Likewise.
7781 (_SVID_SOURCE): Likewise.
7782 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7783 from definition of _DEFAULT_SOURCE.
7784 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7786 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7787 * bits/mman.h [__USE_BSD]: Likewise.
7788 * bits/termios.h [__USE_BSD]: Likewise.
7789 * bits/waitstatus.h [__USE_BSD]: Likewise.
7790 * ctype/ctype.h [__USE_SVID]: Likewise.
7791 * dirent/dirent.h [__USE_BSD]: Likewise.
7792 * grp/grp.h [__USE_SVID]: Likewise.
7793 [__USE_BSD]: Likewise.
7794 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7795 * io/fcntl.h [__USE_BSD]: Likewise.
7796 * io/ftw.h [__USE_BSD]: Likewise.
7797 * io/sys/stat.h [__USE_BSD]: Likewise.
7798 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7799 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7800 * libio/stdio.h [__USE_SVID]: Likewise.
7801 [__USE_BSD]: Likewise.
7802 * math/math.h [__USE_SVID]: Likewise.
7803 [__USE_BSD]: Likewise.
7804 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7805 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7806 * misc/search.h [__USE_SVID]: Likewise.
7807 * misc/sys/mman.h [__USE_BSD]: Likewise.
7808 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7809 * misc/sys/uio.h [__USE_BSD]: Likewise.
7810 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7811 * posix/glob.h [__USE_BSD]: Likewise.
7812 * posix/regex.h [__USE_BSD]: Likewise.
7813 * posix/sys/types.h [__USE_BSD]: Likewise.
7814 [__USE_SVID]: Likewise.
7815 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7816 * posix/sys/wait.h [__USE_BSD]: Likewise.
7817 [__USE_SVID]: Likewise.
7818 * posix/unistd.h [__USE_BSD]: Likewise.
7819 [__USE_SVID]: Likewise.
7820 * pwd/pwd.h [__USE_SVID]: Likewise.
7821 * resolv/netdb.h [__USE_BSD]: Likewise.
7822 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7823 * signal/signal.h [__USE_BSD]: Likewise.
7824 [__USE_SVID]: Likewise.
7825 * socket/sys/socket.h [__USE_BSD]: Likewise.
7826 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7827 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7828 [__USE_SVID]: Likewise.
7829 * string/bits/string2.h [__USE_BSD]: Likewise.
7830 [__USE_SVID]: Likewise.
7831 * string/bits/string3.h [__USE_BSD]: Likewise.
7832 * string/endian.h [__USE_BSD]: Likewise.
7833 * string/string.h [__USE_SVID]: Likewise.
7834 [__USE_BSD]: Likewise.
7835 * string/strings.h [__USE_BSD]: Likewise.
7836 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7837 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7838 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7839 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7840 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7841 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7843 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7845 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7846 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7848 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7849 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7851 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7853 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7854 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7855 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7857 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7859 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7860 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7861 * termios/termios.h [__USE_BSD]: Likewise.
7862 * time/sys/time.h [__USE_BSD]: Likewise.
7863 * time/time.h [__USE_BSD]: Likewise.
7864 [__USE_SVID]: Likewise.
7866 * Makefile (subdir_targets): Remove subdir_lint.out.
7868 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7869 (do-tst-printf): Likewise.
7870 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7871 $(objpfx)tst-printf.out.
7873 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7875 * Makerules (check-abi-%): Change target to
7876 $(objpfx)check-abi-%.out.
7877 (check-abi target): Update dependencies.
7878 (check-abi-pattern variable): Redirect output of diff to $@.
7879 (check-abi variable): Likewise.
7880 * elf/Makefile (check-abi): Update dependencies.
7882 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7884 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7885 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7887 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7888 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7889 value has largest subnormal exponent.
7890 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7891 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7892 * sysdeps/aarch64/soft-fp/sfp-machine.h
7893 (_FP_TININESS_AFTER_ROUNDING): New macro.
7894 * sysdeps/alpha/soft-fp/sfp-machine.h
7895 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7896 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7898 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7899 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7900 * sysdeps/mips/soft-fp/sfp-machine.h
7901 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7902 * sysdeps/powerpc/soft-fp/sfp-machine.h
7903 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7904 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7906 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7907 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7908 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7909 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7910 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7913 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7916 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7919 2014-02-12 Richard Henderson <rth@redhat.com>
7921 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7922 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7923 * sysdeps/unix/sysv/linux/alpha: Move directory from
7924 ports/sysdeps/unix/sysv/linux/alpha.
7925 * README: Update listing for alpha-*-linux-gnu.
7927 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7929 * include/features.h: Update comment documenting feature test
7931 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7933 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7934 (_SVID_SOURCE): Likewise.
7935 (_DEFAULT_SOURCE): Update description of default features.
7936 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7938 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7939 (S_ISVTX): Likewise.
7940 * manual/math.texi (Mathematical Constants): Likewise.
7941 * manual/signal.texi (Interrupted Primitives): Likewise.
7942 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7943 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7944 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7945 Don't refer to _SVID_SOURCE in warning text.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7949 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7951 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7952 * sysdeps/mips/dl-lookup.c: Remove.
7953 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7955 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7958 * math/auto-libm-test-in: Add testcase for expl.
7959 * math/auto-libm-test-out: Regenerate.
7960 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7961 calculation of unsafe.
7962 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7964 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7966 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7967 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7968 ports/sysdeps/unix/sysv/linux/aarch64.
7969 * README: Update listing for aarch64*-*-linux-gnu.
7971 2014-02-11 Will Newton <will.newton@linaro.org>
7973 * manual/probes.texi (Mathematical Function Probes): Use
7974 "triggered" instead of "hit".
7976 * manual/probes.texi (Internal Probes): Add documentation
7977 of setjmp, longjmp and longjmp_target probes.
7979 * include/stap-probe.h: Add comment about probe argument
7982 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7983 definition. (tr_where, tr_freehook, tr_mallochook,
7984 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7986 2014-02-11 David S. Miller <davem@davemloft.net>
7988 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7989 processing int_tests.
7991 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7993 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7994 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7995 * sysdeps/unix/sysv/linux/mips: Move directory from
7996 ports/sysdeps/unix/sysv/linux/mips.
7997 * README: Update listing for mips-*-linux-gnu and
8000 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8002 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8003 * sysdeps/unix/sysv/linux/m68k: Move directory from
8004 ports/sysdeps/unix/sysv/linux/m68k.
8005 * README: Update listing for m68k-*-linux-gnu.
8007 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8009 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8010 * sysdeps/unix/sysv/linux/generic: Move directory from
8011 ports/sysdeps/unix/sysv/linux/generic.
8012 * sysdeps/unix/sysv/linux/tile: Move directory from
8013 ports/sysdeps/unix/sysv/linux/tile.
8014 * README: Update listing for tile*-*-linux-gnu.
8016 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8018 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8020 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8021 * catgets/open_catalog.c (__open_catalog): Likewise.
8022 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8023 * debug/confstr_chk.c: Likewise.
8024 * debug/fread_chk.c (__fread_chk): Likewise.
8025 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8026 * debug/getgroups_chk.c: Likewise.
8027 * debug/mbsnrtowcs_chk.c: Likewise.
8028 * debug/mbsrtowcs_chk.c: Likewise.
8029 * debug/mbstowcs_chk.c: Likewise.
8030 * debug/memcpy_chk.c: Likewise.
8031 * debug/memmove_chk.c: Likewise.
8032 * debug/mempcpy_chk.c: Likewise.
8033 * debug/memset_chk.c: Likewise.
8034 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8035 * debug/strcat_chk.c (__strcat_chk): Likewise.
8036 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8037 * debug/strncat_chk.c (__strncat_chk): Likewise.
8038 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8039 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8040 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8041 * debug/wcpncpy_chk.c: Likewise.
8042 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8043 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8044 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8045 * debug/wcsncpy_chk.c: Likewise.
8046 * debug/wcsnrtombs_chk.c: Likewise.
8047 * debug/wcsrtombs_chk.c: Likewise.
8048 * debug/wcstombs_chk.c: Likewise.
8049 * debug/wmemcpy_chk.c: Likewise.
8050 * debug/wmemmove_chk.c: Likewise.
8051 * debug/wmempcpy_chk.c: Likewise.
8052 * debug/wmemset_chk.c: Likewise.
8053 * dirent/scandirat.c (SCANDIRAT): Likewise.
8054 * dlfcn/dladdr1.c (dladdr1): Likewise.
8055 * dlfcn/dladdr.c (dladdr): Likewise.
8056 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8057 * dlfcn/dlerror.c (__dlerror): Likewise.
8058 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8059 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8060 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8061 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8062 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8063 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8064 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8065 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8067 * elf/dl-conflict.c: Likewise.
8068 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8069 * elf/dl-dst.h: Likewise.
8070 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8071 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8072 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8073 * elf/dl-init.c (call_init, _dl_init): Likewise.
8074 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8075 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8076 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8078 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8080 * elf/dl-minimal.c (__libc_memalign): Likewise.
8081 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8082 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8083 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8084 * elf/dl-sym.c (do_sym): Likewise.
8085 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8086 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8087 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8088 * elf/dl-writev.h (_dl_writev): Likewise.
8089 * elf/ldconfig.c (search_dir): Likewise.
8090 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8091 (dl_main): Likewise.
8092 * elf/setup-vdso.h (setup_vdso): Likewise.
8093 * grp/compat-initgroups.c (compat_call): Likewise.
8094 * grp/fgetgrent.c (fgetgrent): Likewise.
8095 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8096 * grp/putgrent.c (putgrent): Likewise.
8097 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8099 * hurd/hurdinit.c: Likewise.
8100 * iconvdata/8bit-gap.c (struct): Likewise.
8101 * iconvdata/ansi_x3.110.c : Likewise.
8102 * iconvdata/big5.c : Likewise.
8103 * iconvdata/big5hkscs.c : Likewise.
8104 * iconvdata/cp1255.c: Likewise.
8105 * iconvdata/cp1258.c : Likewise.
8106 * iconvdata/cp932.c : Likewise.
8107 * iconvdata/euc-cn.c: Likewise.
8108 * iconvdata/euc-jisx0213.c : Likewise.
8109 * iconvdata/euc-jp.c: Likewise.
8110 * iconvdata/euc-jp-ms.c : Likewise.
8111 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8112 * iconvdata/gb18030.c : Likewise.
8113 * iconvdata/gbbig5.c (const): Likewise.
8114 * iconvdata/gbgbk.c: Likewise.
8115 * iconvdata/gbk.c : Likewise.
8116 * iconvdata/ibm1364.c : Likewise.
8117 * iconvdata/ibm930.c : Likewise.
8118 * iconvdata/ibm932.c: Likewise.
8119 * iconvdata/ibm933.c : Likewise.
8120 * iconvdata/ibm935.c : Likewise.
8121 * iconvdata/ibm937.c : Likewise.
8122 * iconvdata/ibm939.c : Likewise.
8123 * iconvdata/ibm943.c: Likewise.
8124 * iconvdata/iso_11548-1.c: Likewise.
8125 * iconvdata/iso-2022-cn.c : Likewise.
8126 * iconvdata/iso-2022-cn-ext.c : Likewise.
8127 * iconvdata/iso-2022-jp-3.c: Likewise.
8128 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8129 * iconvdata/iso-2022-kr.c : Likewise.
8130 * iconvdata/iso646.c (gconv_end): Likewise.
8131 * iconvdata/iso_6937-2.c : Likewise.
8132 * iconvdata/iso_6937.c : Likewise.
8133 * iconvdata/iso8859-1.c: Likewise.
8134 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8135 * iconvdata/shift_jisx0213.c : Likewise.
8136 * iconvdata/sjis.c : Likewise.
8137 * iconvdata/t.61.c : Likewise.
8138 * iconvdata/tcvn5712-1.c : Likewise.
8139 * iconvdata/tscii.c: Likewise.
8140 * iconvdata/uhc.c : Likewise.
8141 * iconvdata/unicode.c (gconv_end): Likewise.
8142 * iconvdata/utf-16.c (gconv_end): Likewise.
8143 * iconvdata/utf-32.c (gconv_end): Likewise.
8144 * iconvdata/utf-7.c (base64): Likewise.
8145 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8146 * iconv/gconv_close.c (__gconv_close): Likewise.
8147 * iconv/gconv_open.c (__gconv_open): Likewise.
8148 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8149 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8150 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8151 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8152 (ucs4le_internal_loop_single): Likewise.
8153 * iconv/iconv.c (iconv): Likewise.
8154 * iconv/iconv_close.c: Likewise.
8155 * iconv/loop.c (SINGLE): Likewise.
8156 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8157 * include/atomic.h: Likewise.
8158 * inet/inet6_option.c (option_alloc): Likewise.
8159 * intl/bindtextdom.c (set_binding_values): Likewise.
8160 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8161 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8162 * intl/localealias.c (read_alias_file): Likewise.
8163 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8164 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8165 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8166 * libio/fmemopen.c (fmemopen): Likewise.
8167 * libio/iofgets.c (_IO_fgets): Likewise.
8168 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8169 * libio/iofgetws.c (fgetws): Likewise.
8170 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8171 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8172 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8173 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8174 * locale/findlocale.c (_nl_find_locale): Likewise.
8175 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8176 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8178 * locale/setlocale.c (setlocale): Likewise.
8179 * login/programs/pt_chown.c (main): Likewise.
8180 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8181 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8182 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8183 (mmap, mmap64, mremap, munmap): Likewise.
8184 * math/e_exp2l.c: Likewise.
8185 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8186 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8187 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8188 * math/s_catan.c (__catan): Likewise.
8189 * math/s_catanf.c (__catanf): Likewise.
8190 * math/s_catanh.c (__catanh): Likewise.
8191 * math/s_catanhf.c (__catanhf): Likewise.
8192 * math/s_catanhl.c (__catanhl): Likewise.
8193 * math/s_catanl.c (__catanl): Likewise.
8194 * math/s_ccosh.c (__ccosh): Likewise.
8195 * math/s_ccoshf.c (__ccoshf): Likewise.
8196 * math/s_ccoshl.c (__ccoshl): Likewise.
8197 * math/s_cexp.c (__cexp): Likewise.
8198 * math/s_cexpf.c (__cexpf): Likewise.
8199 * math/s_cexpl.c (__cexpl): Likewise.
8200 * math/s_clog10.c (__clog10): Likewise.
8201 * math/s_clog10f.c (__clog10f): Likewise.
8202 * math/s_clog10l.c (__clog10l): Likewise.
8203 * math/s_clog.c (__clog): Likewise.
8204 * math/s_clogf.c (__clogf): Likewise.
8205 * math/s_clogl.c (__clogl): Likewise.
8206 * math/s_csin.c (__csin): Likewise.
8207 * math/s_csinf.c (__csinf): Likewise.
8208 * math/s_csinh.c (__csinh): Likewise.
8209 * math/s_csinhf.c (__csinhf): Likewise.
8210 * math/s_csinhl.c (__csinhl): Likewise.
8211 * math/s_csinl.c (__csinl): Likewise.
8212 * math/s_csqrt.c (__csqrt): Likewise.
8213 * math/s_csqrtf.c (__csqrtf): Likewise.
8214 * math/s_csqrtl.c (__csqrtl): Likewise.
8215 * math/s_ctan.c (__ctan): Likewise.
8216 * math/s_ctanf.c (__ctanf): Likewise.
8217 * math/s_ctanh.c (__ctanh): Likewise.
8218 * math/s_ctanhf.c (__ctanhf): Likewise.
8219 * math/s_ctanhl.c (__ctanhl): Likewise.
8220 * math/s_ctanl.c (__ctanl): Likewise.
8221 * math/w_pow.c: Likewise.
8222 * math/w_powf.c: Likewise.
8223 * math/w_powl.c: Likewise.
8224 * math/w_scalb.c (sysv_scalb): Likewise.
8225 * math/w_scalbf.c (sysv_scalbf): Likewise.
8226 * math/w_scalbl.c (sysv_scalbl): Likewise.
8227 * misc/error.c (error_tail): Likewise.
8228 * misc/pselect.c (__pselect): Likewise.
8229 * nis/nis_callback.c (__nis_create_callback): Likewise.
8230 * nis/nis_call.c (__nisfind_server): Likewise.
8231 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8232 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8233 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8234 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8235 * nis/nis_lookup.c (nis_lookup): Likewise.
8236 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8237 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8238 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8239 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8240 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8241 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8242 * nis/nss_compat/compat-initgroups.c (add_group)
8243 (internal_getgrent_r): Likewise.
8244 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8245 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8246 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8247 (internal_getspnam_r): Likewise.
8248 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8249 (_nss_nis_getaliasbyname_r): Likewise.
8250 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8251 (_nss_nis_getntohost_r): Likewise.
8252 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8253 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8254 (_nss_nis_getgrgid_r): Likewise.
8255 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8256 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8257 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8258 (_nss_nis_gethostbyname4_r): Likewise.
8259 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8260 (initgroups_netid): Likewise.
8261 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8262 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8263 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8264 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8265 (_nss_nis_getprotobynumber_r): Likewise.
8266 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8267 (_nss_nis_getsecretkey): Likewise.
8268 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8269 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8270 (_nss_nis_getpwuid_r): Likewise.
8271 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8272 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8273 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8274 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8275 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8276 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8277 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8279 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8280 (_nss_nisplus_getntohost_r): Likewise.
8281 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8282 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8283 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8284 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8286 * nis/nss_nisplus/nisplus-initgroups.c
8287 (_nss_nisplus_initgroups_dyn): Likewise.
8288 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8289 (_nss_nisplus_getnetbyaddr_r): Likewise.
8290 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8291 (_nss_nisplus_getprotobynumber_r): Likewise.
8292 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8293 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8294 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8296 * nis/nss_nisplus/nisplus-service.c
8297 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8298 (_nss_nisplus_getservbyport_r): Likewise.
8299 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8300 (_nss_nisplus_getspnam_r): Likewise.
8301 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8303 * nscd/aicache.c (addhstaiX): Likewise.
8304 * nscd/cache.c (cache_search, prune_cache): Likewise.
8305 * nscd/connections.c (register_traced_file, send_ro_fd)
8306 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8307 (main_loop_epoll): Likewise.
8308 * nscd/grpcache.c (addgrbyX): Likewise.
8309 * nscd/hstcache.c (addhstbyX): Likewise.
8310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8311 * nscd/mem.c (gc, mempool_alloc): Likewise.
8312 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8313 (addinnetgrX): Likewise.
8314 * nscd/nscd-client.h (__nscd_acquire_maplock)
8315 (__nscd_drop_map_ref): Likewise.
8316 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8317 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8318 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8320 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8321 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8322 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8323 (__nscd_get_map_ref): Likewise.
8324 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8325 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8327 * nscd/pwdcache.c (addpwbyX): Likewise.
8328 * nscd/selinux.c (preserve_capabilities): Likewise.
8329 * nscd/servicescache.c (addservbyX): Likewise.
8330 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8331 * posix/fnmatch.c (fnmatch): Likewise.
8332 * posix/getopt.c (_getopt_internal_r): Likewise.
8333 * posix/glob.c (glob, glob_in_dir): Likewise.
8334 * posix/wordexp.c (exec_comm_child): Likewise.
8335 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8336 (getanswer_r, gaih_getanswer_slice): Likewise.
8337 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8338 * resolv/res_init.c: Likewise.
8339 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8340 * resolv/res_query.c (__libc_res_nquery): Likewise.
8341 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8343 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8344 * stdio-common/perror.c (perror): Likewise.
8345 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8346 * stdio-common/tmpnam.c (tmpnam): Likewise.
8347 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8348 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8349 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8351 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8352 * stdlib/putenv.c (putenv): Likewise.
8353 * stdlib/setenv.c (__add_to_environ): Likewise.
8354 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8355 * stdlib/strtol_l.c (INTERNAL): Likewise.
8356 * string/memmem.c (memmem): Likewise.
8357 * string/strerror.c (strerror): Likewise.
8358 * string/strnlen.c (__strnlen): Likewise.
8359 * string/test-memmem.c (simple_memmem): Likewise.
8360 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8361 * sunrpc/pm_getport.c (__get_socket): Likewise.
8362 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8363 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8364 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8365 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8367 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8368 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8369 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8370 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8371 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8372 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8374 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8376 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8377 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8378 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8379 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8380 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8382 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8383 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8384 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8385 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8386 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8387 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8389 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8393 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8394 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8396 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8397 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8398 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8399 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8402 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8403 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8410 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8412 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8414 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8416 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8418 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8420 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8421 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8422 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8423 * sysdeps/posix/sleep.c: Likewise.
8424 * sysdeps/posix/tempname.c: Likewise.
8425 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8426 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8428 * sysdeps/powerpc/powerpc32/dl-machine.h
8429 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8430 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8432 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8433 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8435 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8436 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8437 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8438 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8439 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8440 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8441 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8442 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8443 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8444 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8446 (elf_machine_lazy_rel): Likewise.
8447 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8449 (elf_machine_lazy_rel): Likewise.
8450 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8451 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8452 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8453 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8454 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8455 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8456 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8459 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8460 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8461 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8462 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8463 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8464 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8465 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8466 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8467 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8468 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8469 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8471 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8472 (__posix_fallocate64_l64): Likewise.
8473 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8474 (posix_fallocate): Likewise.
8475 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8477 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8478 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8479 (getifaddrs_internal): Likewise.
8480 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8481 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8482 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8483 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8484 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8485 (__posix_fallocate64_l64): Likewise.
8486 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8488 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8489 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8490 (__get_clockfreq): Likewise.
8491 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8492 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8493 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8494 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8496 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8497 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8498 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8500 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8501 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8502 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8503 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8504 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8505 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8506 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8508 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8509 (posix_fallocate): Likewise.
8510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8511 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8512 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8513 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8514 (elf_machine_rela, elf_machine_rela_relative)
8515 (elf_machine_lazy_rel): Likewise.
8516 * time/asctime.c (asctime_internal): Likewise.
8517 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8518 * time/tzset.c (__tzset_parse_tz): Likewise.
8519 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8520 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8521 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8522 * wcsmbs/wcsmbsload.h: Likewise.
8525 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8527 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8528 (arena_get2): Remove THREAD_STATS conditionals.
8529 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8530 (__malloc_stats, int): Likewise.
8532 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8534 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8535 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8537 * manual/setjmp.texi: Fix typos/grammar errors.
8539 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8540 Only return early when n is <= 0. Delete unused return statement.
8542 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8543 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8544 * debug/tst-longjmp_chk3.c: New file.
8546 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8547 (test_main): Replace code with set_fortify_handler call.
8548 * debug/test-strcpy_chk.c: Likewise.
8549 * debug/tst-chk1.c: Likewise.
8550 * debug/tst-longjmp_chk.c: Likewise.
8551 * test-skeleton.c: Include fcntl.h & paths.h
8552 (set_fortify_handler): Define.
8554 * debug/tst-longjmp_chk.c: Add header comment and include
8556 (do_test): Mark static.
8557 (TEST_FUNCTION): Define.
8559 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8560 (IP_PMTUDISC_INTERFACE): Likewise.
8561 (IP_MULTICAST_IF): Likewise.
8562 (IP_MULTICAST_TTL): Likewise.
8563 (IP_MULTICAST_LOOP): Likewise.
8564 (IP_ADD_MEMBERSHIP): Likewise.
8565 (IP_DROP_MEMBERSHIP): Likewise.
8566 (IP_UNBLOCK_SOURCE): Likewise.
8567 (IP_BLOCK_SOURCE): Likewise.
8568 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8569 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8570 (IP_MSFILTER): Likewise.
8571 (MCAST_JOIN_GROUP): Likewise.
8572 (MCAST_BLOCK_SOURCE): Likewise.
8573 (MCAST_UNBLOCK_SOURCE): Likewise.
8574 (MCAST_LEAVE_GROUP): Likewise.
8575 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8576 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8577 (MCAST_MSFILTER): Likewise.
8578 (IP_MULTICAST_ALL): Likewise.
8579 (IP_UNICAST_IF): Likewise.
8581 * timezone/Makefile: Delete $(have-ksh) check.
8582 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8583 * timezone/tzselect.ksh: Add +x mode bits.
8585 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8586 (ANON_INODE_FS_MAGIC): Likewise.
8587 (BDEVFS_MAGIC): Likewise.
8588 (BINFMTFS_MAGIC): Likewise.
8589 (BTRFS_TEST_MAGIC): Likewise.
8590 (CRAMFS_MAGIC_WEND): Likewise.
8591 (DEBUGFS_MAGIC): Likewise.
8592 (ECRYPTFS_SUPER_MAGIC): Likewise.
8593 (EXT3_SUPER_MAGIC): Likewise.
8594 (EXT4_SUPER_MAGIC): Likewise.
8595 (FUTEXFS_SUPER_MAGIC): Likewise.
8596 (HOSTFS_SUPER_MAGIC): Likewise.
8597 (HUGETLBFS_MAGIC): Likewise.
8598 (MINIX3_SUPER_MAGIC): Likewise.
8599 (MTD_INODE_FS_MAGIC): Likewise.
8600 (NILFS_SUPER_MAGIC): Likewise.
8601 (OPENPROM_SUPER_MAGIC): Likewise.
8602 (PIPEFS_MAGIC): Likewise.
8603 (PSTOREFS_MAGIC): Likewise.
8604 (QNX6_SUPER_MAGIC): Likewise.
8605 (RAMFS_MAGIC): Likewise.
8606 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8607 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8608 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8609 (SECURITYFS_MAGIC): Likewise.
8610 (SELINUX_MAGIC): Likewise.
8611 (SMACK_MAGIC): Likewise.
8612 (SOCKFS_MAGIC): Likewise.
8613 (SQUASHFS_MAGIC): Likewise.
8614 (STACK_END_MAGIC): Likewise.
8615 (TMPFS_MAGIC): Likewise.
8616 (USBDEVICE_SUPER_MAGIC): Likewise.
8617 (V9FS_MAGIC): Likewise.
8618 (XENFS_SUPER_MAGIC): Likewise.
8619 (CRAMFS_MAGIC): Fix typo in comment.
8620 (EXT2_SUPER_MAGIC): Update comment.
8621 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8623 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8625 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8626 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8627 * sysdeps/unix/sysv/linux/arm: Move directory from
8628 ports/sysdeps/unix/sysv/linux/arm.
8629 * README: Update listing for arm-*-linux-gnueabi.
8631 * README: Remove mention of am33.
8633 2014-02-07 Roland McGrath <roland@hack.frob.com>
8635 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8636 than the comma operator, to avoid "rhs of comma has no effect"
8638 (__sigfillset, __sigandset, __sigorset): Likewise.
8639 * include/signal.h (__sigemptyset): Likewise.
8640 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8642 2014-02-07 Allan McRae <allan@archlinux.org>
8644 * version.h (RELEASE): Set to "development".
8645 (VERSION): Set to "2.19.90"
8646 * NEWS: Add 2.20 section.
8648 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8651 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8653 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8655 * manual/contrib.texi: Update entry for Carlos O'Donell,
8656 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8658 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8660 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8662 * sysdeps/unix/sysv/linux/kernel-features.h
8663 [__LINUX_KERNEL_VERSION >= 0x020621]
8664 (__ASSUME_PROC_PID_TASK_COMM): Define.
8666 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8669 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8670 conversion when destination buffer does not have enough space.
8671 * libio/tst-ftell-partial-wide.c: New test case.
8672 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8674 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8675 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8676 Leonard and Allan McRae.
8678 2014-02-04 David S. Miller <davem@davemloft.net>
8680 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8683 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8712 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8714 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8715 * shlib-versions: Likewise.
8717 2014-02-04 Roland McGrath <roland@hack.frob.com>
8718 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8720 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8721 (abilist-pattern): New variable, set to %-le.abilist.
8723 * Makerules (abilist-pattern): New variable.
8724 (vpath): Use $(abilist-pattern) in place of %.abilist.
8725 (check-abi-% pattern rule): Likewise.
8726 (check-abi, update-abi): Likewise.
8728 2014-02-04 Eric Wong <normalperson@yhbt.net>
8730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8732 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8734 * manual/startup.texi: Add next, previous, and top entries for
8735 the `Program Arguments' and `Environment Variables' nodes.
8737 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8739 * manual/macros.texi: Add comments before MTASC-safety macros.
8741 * manual/users.texi: Document MTASC-safety properties.
8743 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8744 (pthread_getspecific, pthread_setspecific): Format with
8745 @deftypefun, and add @safety note.
8746 * manual/signal.texi: Move comments that analyze the above
8747 functions to their home place.
8749 2014-02-03 Allan McRae <allan@archlinux.org>
8751 * po/sl.po: Update Slovenian translation from translation project.
8753 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8755 * manual/time.texi (timegm): Add missing blank after @c.
8756 Reported by Joseph Myers <joseph@codesourcery.com>.
8758 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8760 * manual/check-safety.sh: New.
8761 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8763 * manual/terminal.texi: Document MTASC-safety properties.
8765 * manual/filesys.texi: Document MTASC-safety properties.
8767 * manual/errno.texi: Document MTASC-safety properties.
8769 * manual/intro.texi: Document safety identifiers and
8772 * manual/string.texi (wcstok): Fix prototype.
8773 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8775 * manual/time.texi: Document MTASC-safety properties.
8777 * manual/string.texi: Document MTASC-safety properties.
8779 * manual/threads.texi: Document MTASC-safety properties.
8781 * manual/stdio.texi: Document MTASC-safety properties.
8783 * manual/syslog.texi: Document MTASC-safety properties.
8785 * manual/sysinfo.texi: Document MTASC-safety properties.
8787 * manual/startup.texi: Document MTASC-safety properties.
8789 * manual/socket.texi: Document MTASC-safety properties.
8791 * manual/signal.texi: Document MTASC-safety properties.
8793 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8795 * manual/setjmp.texi: Document MTASC-safety properties.
8797 * manual/search.texi: Document MTASC-safety properties.
8799 * manual/resource.texi: Document MTASC-safety properties.
8801 * manual/process.texi: Document MTASC-safety properties.
8803 * manual/platform.texi: Document MTASC-safety properties.
8805 * manual/pipe.texi: Document MTASC-safety properties.
8807 * manual/pattern.texi: Document MTASC-safety properties.
8809 * manual/message.texi: Document MTASC-safety properties.
8812 * manual/memory.texi: Document MTASC-safety properties.
8814 * manual/math.texi: Document MTASC-safety properties.
8816 * manual/locale.texi: Document MTASC-safety properties.
8818 * manual/llio.texi: Document MTASC-safety properties.
8820 * manual/libdl.texi: New.
8822 * manual/lang.texi: Document MTASC-safety properties.
8824 * manual/job.texi: Document MTASC-safety properties.
8826 * manual/getopt.texi: Document MTASC-safety properties.
8828 * manual/ctype.texi: Document MTASC-safety properties.
8830 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8833 * csu/libc-tls.c (static_map): Remove variable.
8834 (__libc_setup_tls): Use main executable's link map for TLS data.
8835 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8836 casing for LM_ID_BASE and GL(dl_nns).
8837 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8838 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8839 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8840 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8841 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8843 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8846 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8848 * manual/debug.texi: Document MTASC-safety properties.
8850 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8853 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8854 of __x86_64__ when disabling x87 inline functions.
8856 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8858 * manual/charset.texi: Document MTASC-safety properties.
8860 * manual/crypt.texi: Document MTASC-safety properties.
8862 * manual/conf.texi: Document MTASC-safety properties.
8864 * manual/arith.texi: Document MTASC-safety properties.
8866 * manual/argp.texi: Document MTASC-safety properties.
8868 * manual/macros.texi: Introduce macros to document multi
8869 thread, asynchronous signal and asynchronous cancellation
8871 * manual/intro.texi: Introduce the properties themselves.
8873 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8875 * sysdeps/sh/sh4/Makefile: New file.
8877 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8879 * math/gen-libm-test.pl ($srcdir): New variable.
8880 ($auto_input): Use it.
8882 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8885 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8886 access beyond array bounds when parsing netgroups file.
8888 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8889 the old buffer before realloc.
8891 2014-01-27 Allan McRae <allan@archlinux.org>
8893 * po/fr.po: Update French translation from translation project.
8895 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8897 * sysdeps/sh/libm-test-ulps: Regenerate.
8899 2014-01-24 David S. Miller <davem@davemloft.net>
8901 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8903 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8905 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8906 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8908 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8911 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8912 string pointers after reallocation.
8914 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8916 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8917 __SH4A__ instead of __SH_FPU_ANY__.
8919 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8921 * sysdeps/sh/fpu_control.h: New file.
8922 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8923 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8924 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8925 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8926 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8927 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8928 * sysdeps/sh/sys/ucontext.h: Remove.
8929 * sysdeps/sh/sys: Remove directory.
8931 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8933 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8934 s390/sys/ucontext.h.
8935 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8936 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8938 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8941 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8943 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8946 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8947 Adjust the vDSO correctly for internal calls.
8948 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8950 2014-01-20 Allan McRae <allan@archlinux.org>
8952 * po/ca.po: Update Catalan translation from translation project.
8954 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8956 * sysdeps/s390/sotruss-lib.c: New file.
8958 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8961 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8962 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8963 local calls issues by not having a PLT stub required for IFUNC calls.
8964 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8966 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8968 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8969 * math/test-fpucw-static.c: Likewise.
8971 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8974 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8976 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8978 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8979 implementation for powerpc.
8981 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8984 * sysdeps/posix/system.c (__libc_system): Do not enable
8985 asynchronous cancellation.
8987 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8990 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8991 handling only for numbers special also in the IEEE case.
8993 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8995 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8997 2014-01-11 Allan McRae <allan@archlinux.org>
8999 * po/bg.po: Update Bulgarian translation from translation project.
9001 * po/de.po: Update German translation from translation project.
9003 2014-01-10 Roland McGrath <roland@hack.frob.com>
9005 * sysdeps/generic/gcc-compat.h: New file.
9007 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9009 * benchtests/asin-inputs: Correct slow inputs.
9010 * benchtests/acos-inputs: Likewise.
9012 2014-01-10 Allan McRae <allan@archlinux.org>
9014 * po:sv.po: Update Swedish translation from translation project.
9016 * po/vi.po: Update Vietnamese translation from translation project.
9018 * po/eo.po: Update Esperanto translation from translation project.
9020 * po/cs.po: Update Czech translation from translation project.
9022 * po/nl.po: Update Dutch translation from translation project.
9024 * po/pl.po: Update Polish translation from translation project.
9026 * po/ru.po: Update Russian translation from translation project.
9028 * po/uk.po: Update Ukrainian translation from translation project.
9030 2014-01-08 Brooks Moses <bmoses@google.com>
9032 * elf/dl-load.c: Fix comment typo.
9034 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9036 * po/header.pot: Rename to...
9037 * po/pot.header: ... this.
9038 * po/Makefile: Use pot.header.
9040 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9041 Maxim Kuvyrkov <maxim@kugelworks.com>
9044 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9045 SRC and DEST against LEN.
9047 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9050 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9052 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9054 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9058 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9061 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9062 for large positive arguments.
9064 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9066 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9068 * math/auto-libm-test-in: Mark various tests with
9069 xfail-rounding:ldbl-128ibm.
9070 * math/auto-libm-test-out: Regenerated.
9073 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9074 Increase overflow threshold.
9076 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9079 * stdio-common/vfprintf.c: Check for integer overflow.
9081 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9083 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9084 the first argument and return value of __tls_get_addr_internal.
9086 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9088 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9089 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9091 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9093 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9094 * sysdeps/s390/rtld-global-offsets.sym: New file.
9095 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9097 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9098 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9099 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9101 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9102 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9108 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9109 halfs of GPRs for high_gprs contexts.
9110 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9111 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9113 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9115 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9117 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9118 for high GPRs (uc_high_gprs) and for future extensions
9120 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9121 for future extensions (__reserved).
9122 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9124 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9125 SC_HIGHGPRS offset definition.
9126 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9127 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9129 * Versions.def: Add GLIBC_2.19 for libpthread.
9130 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9131 siglongjmp for libpthread with GLIBC_2.19 symver.
9132 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9133 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9134 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9135 * sysdeps/s390/__longjmp.c: New file.
9136 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9137 * sysdeps/s390/longjmp.c: New file.
9138 * sysdeps/s390/setjmp.S: New file.
9139 * sysdeps/s390/sigjmp.S: New file.
9140 * sysdeps/s390/v1-longjmp.c: New file.
9141 * sysdeps/s390/v1-setjmp.h: New file.
9142 * sysdeps/s390/v1-sigjmp.c: New file.
9143 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9144 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9146 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9147 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9148 versioned symbols for ____longjmp_chk.
9149 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9159 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9160 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9161 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9162 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9163 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9164 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9165 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9166 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9167 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9168 * sysdeps/s390/rtld-__longjmp.c: New file.
9169 * sysdeps/s390/rtld-setjmp.S: New file.
9171 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9175 Return -__logl (x) for small positive arguments without evaluating
9178 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9180 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9182 (__ptrace_peeksiginfo_args): ... this.
9183 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9184 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9187 2014-01-06 Allan McRae <allan@archlinux.org>
9189 * inet/netinet/in.h: Fix typo in comment.
9191 2014-01-05 Andreas Jaeger <aj@suse.de>
9193 * sysdeps/i386/fpu/libm-test-ulps: Update.
9195 2014-01-05 Allan McRae <allan@archlinux.org>
9197 * po/libc.pot: Regenerated.
9199 * malloc/memusagestat.c: Fix gettext call formatting.
9201 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9203 * nscd/nscd.c: Improve usage() output.
9205 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9207 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9208 * sysdeps/unix/sysv/linux/configure: Regenerated.
9209 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9210 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9212 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9215 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9216 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9218 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9220 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9221 extra tokens at end of #undef directive.
9222 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9223 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9224 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9226 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9228 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9230 * math/auto-libm-test-in: Mark various tests with
9231 xfail-rounding:ldbl-128ibm.
9232 * math/auto-libm-test-out: Regenerated.
9234 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9237 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9238 numbers with subnormal high part when calculating exponent.
9241 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9245 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9247 (__ieee754_acoshl): Use __log1pl not __log1p.
9249 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9251 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9252 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9253 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9254 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9255 (reused_arena, arena_get2): Convert to GNU style.
9256 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9257 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9258 (memalign_check, __malloc_set_state): Likewise.
9259 * malloc/mallocbug.c (main): Likewise.
9260 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9261 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9262 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9263 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9264 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9265 (__posix_memalign, malloc_info): Likewise.
9266 * malloc/malloc.h: Likewise.
9267 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9268 (mallochook, memalignhook, reallochook, mabort): Likewise.
9269 * malloc/mcheck.h: Likewise.
9270 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9271 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9272 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9273 * malloc/morecore.c (__default_morecore): Likewise.
9274 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9275 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9276 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9277 (print_and_abort): Likewise.
9278 * malloc/obstack.h: Likewise.
9279 * malloc/set-freeres.c (__libc_freeres): Likewise.
9280 * malloc/tst-mallocstate.c (main): Likewise.
9281 * malloc/tst-mtrace.c (main): Likewise.
9282 * malloc/tst-realloc.c (do_test): Likewise.
9284 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9287 * nscd/netgroupcache.c (do_notfound): New function.
9288 (addgetnetgrentX): Use it.
9291 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9292 NSS_STATUS_NOTFOUND.
9294 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9296 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9299 2014-01-01 Allan McRae <allan@archlinux.org>
9301 * scripts/update-copyrights: Update configure input file suffix.
9303 * NEWS: Update copyright year.
9304 * catgets/gencat.c: Likewise.
9305 * csu/version.c: Likewise.
9306 * debug/catchsegv.sh: Likewise.
9307 * debug/pcprofiledump.c: Likewise.
9308 * debug/xtrace.sh: Likewise.
9309 * elf/ldconfig.c: Likewise.
9310 * elf/ldd.bash.in: Likewise.
9311 * elf/pldd.c: Likewise.
9312 * elf/sotruss.ksh: Likewise.
9313 * elf/sprof.c: Likewise.
9314 * iconv/iconv_prog.c: Likewise.
9315 * iconv/iconvconfig.c: Likewise.
9316 * locale/programs/locale.c: Likewise.
9317 * locale/programs/localedef.c: Likewise.
9318 * login/programs/pt_chown.c: Likewise.
9319 * malloc/memusage.sh: Likewise.
9320 * malloc/memusagestat.c: Likewise.
9321 * malloc/mtrace.pl: Likewise.
9322 * manual/libc.texinfo: Likewise.
9323 * nscd/nscd.c: Likewise.
9324 * nss/getent.c: Likewise.
9325 * nss/makedb.c: Likewise.
9326 * posix/getconf.c: Likewise.
9327 * scripts/test-installation.pl: Likewise.
9329 * All files with FSF copyright notices: Update copyright dates
9330 using scripts/update-copyrights.
9331 * intl/plural.c: Regenerated.
9332 * locale/programs/charmap-kw.h: Likewise.
9333 * locale/programs/locfile-kw.h: Likewise.
9335 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9337 * sysdeps/unix/sysv/linux/configure: Regenerated.
9338 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9339 the linux/fanotify.h header.
9340 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9341 HAVE_LINUX_FANOTIFY_H is defined.
9343 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9345 * benchtests/cos-inputs: New inputs.
9346 * benchtests/sin-inputs: Likewise.
9348 * benchtests/atan-inputs: New inputs. Fix name of multiple
9349 precision fallback inputs.
9351 * benchtests/atanh-inputs: New inputs.
9352 * benchtests/tanh-inputs: Likewise.
9354 * benchtests/acosh-inputs: New inputs.
9355 * benchtests/asinh-inputs: Likewise.
9357 * benchtests/cosh-inputs: New inputs.
9358 * benchtests/sinh-inputs: Likewise.
9360 * benchtests/acos-inputs: Add more inputs.
9361 * benchtests/asin-inputs: Likewise.
9363 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9366 * manual/arith.texi: Fix spelling.
9367 * manual/charset.texi: Likewise.
9368 * manual/errno.texi: Likewise.
9369 * manual/filesys.texi: Likewise.
9370 * manual/lang.texi: Likewise.
9371 * manual/llio.texi: Likewise.
9372 * manual/locale.texi: Likewise.
9373 * manual/message.texi: Likewise.
9374 * manual/resource.texi: Likewise.
9375 * manual/search.texi: Likewise.
9376 * manual/setjmp.texi: Likewise.
9377 * manual/stdio.texi: Likewise.
9378 * manual/string.texi: Likewise.
9379 * manual/sysinfo.texi: Likewise.
9380 * manual/time.texi: Likewise.
9382 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9384 * po/sl.po: New file.
9386 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9388 * .gitignore: Add core/.gdbinit/.gdb_history.
9390 2013-12-27 Allan McRae <allan@archlinux.org>
9393 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9394 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9396 2013-12-24 Brooks Moses <bmoses@google.com>
9398 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9399 all compilers that claim C++98 compliance, not just GCC.
9400 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9403 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9405 * NEWS: Restore accidentally deleted bug-fix entries.
9407 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9408 Ondřej Bílka <neleai@seznam.cz>
9411 * malloc/malloc.c (_int_free): Perform sanity check only if we
9414 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9417 * manual/stdio.texi (String Input Conversions): Clarify that character
9418 classes are not supported.
9420 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9424 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9427 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9428 Calculate results for small negative arguments directly rather
9429 than using reflection formula with special underflow handling.
9431 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9432 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9433 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9434 (fchflags): Likewise.
9436 (setlogin): Likewise.
9437 (sigaltstack): Likewise.
9440 (sigsetmask): Likewise.
9442 (waitpid): Likewise.
9443 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9444 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9446 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9447 * sysdeps/unix/bsd/Makefile: ... here.
9448 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9449 * sysdeps/unix/bsd/Versions: ... here.
9450 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9451 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9452 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9453 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9454 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9455 * sysdeps/unix/bsd/sigblock.c: ... here.
9456 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9457 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9458 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9459 * sysdeps/unix/bsd/sigvec.c: ... here.
9460 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9461 * sysdeps/unix/bsd/tcdrain.c: ... here.
9462 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9463 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9464 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9465 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9466 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9467 * sysdeps/unix/bsd/wait.c: ... here.
9468 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9469 * sysdeps/unix/bsd/wait3.c: ... here.
9470 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9471 * sysdeps/unix/bsd/waitpid.c: ... here.
9473 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9477 round-to-nearest for [!USE_AS_EXPM1L].
9478 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9479 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9480 more tests of exp and exp10. Expect some exp10 tests to miss
9481 exceptions or fail in directed rounding modes.
9482 * math/auto-libm-test-out: Regenerated.
9483 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9484 (exp10_test_tonearest): New function.
9485 (exp10_towardzero_test_data): New array.
9486 (exp10_test_towardzero): New function.
9487 (exp10_downward_test_data): New array.
9488 (exp10_test_downward): New function.
9489 (exp10_upward_test_data): New array.
9490 (exp10_test_upward): New function.
9491 (main): Call the new functions.
9492 * sysdeps/i386/fpu/libm-test-ulps: Update.
9493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9495 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9497 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9498 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9499 * math/auto-libm-test-out: Regenerated.
9500 * math/libm-test.inc (acosh_test_data): Add more tests.
9501 (atanh_test_data): Likewise.
9502 (ceil_test_data): Likewise.
9503 (copysign_test_data): Likewise.
9504 * sysdeps/i386/fpu/libm-test-ulps: Update.
9505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9507 * timezone/checktab.awk: Update from tzcode 2013i.
9508 * timezone/private.h: Likewise.
9509 * timezone/scheck.c: Likewise.
9510 * timezone/tzfile.h: Likewise.
9511 * timezone/tzselect.ksh: Likewise.
9512 * timezone/zdump.c: Likewise.
9513 * timezone/zic.c: Likewise.
9515 * math/auto-libm-test-in: Add tests of cpow.
9516 * math/auto-libm-test-out: Regenerated.
9517 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9518 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9520 (func_calc_desc): Add mpc_cc_c union field.
9521 (test_functions): Add cpow.
9522 (special_fill_2pi): New function.
9523 (special_real_inputs): Add 2pi.
9524 (calc_generic_results): Handle mpc_cc_c.
9525 * sysdeps/i386/fpu/libm-test-ulps: Update.
9526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9528 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9529 csqrt, ctan and ctanh.
9530 * math/auto-libm-test-out: Regenerated.
9531 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9532 (TEST_COND_x86): Likewise.
9533 (ccos_test_data): Use AUTO_TESTS_c_c.
9534 (ccosh_test_data): Likewise.
9535 (cexp_test_data): Likewise.
9536 (clog_test_data): Likewise.
9537 (csqrt_test_data): Likewise.
9538 (ctan_test_data): Likewise.
9539 (ctan_tonearest_test_data): Likewise.
9540 (ctan_towardzero_test_data): Likewise.
9541 (ctan_downward_test_data): Likewise.
9542 (ctan_upward_test_data): Likewise.
9543 (ctanh_test_data): Likewise.
9544 (ctanh_tonearest_test_data): Likewise.
9545 (ctanh_towardzero_test_data): Likewise.
9546 (ctanh_downward_test_data): Likewise.
9547 (ctanh_upward_test_data): Likewise.
9548 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9550 (func_calc_desc): Add mpc_c_c union field.
9551 (FUNC_mpc_c_c): New macro.
9552 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9553 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9555 (special_fill_min_subnorm_p120): New function.
9556 (special_real_inputs): Add min_subnorm_p120.
9557 (calc_generic_results): Handle mpc_c_c.
9558 * sysdeps/i386/fpu/libm-test-ulps: Update.
9559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9561 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9563 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9564 (do_sin_slow): New functions.
9565 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9566 (cslow2, csloww1, csloww2): Use the new functions.
9568 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9569 Use M to change sign of result instead of X. Assume X is
9571 (csloww1): Likewise.
9575 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9582 (sloww1): Don't adjust sign of DX.
9583 (csloww1): Likewise.
9584 (sloww2): Use X directly and don't adjust sign of DX.
9585 (csloww2): Likewise.
9587 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9589 * math/auto-libm-test-in: Add tests of cabs and carg.
9590 * math/auto-libm-test-out: Regenerated.
9591 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9592 (carg_test_data): Likewise.
9593 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9595 (func_calc_desc): Add mpc_c_f union field.
9596 (test_functions): Add cabs and carg.
9597 (calc_generic_results): Handle mpc_c_f.
9599 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9600 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9601 as a macro and a compat symbol.
9602 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9603 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9604 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9605 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9606 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9607 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9609 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9611 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9613 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9615 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9617 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9619 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9620 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9623 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9627 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9629 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9630 trailing whitespace removed.
9631 * scripts/config.guess: Update to version 2013-11-29.
9632 * scripts/config.sub: Update to version 2013-10-01.
9634 * math/auto-libm-test-in: Add tests of sincos.
9635 * math/auto-libm-test-out: Regenerated.
9636 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9637 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9639 (func_calc_desc): Add mpfr_f_11 union field.
9640 (test_functions): Add sincos.
9641 (calc_generic_results): Handle mpfr_f_11.
9642 * sysdeps/i386/fpu/libm-test-ulps: Update.
9643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9645 2013-12-19 Andreas Schwab <schwab@suse.de>
9647 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9650 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9651 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9653 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9655 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9656 * sysdeps/i386/fpu/libm-test-ulps: Update.
9657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9660 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9661 round-to-nearest mode when using frndint.
9662 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9663 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9664 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9666 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9668 * math/auto-libm-test-out: Regenerated.
9669 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9670 (TEST_COND_x86): Likewise.
9671 (expm1_tonearest_test_data): New array.
9672 (expm1_test_tonearest): New function.
9673 (expm1_towardzero_test_data): New array.
9674 (expm1_test_towardzero): New function.
9675 (expm1_downward_test_data): New array.
9676 (expm1_test_downward): New function.
9677 (expm1_upward_test_data): New array.
9678 (expm1_test_upward): New function.
9679 (main): Run the new test functions.
9680 * sysdeps/i386/fpu/libm-test-ulps: Update.
9681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9683 * include/features.h: Update comment documenting feature test
9684 macros. Mention _DEFAULT_SOURCE in comment.
9685 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9686 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9687 _BSD_SOURCE and _SVID_SOURCE.
9688 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9689 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9690 !_SVID_SOURCE]: Likewise.
9691 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9692 (__USE_POSIX_IMPLICITLY): Define.
9693 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9694 (_POSIX_SOURCE): Undefine and redefine.
9695 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9696 (_POSIX_C_SOURCE): Likewise.
9697 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9698 (Feature Test Macros): Update documentation of default features.
9700 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9702 * benchtests/Makefile: Add bench-strtok.
9703 * benchtests/bench-strtok.c: New file: strtok benchtest.
9705 2013-12-19 Allan McRae <allan@archlinux.org>
9707 * manual/install.texi: Suppress menu for plain text output.
9708 * INSTALL: Regenerated.
9710 2013-12-18 Brooks Moses <bmoses@google.com>
9713 * misc/getauxval.c: Include errno.h.
9714 (__getauxval): Set errno to ENOENT if the requested type is not
9716 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9717 don't declare with __attribute_const__.
9718 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9719 * manual/startup.texi: Document that getauxval sets errno.
9721 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9723 * math/auto-libm-test-in: Add tests of jn and yn.
9724 * math/auto-libm-test-out: Regenerated.
9725 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9726 (yn_test_data): Likewise.
9727 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9729 (func_calc_desc): Add mpfr_if_f union field.
9730 (FUNC_mpfr_if_f): New macro.
9731 (test_functions): Add jn and yn.
9732 (calc_generic_results): Assert type of second input for
9733 mpfr_ff_f. Handle mpfr_if_f.
9734 (output_for_one_input_case): Disable all checking for arguments
9735 fitting floating-point types in case of an integer argument.
9736 * sysdeps/i386/fpu/libm-test-ulps: Update.
9737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9740 Don't expect fegetround reference in libm.so.
9742 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9744 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9745 $(config-cflags-nofma).
9747 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9749 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9750 * math/auto-libm-test-out: Regenerated.
9753 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9754 to determine exponent and adjust argument to have exponent of -1.
9755 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9757 * math/auto-libm-test-out: Regenerated.
9758 * sysdeps/i386/fpu/libm-test-ulps: Update.
9759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9761 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9763 * manual/probes.texi: Remove cases when per-thread arenas are
9766 2013-12-18 Andreas Schwab <schwab@suse.de>
9768 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9769 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9770 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9771 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9772 * sysdeps/i386/i686/multiarch/Makefile: Update.
9773 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9775 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9777 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9778 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9780 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9783 Support TZ transition times < 00:00:00.
9784 This is needed for version-3 tz-format files; it supports time
9785 stamps past 2037 for America/Godthab (the only entry in the tz
9786 database for which this change is relevant).
9787 * manual/time.texi (TZ Variable): Document transition times
9788 from -167:59:59 through -00:00:01.
9789 * time/tzset.c (tz_rule): Time of day is now signed.
9790 (__tzset_parse_tz): Parse negative time of day.
9792 Document TZ transition times >= 25:00:00.
9793 * manual/time.texi (TZ Variable): Document transition times from
9794 25:00:00 through 167:59:59. These are already supported, and this
9795 support will help with version-3 tz-format files.
9797 * manual/time.texi (TZ Variable): Modernize North America example
9798 to reflect current (i.e., 2007-and-later) daylight saving rules.
9800 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9802 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9804 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9805 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9808 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9809 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9810 * sysdeps/unix/bsd/clock.c: Likewise.
9811 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9812 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9813 * sysdeps/unix/bsd/init-posix.c: Likewise.
9814 * sysdeps/unix/bsd/poll.c: Likewise.
9815 * sysdeps/unix/bsd/ptsname.c: Likewise.
9816 * sysdeps/unix/bsd/seekdir.c: Likewise.
9817 * sysdeps/unix/bsd/setegid.c: Likewise.
9818 * sysdeps/unix/bsd/seteuid.c: Likewise.
9819 * sysdeps/unix/bsd/setgid.c: Likewise.
9820 * sysdeps/unix/bsd/setrgid.c: Likewise.
9821 * sysdeps/unix/bsd/setruid.c: Likewise.
9822 * sysdeps/unix/bsd/setsid.c: Likewise.
9823 * sysdeps/unix/bsd/setuid.c: Likewise.
9824 * sysdeps/unix/bsd/sigaction.c: Likewise.
9825 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9826 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9827 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9828 * sysdeps/unix/bsd/telldir.c: Likewise.
9829 * sysdeps/unix/bsd/times.c: Likewise.
9830 * sysdeps/unix/bsd/usleep.c: Likewise.
9832 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9833 ($(objpfx)libbsd-compat.a): Remove rule.
9835 * include/features.h (__FAVOR_BSD): Do not define.
9836 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9837 features conflicting with POSIX.
9838 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9839 (_BSD_SOURCE): Remove description of not being a subset of other
9840 feature test macros.
9841 * manual/job.texi (getpgrp): Do not document BSD version.
9842 (getpgid): Do not document by reference to BSD getpgrp.
9843 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9844 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9845 * signal/signal.h [__FAVOR_BSD]: Likewise.
9846 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9847 instead of making contents conditional on [__FAVOR_BSD].
9848 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9850 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9854 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9857 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9858 values below 2**-450, not 2**-500.
9859 * math/auto-libm-test-in: Don't allow spurious underflow from
9861 * math/auto-libm-test-out: Regenerated.
9865 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9866 values of ha and hb and sort them after adjusting subnormal
9868 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9870 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9871 values of ea and eb and sort them after adjusting subnormal
9873 * math/auto-libm-test-in: Do not expect some hypot tests of
9874 subnormals to fail. Add more hypot tests.
9875 * math/auto-libm-test-out: Regenerated.
9877 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9880 * sysdeps/sh/s_fma.c: New file.
9881 * sysdeps/sh/s_fmaf.c: New file.
9882 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9884 * sysdeps/sh/Implies: Add sh/soft-fp.
9886 2013-12-16 Roland McGrath <roland@hack.frob.com>
9888 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9889 level of indirection to members `objname', `errstring', `malloced'.
9890 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9891 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9892 it as the __longjmp argument (just pass 1 instead).
9893 (_dl_catch_error): Initialize C with argument pointers and address of
9894 volatile local ERRCODE rather than copying values out of C at return.
9896 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9898 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9899 * math/auto-libm-test-out: Regenerated.
9900 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9901 (hypot_test_data): Likewise.
9902 (pow_test_data): Likewise.
9903 (pow_tonearest_test_data): Likewise.
9904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9906 (func_calc_desc): Add mpfr_ff_f union field.
9907 (FUNC_mpfr_ff_f): New macro.
9908 (test_functions): Add atan2, hypot and pow.
9909 (special_fill_min): New function.
9910 (special_fill_minus_min): Likewise.
9911 (special_fill_min_subnorm): Likewise.
9912 (special_fill_minus_min_subnorm): Likewise.
9913 (special_real_inputs): Add min, -min, min_subnorm and
9915 (calc_generic_results): Handle mpfr_ff_f.
9916 * sysdeps/i386/fpu/libm-test-ulps: Update.
9917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9919 2013-12-16 Will Newton <will.newton@linaro.org>
9921 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9922 (Aligned Memory Blocks): Add documentation for aligned_alloc
9923 and suggest it as an alternative to posix_memalign.
9924 (Hooks for Malloc): Document __memalign_hook is also called
9925 for aligned_alloc. (Summary of Malloc): Add summary for
9926 aligned alloc. Document __memalign_hook is also called
9929 2013-12-16 Will Newton <will.newton@linaro.org>
9931 * manual/memory.texi (Malloc Examples): Clarify default
9932 alignment documentation. Suggest posix_memalign rather
9933 than memalign or valloc.
9934 (Aligned Memory Blocks): Remove suggestion to use memalign
9935 or valloc. Remove obsolete comment about BSD.
9936 Document memalign errno values and mark the function obsolete.
9937 Document posix_memalign returned error codes. Mark valloc
9938 as obsolete. (Hooks for Malloc): __memalign_hook is also
9939 called for posix_memalign and valloc.
9940 (Summary of Malloc): Add posix_memalign to function summary.
9941 __memalign_hook is also called for posix_memalign and valloc.
9943 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9945 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9949 (sloww): Use mynumber union. Expand ternary operator into
9951 (cslow): use mynumber union.
9953 2013-12-16 Allan McRae <allan@archlinux.org>
9955 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9956 * configure: Regenerated.
9958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9961 * configure.ac: Added --enable-maintainer-mode. Check for
9962 autoconf when enabled.
9963 * configure: Regenerated.
9965 * nscd/nscd.service: New file.
9966 * nscd/nscd.tmpfiles: New file.
9968 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9971 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9972 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9973 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9974 (strstr): Add __strstr_sse2_unaligned ifunc.
9975 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9976 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9977 (strcasestr): Remove __strcasestr_sse42 ifunc.
9978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9982 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9984 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9985 * sysdeps/sh/bits/fenv.h: ... here.
9986 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9988 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9990 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9993 hypotf multiarch implementations.
9994 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9995 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9996 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9997 multiarch hypot for PPC64.
9998 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9999 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10001 multiarch hypotf for PPC64.
10003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10004 modff multiarch implementations.
10005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10008 multiarch modf for PPC64.
10009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10012 multiarch modff for PPC64.
10014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10015 and logl multiarch implementations.
10016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10019 multiarch logb for PPC64.
10020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10023 multiarch logb for PPC64.
10024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10027 multiarch logb for PPC64.
10029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10030 isinff multiarch implementation.
10031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10035 multiarch isinf for PPC64.
10036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10039 multiarch isinff for PPC64.
10041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10042 finitef multiarch implementation.
10043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10047 multiarch finite for PPC64.
10048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10051 multiarch finitef for PPC64.
10053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10054 lrint multiarch implementation.
10055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10059 multiarch llrint for PPC64.
10060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10061 multiarch lrint for PPC64.
10063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10064 copysignf multiarch implementation.
10065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10070 multiarch copysign for PPC64.
10071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10072 multiarch copysignf for PPC64.
10074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10075 multiarch implementation.
10076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10084 multiarch llround for PPC64.
10085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10086 multiarch trunc for PPC64.
10087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10088 multiarch truncf for PPC64.
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10091 multiarch implementation.
10092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10100 multiarch llround for PPC64.
10101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10102 multiarch round for PPC64.
10103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10104 multiarch roundf for PPC64.
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10107 multiarch implementation.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10116 multiarch llround for PPC64.
10117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10118 multiarch floor for PPC64.
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10120 multiarch floorf for PPC64.
10122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10123 multiarch implementation.
10124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10132 multiarch llround for PPC64.
10133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10134 multiarch ceil for PPC64.
10135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10136 multiarch ceilf for PPC64.
10138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10139 multiarch implementation.
10140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10147 multiarch llround for PPC64.
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10149 multiarch lround for PPC64.
10151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10152 multiarch implementation.
10153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10160 multiarch isnan for PPC64.
10161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10162 multiarch isnanf for PPC64.
10164 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10165 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10166 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10167 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10168 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10171 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10172 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10173 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10177 multiarch implementations.
10178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10179 (__libc_ifunc_impl_list): Likewise.
10180 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10181 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10182 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10183 multiarch stpcpy for PPC64.
10185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10186 multiarch implementations.
10187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10188 (__libc_ifunc_impl_list): Likewise.
10189 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10190 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10191 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10192 multiarch strcpy for PPC64.
10194 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10195 redefine function name.
10196 (_wordcopy_fwd_dest_aligned): Likewise.
10197 (_wordcopy_bwd_aligned): Likewise.
10198 (_wordcopy_bwd_dest_aligned): Likewise.
10199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10200 multiarch implementations.
10201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10202 (__libc_ifunc_impl_list): Likewise.
10203 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10204 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10205 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10206 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10207 multiarch wcscpy for PPC64.
10209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10210 multiarch implementations.
10211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10212 (__libc_ifunc_impl_list): Likewise.
10213 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10214 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10215 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10216 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10217 multiarch wcscpy for PPC64.
10219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10220 multiarch implementations.
10221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10222 (__libc_ifunc_impl_list): Likewise.
10223 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10224 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10225 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10226 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10227 multiarch wcsrchr for PPC64.
10229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10230 multiarch implementations.
10231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10232 (__libc_ifunc_impl_list): Likewise.
10233 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10234 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10235 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10236 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10237 multiarch wcschr for PPC64.
10239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10240 multiarch implementations.
10241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10242 (__libc_ifunc_impl_list): Likewise.
10243 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10244 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10245 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10246 multiarch strchrnul for PPC64.
10248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10251 (__libc_ifunc_impl_list): Likewise.
10252 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10253 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10254 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10255 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10261 (__libc_ifunc_impl_list): Likewise.
10262 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10263 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10264 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10265 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10269 multiarch implementations.
10270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10271 (__libc_ifunc_impl_list): Likewise.
10272 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10273 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10274 strncasecmp for PPC64.
10275 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10276 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10277 multiarch strncasecmp_l for PPC64.
10279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10280 multiarch implementations.
10281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10282 (__libc_ifunc_impl_list): Likewise.
10283 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10284 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10285 multiarch strcasecmp for PPC64.
10286 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10288 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10289 multiarch strcasecmp_l for PPC64.
10291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10294 (__libc_ifunc_impl_list): Likewise.
10295 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10296 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10297 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10303 (__libc_ifunc_impl_list): Likewise.
10304 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10305 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10306 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10312 (__libc_ifunc_impl_list): Likewise.
10313 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10314 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10315 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10316 rawmemrchr for PPC64.
10318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10321 (__libc_ifunc_impl_list): Likewise.
10322 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10323 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10324 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10330 (__libc_ifunc_impl_list): Likewise.
10331 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10332 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10333 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10339 (__libc_ifunc_impl_list): Likewise.
10340 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10341 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10342 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10345 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10346 avoid cretion of __bzero symbol.
10347 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10349 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10351 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10354 multiarch implementations.
10355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10356 (__libc_ifunc_impl_list): Likewise.
10357 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10358 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10359 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10360 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10362 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10363 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10364 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10365 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10366 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10368 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10370 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10374 (__libc_ifunc_impl_list): Likewise.
10375 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10376 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10377 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10378 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10382 multiarch for POWER/PPC64.
10383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10384 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10385 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10386 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10388 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10389 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10390 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10391 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10394 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10395 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10396 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10397 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10398 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10399 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10400 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10401 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10402 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10403 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10404 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10405 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10406 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10407 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10408 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10417 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10419 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10421 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10423 * benchtests/Makefile (bench): Add exp2 and log2.
10424 (LDLIBS-bench-exp2): Add -lm.
10425 (LDLIBS-bench-log2): Likewise.
10426 * benchtests/exp2-inputs: New inputs file.
10427 * benchtests/log2-inputs: New inputs file.
10428 * benchtests/log-inputs: Add new inputs.
10429 * benchtests/tan-inputs: Likewise.
10431 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10433 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10435 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10436 (csloww2): ... from here.
10438 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10439 instead of structures.
10440 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10441 (POLYNOMIAL): Likewise.
10442 (TAYLOR_SLOW): Likewise.
10448 (sloww1); Likewise.
10449 (sloww2): Likewise.
10450 (bsloww1): Likewise.
10451 (bsloww2): Likewise.
10452 (cslow2): Likewise.
10453 (csloww): Likewise.
10454 (csloww1): Likewise.
10455 (csloww2): Likewise.
10457 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10459 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10460 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10461 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10462 * malloc/hooks.c (realloc_check): Likewise.
10464 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10465 * malloc/arena.c: Remove PER_THREAD conditional.
10466 [!PER_THREAD]: Remove code.
10467 (ptmalloc_unlock_all2): Likewise.
10468 (ptmalloc_init): Likewise.
10469 (_int_new_arena): Likewise.
10470 (arena_get2): Likewise.
10471 * malloc/hooks.c (__malloc_get_state): Likewise.
10472 (__malloc_set_state): Likewise.
10473 * malloc/malloc.c: Likewise.
10474 (struct malloc_state): Likewise.
10475 (struct malloc_par): Likewise.
10476 (__libc_realloc): Likewise.
10477 (__libc_mallopt): Likewise.
10479 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10481 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10483 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10485 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10486 macro to a function. Check for zero perturb_byte.
10487 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10489 * malloc/malloc.c: (force_reg): Remove.
10490 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10491 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10492 force_reg by atomic_forced_read.
10493 * malloc/arena.c (ptmalloc_init): Likewise.
10494 * malloc/hooks.c (top_check): Likewise.
10496 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10500 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10504 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10506 * math/auto-libm-test-in: Add tests of lgamma.
10507 * math/auto-libm-test-out: Regenerated.
10508 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10509 (M_LOG_2_SQRT_PIl): Likewise.
10510 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10511 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10513 (func_calc_desc): Add mpfr_f_f1 union field.
10514 (ARGS1): New macro.
10522 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10523 (test_functions): Add lgamma.
10524 (calc_generic_results): Handle mpfr_f_f1.
10525 * sysdeps/i386/fpu/libm-test-ulps: Update.
10526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10528 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10530 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10531 __mpn_add_n for PowerPC64/POWER7.
10532 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10533 __mpn_sub_n for PowerPC64/POWER7.
10535 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10536 __mpn_addmul_1 for PowerPC64.
10537 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10538 __mpn_submul_1 for PowerPC64.
10539 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10541 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10544 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10547 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10549 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10551 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10553 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10554 add multiarch folders.
10555 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10556 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10557 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10558 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10559 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10560 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10561 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10562 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10563 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10564 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10565 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10574 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10580 multiarch __ieee754_hypot for PowerPC32.
10581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10586 multiarch __ieee754_hypotf for PowerPC32.
10588 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10589 long_double_symbol only if __logbl is defined.
10590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10591 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10593 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10595 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10597 path for implementation.
10598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10599 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10601 logb, and logbl multiarch implementations for PowerPC32.
10602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10607 multiarch logb for PowerPC32.
10608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10613 multiarch logbf for PowerPC32.
10614 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10618 multiarch logbl implementation for PowerPC32.
10620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10621 and modff multiarch implementations.
10622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10627 multiarch modf for PowerPC32.
10628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10633 multiarch modff for PowerPC32.
10635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10636 and lrintf multiarch implementations.
10637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10642 multiarch lrint for PowerPC32.
10643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10644 file: multiarch lrintf for PowerPC32.
10646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10647 and lroundf multiarch implementations.
10648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10655 multiarch lround for PowerPC32.
10656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10657 file: multiarch lroundf for PowerPC32.
10659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10660 copysign and copysignf multiarch implementations.
10661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10666 file: multiarch copysign for PowerPC32.
10667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10668 file: multiarch copysignf for PowerPC32.
10670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10671 and truncf multiarch implementations.
10672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10677 multiarch trunc for PowerPC32.
10678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10683 multiarch truncf for PowerPC32.
10685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10686 and roundf multiarch implementations.
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10692 multiarch round for PowerPC32.
10693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10698 multiarch roundf for PowerPC32.
10700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10701 and floorf multiarch implementations.
10702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10707 multiarch floor for PowerPC32.
10708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10713 multiarch floorf for PowerPC32.
10715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10716 and ceilf multiarch implementations.
10717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10722 multiarch ceil for PowerPC32.
10723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10728 multiarch ceilf for PowerPC32.
10730 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10732 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10733 FINITEF is defined.
10734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10735 and finitef multiarch implementations.
10736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10741 multiarch finite for PowerPC32.
10742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10745 file: multiarch finitef for PowerPC32.
10747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10748 and isinff multiarch implementations.
10749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10754 multiarch isinf for PowerPC32.
10755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10758 multiarch isinff for PowerPC32.
10760 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10761 alias when __isnan is defined.
10762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10763 and isnanf multiarch implementations.
10764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10773 multiarch isnan for PowerPC32.
10774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10779 multiarch isnanf for PowerPC32.
10781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10782 and sqrtf multiarch implementations.
10783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10788 multiarch sqrt for PowerPC32.
10789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10794 multiarch sqrtf for PowerPC32.
10796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10797 and llroundf multiarch implementations.
10798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10805 file: multiarch llround for PowerPC32.
10806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10807 file: multiarch llroundf for PowerPC32.
10809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10810 multiarch PowerPC32 fpu implementations.
10811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10816 multiarch llrint for PowerPC32.
10817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10826 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10828 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10830 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10832 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10833 multiarch wordcopy for PPC32.
10834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10837 (__libc_ifunc_impl_list): Likewise.
10838 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10839 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10840 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10841 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10842 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10843 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10845 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10853 multiarch wcscpy for PPC32.
10854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10857 (__libc_ifunc_impl_list): Likewise.
10858 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10859 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10860 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10861 sysdeps/powerpc/power6/wcscpy.c.
10863 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10866 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10870 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10871 multiarch wcsrchr for PPC32.
10872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10875 (__libc_ifunc_impl_list): Likewise.
10876 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10877 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10878 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10879 sysdeps/powerpc/power6/wcsrchr.c.
10881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10883 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10885 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10887 multiarch wcschr for PPc32.
10888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10891 (__libc_ifunc_impl_list): Likewise.
10892 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10893 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10894 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10895 sysdeps/powerpc/power6/wcschr.c.
10897 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10898 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10900 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10901 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10902 file: multiarch strchr for PPC32.
10903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10906 (__libc_ifunc_impl_list): Likewise.
10908 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10910 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10912 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10914 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10915 multiarch strchrnul for PPC32.
10916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10919 (__libc_ifunc_impl_list): Likewise.
10921 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10923 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10924 multiarch strncasecmp for PPC32.
10925 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10927 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10928 multiarch strncasecmp_l for PPC32.
10929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10930 strncasecmp multiarch objects.
10931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10932 (__libc_ifunc_impl_list): Likewise.
10934 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10936 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10937 multiarch strncasecmp for PPC32.
10938 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10940 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10941 multiarch strcasecmp_l for PPC32.
10942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10945 (__libc_ifunc_impl_list): Likewise.
10947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10949 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10951 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10952 multiarch strncmp for PPC32.
10953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10956 (__libc_ifunc_impl_list): Likewise.
10958 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10959 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10961 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10962 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10966 (__libc_ifunc_impl_list): Likewise.
10968 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10970 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10972 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10976 (__libc_ifunc_impl_list): Likewise.
10978 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10980 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10982 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10983 multiarch rawmemchr for PPC32.
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10987 (__libc_ifunc_impl_list): Likewise.
10989 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10991 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10994 file: memrchr multiarch for PPC32.
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10998 (__libc_ifunc_impl_list): Likewise.
11000 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11001 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11003 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11004 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11005 multiarch memchr for PPC32.
11006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11009 (__libc_ifunc_impl_list): Likewise.
11011 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11014 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11016 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11017 file: multiarch mempcpy for PPC32.
11018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11021 (__libc_ifunc_impl_list): Likewise.
11023 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11024 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11025 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11027 multiarch bzero for PPC32.
11028 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11030 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11032 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11033 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11034 file: multiarch memset for PPC32.
11035 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11037 memset multiarch objects.
11038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11039 (__libc_ifunc_impl_list): Likewise.
11041 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11050 (__libc_ifunc_impl_list): Likewise.
11052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11054 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11056 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11058 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11060 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11061 multiarch memcpy for PPC32.
11062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11065 (__libc_ifunc_impl_list): Likewise.
11067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11068 support multiarch for POWER/PPC32.
11069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11071 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11073 Implies file to make multiarch folder appers before the fpu and
11074 default folder for power4 configuration.
11076 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11078 * scripts/bench.pl: Append volatile keyword to type.
11080 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11082 * sysdeps/sh/sotruss-lib.c: New file.
11083 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11085 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11089 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11092 * math/w_tgamma.c: Include <errno.h>.
11093 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11094 * math/w_tgammaf.c: Include <errno.h>.
11095 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11096 * math/w_tgammal.c: Include <errno.h>.
11097 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11098 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11099 underflow. Add more tgamma tests.
11100 * math/auto-libm-test-out: Regenerated.
11101 * sysdeps/i386/fpu/libm-test-ulps: Update.
11102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11104 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11105 sin, sinh, tan, tanh, tgamma, y0 and y1.
11106 * math/auto-libm-test-out: Regenerated.
11107 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11108 (TEST_COND_x86): Likewise.
11109 (M_E2l): Remove macro.
11111 (M_2_SQRT_PIl): Likewise.
11112 (M_SQRT_PIl): Likewise.
11113 (M_1_DIV_El): Likewise.
11114 (log_test_data): Use AUTO_TESTS_f_f.
11115 (log10_test_data): Likewise.
11116 (log1p_test_data): Likewise.
11117 (log2_test_data): Likewise.
11118 (sin_test_data): Likewise.
11119 (sin_tonearest_test_data): Likewise.
11120 (sin_towardzero_test_data): Likewise.
11121 (sin_downward_test_data): Likewise.
11122 (sin_upward_test_data): Likewise.
11123 (sinh_test_data): Likewise.
11124 (sinh_tonearest_test_data): Likewise.
11125 (sinh_towardzero_test_data): Likewise.
11126 (sinh_downward_test_data): Likewise.
11127 (sinh_upward_test_data): Likewise.
11128 (tan_test_data): Likewise.
11129 (tan_tonearest_test_data): Likewise.
11130 (tan_towardzero_test_data): Likewise.
11131 (tan_downward_test_data): Likewise.
11132 (tan_upward_test_data): Likewise.
11133 (tanh_test_data): Likewise.
11134 (tgamma_test_data): Likewise.
11135 (y0_test_data): Likewise.
11136 (y1_test_data): Likewise.
11137 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11138 (special_real_inputs): Add pi/4.
11139 * sysdeps/i386/fpu/libm-test-ulps: Update.
11140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11142 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11144 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11145 "longjmp_target" static probes.
11146 (__longjmp): Rename to __longjmp_symbol.
11147 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11148 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11149 on which longjmp to generate.
11150 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11151 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11153 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11154 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11155 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11156 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11157 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11158 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11160 __longjmp_symbol based on which __longjmp to generate.
11161 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11163 (setjmp): Rename to setjmp_symbol.
11164 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11165 (_setjmp): Rename to _setjmp_symbol.
11166 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11167 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11168 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11169 which setjmp to generate.
11170 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11171 "longjmp_target" static probes.
11173 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11175 * benchtests/README: Add note about output arguments.
11176 * benchtests/bench-sincos.c: Remove file.
11177 * benchtests/sincos-inputs: New file.
11178 * scripts/bench.pl: Identify output arguments and define
11179 static variables for them.
11181 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11184 * Makefile (INSTALL): Add install-plain.texi as the primary
11186 * manual/install-plain.texi: New file.
11187 * manual/install.texi: Include node directive only for
11188 non-plaintext output.
11190 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11192 * stdlib/longlong.h: Update from GCC.
11196 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11197 * math/w_j0f.c (y0f): Likewise.
11198 * math/w_j0l.c (__y0l): Likewise.
11199 * math/w_j1.c (y1): Likewise.
11200 * math/w_j1f.c (y1f): Likewise.
11201 * math/w_j1l.c (__y1l): Likewise
11202 * math/w_jn.c (yn): Likewise.
11203 * math/w_jnf.c (ynf): Likewise.
11204 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11205 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11206 value for Bessel function domain errors outside _SVID_ mode.
11207 Adjust sign of return value for yn (negative integer, 0).
11208 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11209 by zero in return for negative x and set sign appropriately for
11211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11212 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11213 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11214 expectations in error cases.
11215 (y1_test_data): Likewise.
11216 (yn_test_data): Likewise.
11217 * sysdeps/i386/fpu/libm-test-ulps: Update.
11218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11220 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11222 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11223 "64" to "64-v1". Add "64-v2".
11224 (abi-64-options): Rename to ...
11225 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11226 (abi-64-condition): Rename to ...
11227 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11228 (abi-64-ld-soname): Rename to ...
11229 (abi-64-v1-ld-soname): ... this.
11230 (abi-64-v2-options): Define.
11231 (abi-64-v2-condition): Likewise.
11232 (abi-64-v2-ld-soname): Likewise.
11233 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11234 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11239 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11240 Alan Modra <amodra@gmail.com>
11242 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11243 New versions for use with the ELFv2 ABI.
11244 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11245 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11247 (struct La_ppc64v2_retval): Likewise.
11248 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11249 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11250 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11251 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11252 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11253 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11254 Do not save or restore CR.
11255 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11256 (_dl_profile_resolve): Do no save or restore CR. Support extended
11257 return values for ELFv2 ABI. Fix location of FPR return registers.
11258 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11259 updated values for _CALL_ELF == 2.
11260 (La_regs, La_retval, int_retval): Likewise.
11262 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11264 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11265 (FRAME_MIN_SIZE_PARM): Likewise.
11266 (FRAME_BACKCHAIN): Likewise.
11267 (FRAME_CR_SAVE): Likewise.
11268 (FRAME_LR_SAVE): Likewise.
11269 (FRAME_TOC_SAVE): Likewise.
11270 (FRAME_PARM_SAVE): Likewise.
11271 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11272 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11273 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11274 (call_mcount_parm_offset): New macro.
11275 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11276 (PROF): Use symbolic stack frame offsets.
11277 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11278 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11279 Redefine in terms of FRAME_MIN_SIZE.
11280 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11281 (_dl_profile_resolve): Likewise. Update comment.
11282 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11283 symbols stack frame offsets.
11284 (__sigsetjmp): Likewise.
11285 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11286 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11287 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11288 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11291 (FRAME_BACKCHAIN): Remove.
11292 (FRAME_CR_SAVE): Likewise.
11293 (FRAME_LR_SAVE): Likewise.
11294 (FRAME_COMPILER_DW): Likewise.
11295 (FRAME_LINKER_DW): Likewise.
11296 (FRAME_TOC_SAVE): Likewise.
11297 (FRAME_PARM_SAVE): Likewise.
11298 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11299 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11300 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11302 (CHECK_SP): Use symbolic stack frame offsets.
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11304 zone" instead of caller's parameter save area for temp storage.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11306 Likewise. Also, use symbolic stack frame offsets.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11308 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11309 our own stack frame instead of the caller's.
11310 (__socket): Use symbolic stack frame offsets.
11312 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11313 Alan Modra <amodra@gmail.com>
11315 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11317 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11318 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11319 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11321 (elf_machine_fixup_plt): Call it.
11322 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11324 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11325 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11326 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11327 r2 before calling target.
11329 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11330 Alan Modra <amodra@gmail.com>
11332 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11333 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11334 versions of macros to support ELFv2 ABI.
11335 (LOCALENTRY): New macro.
11336 (ENTRY, EALIGN): Use it.
11337 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11338 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11339 fall through into ENTRY entry point.
11340 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11341 Only define if _CALL_ELF != 2.
11343 (elf_machine_matches_host): Verify ABI version matches.
11344 (RTLD_START): Use LOCALENTRY.
11345 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11346 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11347 (PLT_ENTRY_WORDS): New macro.
11348 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11349 (elf_machine_runtime_setup): Support ELFv2 ABI.
11350 (elf_machine_fixup_plt): Likewise.
11351 (elf_machine_plt_conflict): Likewise.
11352 (resolve_ifunc): Likewise.
11353 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11357 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11359 (makecontext): Support ELFv2 ABI.
11360 * elf/elf.h (EF_PPC64_ABI): Define.
11362 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11364 * sysdeps/powerpc/powerpc64/sysdep.h
11365 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11366 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11367 (ENTRY) [ASSEMBLER]: ... but instead here ...
11368 (EALIGN) [ASSEMBLER]: ... and here.
11369 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11370 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11371 (ENTRY_2) [!ASSEMBLER]: Use it.
11372 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11373 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11374 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11375 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11376 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11378 Use PPC64_LOAD_FUNCPTR.
11380 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11382 2013-12-04 Alan Modra <amodra@gmail.com>
11384 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11385 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11386 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11387 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11390 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11391 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11392 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11393 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11394 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11396 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11399 (__makecontext): Fix incorrect CFI when backtracing out of
11400 context created via makecontext.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11402 (__setcontext): Fix incorrect CFI during switch to new context.
11403 (__novec_setcontext): Likewise.
11405 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11408 * time/strptime_l.c (__strptime_internal): Allow modifiers
11410 * time/tst-strptime.c (day_tests): Add testcase.
11412 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11414 * scripts/bench.pl: Skip over blank lines.
11416 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11419 * manual/time.texi (Calendar Time): Clarify what timezone functions
11422 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11426 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11428 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11430 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11431 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11432 * debug/memset_chk.c (__memset_chk): Likewise.
11433 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11434 * debug/strncpy_chk.c: Likewise.
11436 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11440 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11441 (__ieee754_exp): For possibly underflowing results, check size of
11442 result and force underflow exception if required.
11443 * math/auto-libm-test-in: Add more tests of exp.
11444 * math/auto-libm-test-out: Regenerated.
11445 * sysdeps/i386/fpu/libm-test-ulps: Update.
11446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11449 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11450 * math/w_exp2f.c (__exp2f): Likewise.
11451 * math/w_exp2l.c (__exp2l): Likewise.
11452 * math/auto-libm-test-in: Do not allow missing errno on exp2
11454 * math/auto-libm-test-out: Regenerated.
11456 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11459 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11460 handle filename validation.
11461 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11464 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11467 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11468 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11469 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11471 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11472 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11473 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11474 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11475 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11476 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11477 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11478 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11479 Add more erfc tests.
11480 * math/auto-libm-test-out: Regenerated.
11481 * sysdeps/i386/fpu/libm-test-ulps: Update.
11482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11484 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11485 exp2, expm1, j0 and j1.
11486 * math/auto-libm-test-out: Regenerated.
11487 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11488 (erfc_test_data): Likewise.
11489 (exp_test_data): Likewise.
11490 (exp_tonearest_test_data): Likewise.
11491 (exp_towardzero_test_data): Likewise.
11492 (exp_downward_test_data): Likewise.
11493 (exp_upward_test_data): Likewise.
11494 (exp10_test_data): Likewise.
11495 (exp2_test_data): Likewise.
11496 (expm1_test_data): Likewise.
11497 (j0_test_data): Likewise.
11498 (j1_test_data): Likewise.
11499 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11500 (input_flag_type): Add flag_xfail_rounding.
11501 (input_flags): Add xfail-rounding.
11502 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11503 (output_for_one_input_case): Handle flag_xfail_rounding.
11504 * sysdeps/i386/fpu/libm-test-ulps: Update.
11505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11507 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11510 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11513 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11516 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11517 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11518 (STAP_PROBE0): New macro.
11519 (STAP_PROBE1): Likewise.
11520 (STAP_PROBE2): Likewise.
11521 (STAP_PROBE3): Likewise.
11522 (STAP_PROBE4): Likewise.
11524 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11526 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11528 2013-12-02 Steve Ellcey <sellcey@mips.com>
11530 * benchtests/Makefile (bench): Add sqrt.
11531 (LDLIBS-bench-sqrt): New.
11532 * benchtests/sqrt-input: New.
11534 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11536 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11537 (GAIH_EAI): Likewise.
11538 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11539 (gaih_inet): Likewise.
11540 (getaddrinfo): Don't use GAIH_EAI.
11542 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11543 (struct gaih): Remove definition.
11545 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11547 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11548 Use HERRNOP directly.
11550 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11554 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11556 * math/gen-auto-libm-tests.c (test_functions): Add more
11557 single-argument functions.
11558 (special_fill_pi_2): New function.
11559 (special_fill_minus_pi_2): Likewise.
11560 (special_fill_pi_6): Likewise.
11561 (special_fill_minus_pi_6): Likewise.
11562 (special_fill_pi_3): Likewise.
11563 (special_fill_2pi_3): Likewise.
11564 (special_fill_e): Likewise.
11565 (special_fill_1_e): Likewise.
11566 (special_fill_e_minus_1): Likewise.
11567 (special_real_inputs): Add more special inputs.
11568 (output_for_one_input_case): Do not require ERANGE on underflow to
11569 zero if round-to-nearest result does not underflow to zero, unless
11570 exact results required.
11571 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11572 atan, atanh, cbrt, cos and cosh.
11573 * math/auto-libm-test-out: Regenerated.
11574 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11575 (acos_tonearest_test_data): Likewise.
11576 (acos_towardzero_test_data): Likewise.
11577 (acos_downward_test_data): Likewise.
11578 (acos_upward_test_data): Likewise.
11579 (acosh_test_data): Likewise.
11580 (asin_test_data): Likewise.
11581 (asin_tonearest_test_data): Likewise.
11582 (asin_towardzero_test_data): Likewise.
11583 (asin_upward_test_data): Likewise.
11584 (asinh_test_data): Likewise.
11585 (atan_test_data): Likewise.
11586 (atanh_test_data): Likewise.
11587 (cbrt_test_data): Likewise.
11588 (cos_test_data): Likewise.
11589 (cos_tonearest_test_data): Likewise.
11590 (cos_towardzero_test_data): Likewise.
11591 (cos_downward_test_data): Likewise.
11592 (cos_upward_test_data): Likewise.
11593 (cosh_test_data): Likewise.
11594 (cosh_tonearest_test_data): Likewise.
11595 (cosh_towardzero_test_data): Likewise.
11596 (cosh_downward_test_data): Likewise.
11597 (cosh_upward_test_data): Likewise.
11598 * sysdeps/i386/fpu/libm-test-ulps: Update.
11599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11601 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11604 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11605 * math/w_exp10f.c (__exp10f): Likewise.
11606 * math/w_exp10l.c (__exp10l): Likewise.
11607 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11608 errno settings in existing tests.
11611 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11612 precision control set to double precision.
11613 * sysdeps/i386/fpu/w_sqrt.c: New file.
11614 * math/auto-libm-test-in: Add more tests.
11615 * math/auto-libm-test-out: Update.
11617 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11618 (sqrt_test_tonearest): New function.
11619 (sqrt_towardzero_test_data): New variable.
11620 (sqrt_test_towardzero): New function.
11621 (sqrt_downward_test_data): New variable.
11622 (sqrt_test_downward): New function.
11623 (sqrt_upward_test_data): New variable.
11624 (sqrt_test_upward): New function.
11625 (main): Call the new functions.
11627 * math/gen-auto-libm-tests.c: New file.
11628 * math/auto-libm-test-in: Likewise.
11629 * math/auto-libm-test-out: New generated file.
11630 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11632 (%beautify): Add generated representations of zero.
11633 (top level): Set $auto_input and call parse_auto_input.
11634 (beautify): Remove trailing "f" from hex float constants.
11635 (parse_args): Handle XFAIL_TEST.
11636 (convert_condition): New function.
11637 (or_value): Likewise.
11638 (or_cond_value): Likewise.
11639 (generate_testfile): Handle AUTO_TESTS_* lines.
11640 (parse_auto_input): New function.
11641 * math/libm-test.inc (XFAIL_TEST): New macro.
11642 (ERRNO_UNCHANGED): Update value.
11643 (ERRNO_EDOM): Likewise.
11644 (ERRNO_ERANGE): Likewise.
11645 (IGNORE_RESULT): Likewise.
11646 (TEST_COND_flt_32): New macro.
11647 (TEST_COND_dbl_64): Likewise.
11648 (TEST_COND_ldbl_96_intel): Likewise.
11649 (TEST_COND_ldbl_96_m68k): Likewise.
11650 (TEST_COND_ldbl_128): Likewise.
11651 (TEST_COND_ldbl_128ibm): Likewise.
11652 (TEST_COND_long32): Likewise.
11653 (TEST_COND_long64): Likewise.
11654 (TEST_COND_before_rounding): Likewise.
11655 (TEST_COND_after_rounding): Likewise.
11656 (enable_test): Handle XFAIL_TEST flag.
11657 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11658 with finite results.
11659 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11660 auto-libm-test-out.
11662 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11663 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11666 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11667 __tls_get_addr_internal instead of __tls_get_offset in order to
11668 avoid GOT pointer dependency. Make rtld export
11669 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11670 __tls_get_addr since we are a __tls_get_offset platform.
11671 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11672 GOT pointer being set up before.
11673 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11675 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11677 * manual/math.texi (Errors in Math Functions): Document accuracy
11681 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11682 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11685 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11687 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11698 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11699 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11700 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11701 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11702 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11704 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11706 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11708 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11709 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11710 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11711 atomic-feupdateenv and flt-rounds.
11712 * sysdeps/powerpc/nofpu/Versions (libc): Add
11713 __atomic_feholdexcept, __atomic_feclearexcept,
11714 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11715 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11716 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11717 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11718 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11723 * manual/arith.texi (FP Exceptions): Document that exceptions may
11724 not be raised when matherr is used.
11725 (Math Error Reporting): Document overflow in directed rounding
11726 modes. Document that errno may not be set when finite values are
11727 returned on overflow. Document intent to set errno on underflow
11728 only for underflow to zero.
11731 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11732 round-to-nearest then adjust result for other rounding modes.
11733 * include/fenv.h (fegetround): Use libm_hidden_proto.
11734 * math/fegetround.c (fegetround): Use libm_hidden_def.
11735 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11736 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11737 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11738 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11740 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11741 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11742 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11743 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11745 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11748 * nss/Versions (libnss_files): Add
11749 _nss_files_gethostbyname3_r.
11750 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11752 (HOST_DB_LOOKUP): Remove macro.
11753 (_nss_files_gethostbyname_r): Implement function without the
11754 HOST_DB_LOOKUP macro.
11755 (_nss_files_gethostbyname2_r): Likewise.
11757 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11759 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11761 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11763 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11764 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11767 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11770 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11771 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11772 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11773 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11774 __fe_nomask_env_priv and attribute_hidden.
11775 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11776 (libc_feupdateenv_test_ppc): Likewise.
11777 (libc_feresetround_ppc): Likewise.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11779 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11780 compat_symbol macro.
11781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11782 (__fe_nomask_env): Likewise.
11783 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11785 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11787 * string/Makefile: Remove ifunc tests.
11788 * string/test-string.h: Define TEST_IFUNC.
11789 * string/test-bcopy-ifunc.c: Remove.
11790 * string/test-bzero-ifunc.c: Likewise.
11791 * string/test-memccpy-ifunc.c: Likewise.
11792 * string/test-memchr-ifunc.c: Likewise.
11793 * string/test-memcmp-ifunc.c: Likewise.
11794 * string/test-memcpy-ifunc.c: Likewise.
11795 * string/test-memmem-ifunc.c: Likewise.
11796 * string/test-memmove-ifunc.c: Likewise.
11797 * string/test-mempcpy-ifunc.c: Likewise.
11798 * string/test-memrchr-ifunc.c: Likewise.
11799 * string/test-memset-ifunc.c: Likewise.
11800 * string/test-rawmemchr-ifunc.c: Likewise.
11801 * string/test-stpcpy-ifunc.c: Likewise.
11802 * string/test-stpncpy-ifunc.c: Likewise.
11803 * string/test-strcasecmp-ifunc.c: Likewise.
11804 * string/test-strcasestr-ifunc.c: Likewise.
11805 * string/test-strcat-ifunc.c: Likewise.
11806 * string/test-strchr-ifunc.c: Likewise.
11807 * string/test-strchrnul-ifunc.c: Likewise.
11808 * string/test-strcmp-ifunc.c: Likewise.
11809 * string/test-strcpy-ifunc.c: Likewise.
11810 * string/test-strcspn-ifunc.c: Likewise.
11811 * string/test-strlen-ifunc.c: Likewise.
11812 * string/test-strncasecmp-ifunc.c: Likewise.
11813 * string/test-strncat-ifunc.c: Likewise.
11814 * string/test-strncmp-ifunc.c: Likewise.
11815 * string/test-strncpy-ifunc.c: Likewise.
11816 * string/test-strnlen-ifunc.c: Likewise.
11817 * string/test-strpbrk-ifunc.c: Likewise.
11818 * string/test-strrchr-ifunc.c: Likewise.
11819 * string/test-strspn-ifunc.c: Likewise.
11820 * string/test-strstr-ifunc.c: Likewise.
11822 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11824 * benchtests/Makefile: Remove ifunc tests.
11825 * benchtests/bench-string.h: Define TEST_IFUNC.
11826 * benchtests/bench-bcopy-ifunc.c: Remove.
11827 * benchtests/bench-bzero-ifunc.c: Likewise.
11828 * benchtests/bench-memccpy-ifunc.c: Likewise.
11829 * benchtests/bench-memchr-ifunc.c: Likewise.
11830 * benchtests/bench-memcmp-ifunc.c: Likewise.
11831 * benchtests/bench-memcpy-ifunc.c: Likewise.
11832 * benchtests/bench-memmem-ifunc.c: Likewise.
11833 * benchtests/bench-memmove-ifunc.c: Likewise.
11834 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11835 * benchtests/bench-memrchr-ifunc.c: Likewise.
11836 * benchtests/bench-memset-ifunc.c: Likewise.
11837 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11838 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11839 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11840 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11841 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11842 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11843 * benchtests/bench-strcat-ifunc.c: Likewise.
11844 * benchtests/bench-strchr-ifunc.c: Likewise.
11845 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11846 * benchtests/bench-strcmp-ifunc.c: Likewise.
11847 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11848 * benchtests/bench-strcpy-ifunc.c: Likewise.
11849 * benchtests/bench-strcspn-ifunc.c: Likewise.
11850 * benchtests/bench-strlen-ifunc.c: Likewise.
11851 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11852 * benchtests/bench-strncat-ifunc.c: Likewise.
11853 * benchtests/bench-strncmp-ifunc.c: Likewise.
11854 * benchtests/bench-strncpy-ifunc.c: Likewise.
11855 * benchtests/bench-strnlen-ifunc.c: Likewise.
11856 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11857 * benchtests/bench-strrchr-ifunc.c: Likewise.
11858 * benchtests/bench-strsep-ifunc.c: Likewise.
11859 * benchtests/bench-strspn-ifunc.c: Likewise.
11860 * benchtests/bench-strstr-ifunc.c: Likewise.
11862 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11864 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11866 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11868 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11869 * rt/aio.h: Likewise.
11870 * sysdeps/gnu/bits/utmp.h: Likewise.
11871 * sysdeps/gnu/bits/utmpx.h: Likewise.
11872 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11873 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11874 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11875 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11876 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11877 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11878 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11879 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11880 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11881 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11882 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11883 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11884 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11886 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11887 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11888 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11889 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11890 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11891 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11892 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11893 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11894 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11895 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11896 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11898 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11899 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11900 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11901 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11902 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11903 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11905 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11906 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11907 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11908 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11909 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11910 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11911 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11912 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11913 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11915 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11918 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11919 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11921 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11923 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11924 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11927 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11929 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11930 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11931 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11932 (__fesetround): Remove define.
11933 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11934 rounding and exceptions handling.
11935 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11936 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11937 (__fe_nomask_env): Likewise.
11938 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11939 __fegetround instead of fegetround.
11940 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11941 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11943 2013-11-21 Roland McGrath <roland@hack.frob.com>
11945 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11948 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11950 2013-11-21 Meador Inge <meadori@codesourcery.com>
11953 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11954 (encrypt_r): Likewise.
11955 * malloc/obstack.h (obstack_free): Likewise.
11956 * posix/unistd.h (encrypt): Likewise.
11958 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11960 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11961 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11962 DL_CALL_DT_FINI() that call the functions directly.
11963 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11964 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11965 * elf/dl-fini.c: Likewise.
11967 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11969 * malloc/hooks.c (memalign_check): Add alignment rounding.
11970 * malloc/malloc.c (_mid_memalign): New function.
11971 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11972 Implement by calling _mid_memalign.
11973 * manual/probes.texi (Memory Allocation Probes): Remove
11974 memory_valloc_retry and memory_pvalloc_retry.
11976 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11978 * locale/programs/locarchive.c (open_archive): Add const
11979 qualifier to ARCHIVEFNAME and copy default fname to
11983 * libio/tst-widetext.input: Rename Oriya to Odia.
11984 * locale/iso-639.def: Likewise.
11986 * manual/probes.texi (Mathematical Function Probes): Add
11987 documentation for sin, cos, asin and acos probes.
11988 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11989 (__sin32): Add slowasin probe.
11990 (__cos32): Add slowacos probe.
11991 (__mpsin): Add slowsin probe.
11992 (__mpcos): Add slowcos probe.
11994 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11997 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11998 thread-local __sim_exceptions_thread and global
11999 __sim_exceptions_global.
12000 (__sim_disabled_exceptions): Change to thread-local
12001 __sim_disabled_exceptions_thread and global
12002 __sim_disabled_exceptions_global.
12003 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12004 and global __sim_round_mode_global.
12005 (__simulate_exceptions): Use thread-local floating-point state and
12006 set global state from it as needed.
12007 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12008 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12009 __sim_round_mode_thread.
12010 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12011 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12012 and global __sim_exceptions_global.
12013 (__sim_disabled_exceptions): Change to thread-local
12014 __sim_disabled_exceptions_thread and global
12015 __sim_disabled_exceptions_global.
12016 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12017 and global __sim_round_mode_global.
12018 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12019 (SIM_SET_GLOBAL): Likewise.
12020 * sysdeps/powerpc/soft-fp/sfp-machine.h
12021 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12022 __sim_round_mode_thread.
12023 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12024 __sim_disabled_exceptions_thread.
12025 (__sim_exceptions): Change to __sim_exceptions_thread.
12026 (__sim_disabled_exceptions): Change to
12027 __sim_disabled_exceptions_thread.
12028 (__sim_round_mode): Change to __sim_round_mode_thread.
12029 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12030 thread-local floating-point state and set global state from it as
12032 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12033 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12034 (__sim_disabled_exceptions): Remove extern declaration.
12035 (feenableexcept): Use thread-local floating-point state and set
12036 global state from it as needed.
12037 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12038 extern declaration.
12039 (__sim_disabled_exceptions): Likewise.
12040 (__sim_round_mode): Likewise.
12041 (__fegetenv): Use thread-local floating-point state.
12042 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12043 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12044 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12045 floating-point state and set global state from it as needed.
12046 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12047 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12048 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12050 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12051 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12053 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12054 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12055 Use __sim_round_mode_thread.
12056 * math/test-fenv-tls.c: New file.
12057 * math/Makefile (tests): Add test-fenv-tls.
12058 ($(objpfx)test-fenv-tls): Depend on
12059 $(common-objpfx)nptl/libpthread.so.
12061 2013-11-19 Andreas Schwab <schwab@suse.de>
12063 * locale/programs/locale.c (show_info): Decode wordarray elements.
12064 * locale/categories.def (LC_MONETARY): Add element for
12065 _NL_MONETARY_CRNCYSTR.
12066 * locale/C-monetary.c (conversion_rate): New variable.
12067 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12070 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12072 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12073 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12075 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12077 * elf/Makefile (tst-auxv): New test.
12078 * elf/tst-auxv.c: New
12079 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12081 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12083 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12084 (hidden_proto): Caller changed.
12085 (hidden_tls_proto): New macro.
12086 (libc_hidden_tls_proto): Likewise.
12087 (rtld_hidden_tls_proto): Likewise.
12088 (libm_hidden_tls_proto): Likewise.
12089 (libresolv_hidden_tls_proto): Likewise.
12090 (librt_hidden_tls_proto): Likewise.
12091 (libdl_hidden_tls_proto): Likewise.
12092 (libnss_files_hidden_tls_proto): Likewise.
12093 (libnsl_hidden_tls_proto): Likewise.
12094 (libnss_nisplus_hidden_tls_proto): Likewise.
12095 (libutil_hidden_tls_proto): Likewise.
12097 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12100 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12101 (decompose_rpath): Defer expansion to fillin_rpath.
12102 (_dl_init_paths): Pass linkmap to fillin_rpath.
12104 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12106 * benchtests/Makefile: Add strsep.
12107 * benchtests/bench-strsep.c: New file: strsep benchtest.
12108 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12110 2013-11-18 Andreas Schwab <schwab@suse.de>
12112 * locale/programs/locale.c (show_info) [case byte]: Check for
12113 '\377' instead of '\177'.
12114 * locale/C-monetary.c (not_available): Always use "\377".
12115 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12116 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12117 detect unavailable sign_posn locale elements.
12118 * locale/localeconv.c (__localeconv): For grouping and
12119 mon_grouping handle "\177" and "\377" like no grouping.
12120 (INT_ELEM): New macro. Use it to set all numeric members.
12121 * locale/programs/ld-monetary.c (monetary_read)
12122 <tok_mon_grouping>: Normalize single -1 to the empty string.
12123 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12126 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12129 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12130 when we match (nil).
12131 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12133 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12135 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12136 (NO_TEST_INLINE): Update value.
12137 (ERRNO_UNCHANGED): Likewise.
12138 (ERRNO_EDOM): Likewise.
12139 (ERRNO_ERANGE): Likewise.
12140 (IGNORE_RESULT): Likewise.
12141 (check_float_internal): Check signs of NaN results if
12142 TEST_NAN_SIGN used.
12143 (check_complex): Pass TEST_NAN_SIGN flag through to second
12144 check_float_internal call.
12145 (copysign_test_data): Add tests with quiet NaNs as second
12146 argument. Use TEST_NAN_SIGN.
12147 (fabs_test_data): Add test of negative quiet NaN argument. Use
12149 (signbit_test_data): Add tests of quiet NaN argument.
12150 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12152 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12154 (parse_args): Handle function results specified as IGNORE.
12155 * math/libm-test.inc (IGNORE_RESULT): New macro.
12156 (check_float_internal): Do not check numerical result if flag
12158 (check_complex): Pass through IGNORE_RESULT to second
12159 check_float_internal call.
12160 (check_int): Do not check numerical result if flag IGNORE_RESULT
12162 (check_long): Likewise.
12163 (check_bool): Likewise.
12164 (check_longlong): Likewise.
12165 (lrint_test_data): Add tests of infinite and NaN arguments.
12166 (lrint_tonearest_test_data): Likewise.
12167 (lrint_towardzero_test_data): Likewise.
12168 (lrint_downward_test_data): Likewise.
12169 (lrint_upward_test_data): Likewise.
12170 (llrint_test_data): Likewise.
12171 (llrint_tonearest_test_data): Likewise.
12172 (llrint_towardzero_test_data): Likewise.
12173 (llrint_downward_test_data): Likewise.
12174 (llrint_upward_test_data): Likewise.
12175 (lround_test_data): Likewise.
12176 (llround_test_data): Likewise.
12178 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12179 (ERRNO_UNCHANGED): Update value.
12180 (ERRNO_EDOM): Likewise.
12181 (ERRNO_ERANGE): Likewise.
12182 (NO_TEST_INLINE_FLOAT): New macro.
12183 (NO_TEST_INLINE_DOUBLE): Likewise.
12184 (enable_test): New function.
12185 (RUN_TEST_f_f): Check enable_test before running test.
12186 (RUN_TEST_2_f): Likewise.
12187 (RUN_TEST_fff_f): Likewise.
12188 (RUN_TEST_c_f): Likewise.
12189 (RUN_TEST_f_f1): Likewise.
12190 (RUN_TEST_fF_f1): Likewise.
12191 (RUN_TEST_fI_f1): Likewise.
12192 (RUN_TEST_ffI_f1): Likewise.
12193 (RUN_TEST_c_c): Likewise.
12194 (RUN_TEST_cc_c): Likewise.
12195 (RUN_TEST_f_i): Likewise.
12196 (RUN_TEST_f_i_tg): Likewise.
12197 (RUN_TEST_ff_i_tg): Likewise.
12198 (RUN_TEST_f_b): Likewise.
12199 (RUN_TEST_f_b_tg): Likewise.
12200 (RUN_TEST_f_l): Likewise.
12201 (RUN_TEST_f_L): Likewise.
12202 (RUN_TEST_fFF_11): Likewise.
12203 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12205 (cosh_test_data): Likewise.
12206 (exp_test_data): Likewise.
12207 (expm1_test_data): Likewise.
12208 (hypot_test_data): Likewise.
12209 (pow_test_data): Likewise.
12210 (sinh_test_data): Likewise.
12211 (tanh_test_data): Likewise.
12212 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12215 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12216 tests with quiet NaN input and output.
12217 (acosh_test_data): Likewise.
12218 (asin_test_data): Likewise.
12219 (asinh_test_data): Likewise.
12220 (atan_test_data): Likewise.
12221 (atanh_test_data): Likewise.
12222 (atan2_test_data): Likewise.
12223 (cbrt_test_data): Likewise.
12224 (cos_test_data): Likewise.
12225 (cosh_test_data): Likewise.
12226 (erf_test_data): Likewise.
12227 (erfc_test_data): Likewise.
12228 (exp_test_data): Likewise.
12229 (exp10_test_data): Likewise.
12230 (exp2_test_data): Likewise.
12231 (expm1_test_data): Likewise.
12232 (hypot_test_data): Likewise.
12233 (j0_test_data): Likewise.
12234 (j1_test_data): Likewise.
12235 (jn_test_data): Likewise.
12236 (lgamma_test_data): Likewise.
12237 (log_test_data): Likewise.
12238 (log10_test_data): Likewise.
12239 (log1p_test_data): Likewise.
12240 (log2_test_data): Likewise.
12241 (pow_test_data): Likewise.
12242 (scalb_test_data): Likewise.
12243 (sin_test_data): Likewise.
12244 (sincos_test_data): Likewise.
12245 (sinh_test_data): Likewise.
12246 (tan_test_data): Likewise.
12247 (tanh_test_data): Likewise.
12248 (tgamma_test_data): Likewise.
12249 (y0_test_data): Likewise.
12250 (y1_test_data): Likewise.
12251 (yn_test_data): Likewise.
12254 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12255 argument being NaN and avoid computations with second argument in
12257 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12258 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12259 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12261 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12263 * locale/iso-639.def: Add Chitwani Tharu (the).
12265 2013-11-14 Andreas Schwab <schwab@suse.de>
12267 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12268 word instead of empty string.
12270 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12273 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12275 (__fe_nomask_env): Likewise.
12277 2013-11-13 Steve Ellcey <sellcey@mips.com>
12279 * benchtests/bench-timing.h: Include time.h.
12281 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12284 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12286 * sysdeps/unix/sysv/linux/configure: Regenerated.
12288 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12291 * stdlib/strtod_l.c (round_and_return): Do not consider
12292 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12293 exponent one less than half the least subnormal exponent.
12294 * stdlib/test-strtod-round-data: Add more tests.
12295 * stdlib/tst-strtod-round.c (tests): Regenerated.
12297 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12300 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12301 (__fe_mask_env): Likewise.
12302 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12303 libm_hidden_proto and add function prototype.
12304 (__fe_mask_env): Add function prototype.
12305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12306 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12308 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12310 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12312 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12314 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12315 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12317 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12319 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12320 of htab_find_slot().
12322 2013-11-11 David S. Miller <davem@davemloft.net>
12325 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12326 symbol in the non-vis3 case in static builds.
12327 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12328 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12329 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12330 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12332 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12335 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12338 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12340 * benchtests/Makefile: Add bench-strtod.
12341 * benchtests/bench-strtod.c: New file: strtod benchtest
12343 2013-11-11 Andreas Schwab <schwab@suse.de>
12346 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12347 terminating NUL in key length.
12349 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12351 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12352 Add artificial ODP entry for vDSO symbol for PPC64.
12353 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12354 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12356 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12359 * nss/getent.c (services_keys): Recognize services starting with digit.
12361 2013-11-06 David S. Miller <davem@davemloft.net>
12364 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12365 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12367 2013-11-06 Will Newton <will.newton@linaro.org>
12369 * manual/memory.texi (Malloc Examples): Remove register
12370 keyword from examples.
12372 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12374 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12376 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12379 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12380 depending on [__GCC_IEC_559 > 0].
12381 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12382 depending on [__GCC_IEC_559_COMPLEX > 0].
12384 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12386 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12389 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12391 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12393 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12396 * malloc/malloc (malloc_info): Do not handle first bin as
12399 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12401 * locale/iso-639.def: Add Central Nahuatl (nhn).
12403 2013-11-01 Bruno Haible <bruno@clisp.org>
12406 * manual/math.texi (BSD Random): Specify range upper bound as
12409 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12411 * locale/iso-639.def: Add Meadow Mari (mhr).
12413 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12415 [BZ #14752], [BZ #15763]
12416 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12418 * rt/tst_shm.c: Add test for escaping directory.
12420 2013-10-31 Andreas Schwab <schwab@suse.de>
12423 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12424 followed by 'x' as part of digit sequence.
12425 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12427 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12430 * configure.ac: allow GNU Make 4.0 and greater.
12431 * configure: Regenerated.
12433 2013-10-30 Will Newton <will.newton@linaro.org>
12436 * malloc/hooks.c (memalign_check): Limit alignment to the
12437 maximum representable power of two.
12438 * malloc/malloc.c (__libc_memalign): Likewise.
12439 * malloc/tst-memalign.c (do_test): Add test for very
12440 large alignment values.
12441 * malloc/tst-posix_memalign.c (do_test): Likewise.
12443 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12446 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12447 (munmap_chunk): Likewise.
12448 (mremap_chunk): Likewise.
12450 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12453 * stdlib/div.c (div): Remove obsolete code.
12454 * stdlib/ldiv.c (ldiv): Likewise.
12455 * stdlib/lldiv.c (lldiv): Likewise.
12457 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12460 * nss/nss_files/files-XXX.c (get_contents_ret): New
12462 (get_contents): New function.
12463 (internal_getent): Use it. Expand size of LINEBUFLEN.
12465 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12467 * configure.in: Moved to ...
12468 * configure.ac: ... here. Change reference to configure.in
12470 * sysdeps/arm/preconfigure.ac: ... here.
12471 configure.in to configure.ac.
12472 * sysdeps/gnu/configure.in: Moved to ...
12473 * sysdeps/gnu/configure.ac: ... here.
12474 * sysdeps/i386/configure.in: Moved to ...
12475 * sysdeps/i386/configure.ac: ... here.
12476 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12477 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12478 * sysdeps/mach/configure.in: Moved to ...
12479 * sysdeps/mach/configure.ac: ... here.
12480 * sysdeps/mach/hurd/configure.in: Moved to ...
12481 * sysdeps/mach/hurd/configure.ac: ... here.
12482 * sysdeps/powerpc/configure.in: Moved to ...
12483 * sysdeps/powerpc/configure.ac: ... here.
12484 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12485 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12486 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12487 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12488 * sysdeps/s390/s390-32/configure.in: Moved to ...
12489 * sysdeps/s390/s390-32/configure.ac: ... here.
12490 * sysdeps/s390/s390-64/configure.in: Moved to ...
12491 * sysdeps/s390/s390-64/configure.ac: ... here.
12492 * sysdeps/sh/configure.in: Moved to ...
12493 * sysdeps/sh/configure.ac: ... here.
12494 * sysdeps/sparc/configure.in: Moved to ...
12495 * sysdeps/sparc/configure.ac: ... here.
12496 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12497 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12498 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12499 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12500 * sysdeps/x86_64/configure.in: Moved to ...
12501 * sysdeps/x86_64/configure.ac: ... here.
12502 * sysdeps/x86_64/preconfigure.in: Moved to ...
12503 * sysdeps/x86_64/preconfigure.ac: ... here.
12504 * aclocal.m4: Change reference to configure.in to configure.ac.
12505 * config.h.in: Likewise.
12506 * manual/install.texi: Likewise.
12507 * manual/maint.texi: Likewise.
12508 * Makefile: Likewise.
12509 * malloc/Makefile: Likewise.
12510 * nscd/Makefile: Likewise.
12511 * Makeconfig: Change reference to configure.in and
12512 preconfigure.in to configure.ac and preconfigure.ac
12514 * INSTALL: Regenerated.
12515 * configure: Likewise.
12516 * sysdeps/gnu/configure: Likewise.
12517 * sysdeps/i386/configure: Likewise.
12518 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12519 * sysdeps/mach/configure: Likewise.
12520 * sysdeps/mach/hurd/configure: Likewise.
12521 * sysdeps/powerpc/configure: Likewise.
12522 * sysdeps/powerpc/powerpc32/configure: Likewise.
12523 * sysdeps/powerpc/powerpc64/configure: Likewise.
12524 * sysdeps/s390/s390-32/configure: Likewise.
12525 * sysdeps/s390/s390-64/configure: Likewise.
12526 * sysdeps/sh/configure: Likewise.
12527 * sysdeps/sparc/configure: Likewise.
12528 * sysdeps/unix/sysv/linux/configure: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12530 * sysdeps/x86_64/configure: Likewise.
12531 * sysdeps/x86_64/preconfigure: Likewise.
12533 2013-10-29 Andreas Schwab <schwab@suse.de>
12535 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12537 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12539 * benchtests/pow-inputs: Add new inputs.
12541 * benchtests/exp-inputs: Add new inputs.
12543 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12544 conditional check for return value.
12545 (__cos32): Likewise.
12547 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12549 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12550 to provide a boost for large inputs with word alignment.
12551 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12552 implementation based on optimized PPC64 strcpy.
12553 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12554 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12555 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12556 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12558 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12561 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12563 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12566 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12567 * time/tst-strptime.c (day_tests): Add testcase.
12569 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12572 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12574 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12577 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12578 MAP_FAILED on error.
12580 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12583 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12584 heap for large requests.
12586 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12589 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12590 result if the result has no associated interface.
12591 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12592 interface for all 127.X.Y.Z addresses.
12594 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12596 * locale/iso-639.def: Add Ligurian (lij)
12598 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12601 * sunrpc/rpc_main.c: Document rpcgen -5.
12603 2013-10-19 Michael Stahl <mstahl@redhat.com>
12605 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12607 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12610 * posix/glob.c: Match only directories when trailing slash is present.
12611 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12612 (main): Add testcase.
12614 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12617 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12619 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12621 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12622 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12623 AUTH_DES and cindex for FIPS 140-2.
12624 (DES Encryption): Add cindex FIPS 46-3.
12626 * locale/locarchive.h (struct locarhandle): Add fname.
12627 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12628 if an optional argument was specified to --list-archive,
12630 * locale/programs/locarchive.c (show_archive_content): Take new
12631 argument fname and pass it via ah.fname to open_archive.
12632 * locale/programs/localedef.h: Update decl.
12633 (open_archive): If AH->fname is non-null, open that file
12634 rather than the default file name, and don't ignore ENOENT.
12635 (create_archive): Set AH.fname to NULL.
12636 (delete_locales_from_archive): Likewise.
12637 (add_locales_to_archive): Likewise.
12638 * locale/programs/locfile.c (write_all_categories): Likewise.
12640 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12641 Aldy Hernandez <aldyh@redhat.com>
12643 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12644 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12645 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12646 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12647 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12648 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12649 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12650 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12651 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12652 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12653 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12654 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12655 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12656 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12657 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12659 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12661 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12663 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12665 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12666 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12668 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12669 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12670 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12671 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12673 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12674 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12675 * sysdeps/powerpc/preconfigure: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12678 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12679 Replace contents of file by #include of <fenv_libc.h>.
12680 * sysdeps/powerpc/soft-fp/sfp-machine.h
12681 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12683 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12684 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12690 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12691 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12692 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12694 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12696 Allow copysignl PLT reference to be missing.
12698 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12699 Joseph Myers <joseph@codesourcery.com
12702 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12704 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12706 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12708 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12709 * elf/tst-tls1.c: Likewise.
12710 * elf/tst-tls10.h: Likewise.
12711 * elf/tst-tls14.c: Likewise.
12712 * elf/tst-tls2.c: Likewise.
12713 * elf/tst-tls3.c: Likewise.
12714 * elf/tst-tls4.c: Likewise.
12715 * elf/tst-tls5.c: Likewise.
12716 * elf/tst-tls6.c: Likewise.
12717 * elf/tst-tls7.c: Likewise.
12718 * elf/tst-tls8.c: Likewise.
12719 * elf/tst-tls9.c: Likewise.
12720 * elf/tst-tlsmod1.c: Likewise.
12721 * elf/tst-tlsmod13.c: Likewise.
12722 * elf/tst-tlsmod13a.c: Likewise.
12723 * elf/tst-tlsmod14a.c: Likewise.
12724 * elf/tst-tlsmod16a.c: Likewise.
12725 * elf/tst-tlsmod16b.c: Likewise.
12726 * elf/tst-tlsmod2.c: Likewise.
12727 * elf/tst-tlsmod3.c: Likewise.
12728 * elf/tst-tlsmod4.c: Likewise.
12729 * elf/tst-tlsmod5.c: Likewise.
12730 * elf/tst-tlsmod6.c: Likewise.
12732 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12735 * malloc/malloc.c: remove checks for statistics.
12737 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12740 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12741 * inet/tst-network.c: Add testcase.
12743 2013-10-17 Andreas Schwab <schwab@suse.de>
12746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12747 to determine canonical name.
12749 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12751 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12752 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12775 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12776 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12781 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12810 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12813 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12814 make result into a quiet NaN.
12816 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12818 * soft-fp/adddf3.c: Fix horizontal whitespace.
12819 * soft-fp/addsf3.c: Likewise.
12820 * soft-fp/addtf3.c: Likewise.
12821 * soft-fp/divdf3.c: Likewise.
12822 * soft-fp/divsf3.c: Likewise.
12823 * soft-fp/divtf3.c: Likewise.
12824 * soft-fp/double.h: Likewise.
12825 * soft-fp/eqdf2.c: Likewise.
12826 * soft-fp/eqsf2.c: Likewise.
12827 * soft-fp/eqtf2.c: Likewise.
12828 * soft-fp/extenddftf2.c: Likewise.
12829 * soft-fp/extended.h: Likewise.
12830 * soft-fp/extendsfdf2.c: Likewise.
12831 * soft-fp/extendsftf2.c: Likewise.
12832 * soft-fp/extendxftf2.c: Likewise.
12833 * soft-fp/fixdfdi.c: Likewise.
12834 * soft-fp/fixdfsi.c: Likewise.
12835 * soft-fp/fixdfti.c: Likewise.
12836 * soft-fp/fixsfdi.c: Likewise.
12837 * soft-fp/fixsfsi.c: Likewise.
12838 * soft-fp/fixsfti.c: Likewise.
12839 * soft-fp/fixtfdi.c: Likewise.
12840 * soft-fp/fixtfsi.c: Likewise.
12841 * soft-fp/fixtfti.c: Likewise.
12842 * soft-fp/fixunsdfdi.c: Likewise.
12843 * soft-fp/fixunsdfsi.c: Likewise.
12844 * soft-fp/fixunsdfti.c: Likewise.
12845 * soft-fp/fixunssfdi.c: Likewise.
12846 * soft-fp/fixunssfsi.c: Likewise.
12847 * soft-fp/fixunssfti.c: Likewise.
12848 * soft-fp/fixunstfdi.c: Likewise.
12849 * soft-fp/fixunstfsi.c: Likewise.
12850 * soft-fp/fixunstfti.c: Likewise.
12851 * soft-fp/floatdidf.c: Likewise.
12852 * soft-fp/floatdisf.c: Likewise.
12853 * soft-fp/floatditf.c: Likewise.
12854 * soft-fp/floatsidf.c: Likewise.
12855 * soft-fp/floatsisf.c: Likewise.
12856 * soft-fp/floatsitf.c: Likewise.
12857 * soft-fp/floattidf.c: Likewise.
12858 * soft-fp/floattisf.c: Likewise.
12859 * soft-fp/floattitf.c: Likewise.
12860 * soft-fp/floatundidf.c: Likewise.
12861 * soft-fp/floatundisf.c: Likewise.
12862 * soft-fp/floatunditf.c: Likewise.
12863 * soft-fp/floatunsidf.c: Likewise.
12864 * soft-fp/floatunsisf.c: Likewise.
12865 * soft-fp/floatunsitf.c: Likewise.
12866 * soft-fp/floatuntidf.c: Likewise.
12867 * soft-fp/floatuntisf.c: Likewise.
12868 * soft-fp/floatuntitf.c: Likewise.
12869 * soft-fp/fmadf4.c: Likewise.
12870 * soft-fp/fmasf4.c: Likewise.
12871 * soft-fp/fmatf4.c: Likewise.
12872 * soft-fp/gedf2.c: Likewise.
12873 * soft-fp/gesf2.c: Likewise.
12874 * soft-fp/getf2.c: Likewise.
12875 * soft-fp/ledf2.c: Likewise.
12876 * soft-fp/lesf2.c: Likewise.
12877 * soft-fp/letf2.c: Likewise.
12878 * soft-fp/muldf3.c: Likewise.
12879 * soft-fp/mulsf3.c: Likewise.
12880 * soft-fp/multf3.c: Likewise.
12881 * soft-fp/negdf2.c: Likewise.
12882 * soft-fp/negsf2.c: Likewise.
12883 * soft-fp/negtf2.c: Likewise.
12884 * soft-fp/op-1.h: Likewise.
12885 * soft-fp/op-2.h: Likewise.
12886 * soft-fp/op-4.h: Likewise.
12887 * soft-fp/op-8.h: Likewise.
12888 * soft-fp/op-common.h: Likewise.
12889 * soft-fp/quad.h: Likewise.
12890 * soft-fp/single.h: Likewise.
12891 * soft-fp/soft-fp.h: Likewise.
12892 * soft-fp/sqrtdf2.c: Likewise.
12893 * soft-fp/sqrtsf2.c: Likewise.
12894 * soft-fp/sqrttf2.c: Likewise.
12895 * soft-fp/subdf3.c: Likewise.
12896 * soft-fp/subsf3.c: Likewise.
12897 * soft-fp/subtf3.c: Likewise.
12898 * soft-fp/truncdfsf2.c: Likewise.
12899 * soft-fp/trunctfdf2.c: Likewise.
12900 * soft-fp/trunctfsf2.c: Likewise.
12901 * soft-fp/trunctfxf2.c: Likewise.
12902 * soft-fp/unorddf2.c: Likewise.
12903 * soft-fp/unordsf2.c: Likewise.
12904 * soft-fp/unordtf2.c: Likewise.
12906 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12908 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12909 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12911 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12913 * elf/dl-libc.c: Clear initfini list after freeing.
12915 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12917 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12918 * soft-fp/addsf3.c: Likewise.
12919 * soft-fp/addtf3.c: Likewise.
12920 * soft-fp/divdf3.c: Likewise.
12921 * soft-fp/divsf3.c: Likewise.
12922 * soft-fp/divtf3.c: Likewise.
12923 * soft-fp/double.h: Likewise.
12924 * soft-fp/eqdf2.c: Likewise.
12925 * soft-fp/eqsf2.c: Likewise.
12926 * soft-fp/eqtf2.c: Likewise.
12927 * soft-fp/extenddftf2.c: Likewise.
12928 * soft-fp/extended.h: Likewise.
12929 * soft-fp/extendsfdf2.c: Likewise.
12930 * soft-fp/extendsftf2.c: Likewise.
12931 * soft-fp/extendxftf2.c: Likewise.
12932 * soft-fp/fixdfdi.c: Likewise.
12933 * soft-fp/fixdfsi.c: Likewise.
12934 * soft-fp/fixdfti.c: Likewise.
12935 * soft-fp/fixsfdi.c: Likewise.
12936 * soft-fp/fixsfsi.c: Likewise.
12937 * soft-fp/fixsfti.c: Likewise.
12938 * soft-fp/fixtfdi.c: Likewise.
12939 * soft-fp/fixtfsi.c: Likewise.
12940 * soft-fp/fixtfti.c: Likewise.
12941 * soft-fp/fixunsdfdi.c: Likewise.
12942 * soft-fp/fixunsdfsi.c: Likewise.
12943 * soft-fp/fixunsdfti.c: Likewise.
12944 * soft-fp/fixunssfdi.c: Likewise.
12945 * soft-fp/fixunssfsi.c: Likewise.
12946 * soft-fp/fixunssfti.c: Likewise.
12947 * soft-fp/fixunstfdi.c: Likewise.
12948 * soft-fp/fixunstfsi.c: Likewise.
12949 * soft-fp/fixunstfti.c: Likewise.
12950 * soft-fp/floatdidf.c: Likewise.
12951 * soft-fp/floatdisf.c: Likewise.
12952 * soft-fp/floatditf.c: Likewise.
12953 * soft-fp/floatsidf.c: Likewise.
12954 * soft-fp/floatsisf.c: Likewise.
12955 * soft-fp/floatsitf.c: Likewise.
12956 * soft-fp/floattidf.c: Likewise.
12957 * soft-fp/floattisf.c: Likewise.
12958 * soft-fp/floattitf.c: Likewise.
12959 * soft-fp/floatundidf.c: Likewise.
12960 * soft-fp/floatundisf.c: Likewise.
12961 * soft-fp/floatunsidf.c: Likewise.
12962 * soft-fp/floatunsisf.c: Likewise.
12963 * soft-fp/floatuntidf.c: Likewise.
12964 * soft-fp/floatuntisf.c: Likewise.
12965 * soft-fp/floatuntitf.c: Likewise.
12966 * soft-fp/fmadf4.c: Likewise.
12967 * soft-fp/fmasf4.c: Likewise.
12968 * soft-fp/fmatf4.c: Likewise.
12969 * soft-fp/gedf2.c: Likewise.
12970 * soft-fp/gesf2.c: Likewise.
12971 * soft-fp/getf2.c: Likewise.
12972 * soft-fp/ledf2.c: Likewise.
12973 * soft-fp/lesf2.c: Likewise.
12974 * soft-fp/letf2.c: Likewise.
12975 * soft-fp/muldf3.c: Likewise.
12976 * soft-fp/mulsf3.c: Likewise.
12977 * soft-fp/multf3.c: Likewise.
12978 * soft-fp/negdf2.c: Likewise.
12979 * soft-fp/negsf2.c: Likewise.
12980 * soft-fp/negtf2.c: Likewise.
12981 * soft-fp/op-1.h: Likewise.
12982 * soft-fp/op-2.h: Likewise.
12983 * soft-fp/op-4.h: Likewise.
12984 * soft-fp/op-8.h: Likewise.
12985 * soft-fp/op-common.h: Likewise.
12986 * soft-fp/quad.h: Likewise.
12987 * soft-fp/single.h: Likewise.
12988 * soft-fp/soft-fp.h: Likewise.
12989 * soft-fp/sqrtdf2.c: Likewise.
12990 * soft-fp/sqrtsf2.c: Likewise.
12991 * soft-fp/sqrttf2.c: Likewise.
12992 * soft-fp/subdf3.c: Likewise.
12993 * soft-fp/subsf3.c: Likewise.
12994 * soft-fp/subtf3.c: Likewise.
12995 * soft-fp/truncdfsf2.c: Likewise.
12996 * soft-fp/trunctfdf2.c: Likewise.
12997 * soft-fp/trunctfsf2.c: Likewise.
12998 * soft-fp/trunctfxf2.c: Likewise.
12999 * soft-fp/unorddf2.c: Likewise.
13000 * soft-fp/unordsf2.c: Likewise.
13001 * soft-fp/unordtf2.c: Likewise.
13003 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13006 * misc/error.c (error_tail): Fix possible buffer overflow.
13008 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13011 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13014 2013-10-14 P. J. McDermott <pj@pehjota.net>
13017 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13018 testing pipefail option.
13020 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13022 * soft-fp/double.h: Indent preprocessor directives inside #if.
13023 * soft-fp/extended.h: Likewise.
13024 * soft-fp/op-2.h: Likewise.
13025 * soft-fp/op-4.h: Likewise.
13026 * soft-fp/op-common.h: Likewise.
13027 * soft-fp/quad.h: Likewise.
13028 * soft-fp/single.h: Likewise.
13029 * soft-fp/soft-fp.h: Likewise.
13031 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13033 * iconv/iconv_prog.c: Fix typos.
13034 * stdio-common/psiginfo-data.h: Likewise.
13036 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13039 * locale/setlocale.c: Fix typo.
13041 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13044 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13045 signaling NaN arguments.
13046 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13047 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13050 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13051 unordered operands.
13052 * soft-fp/gesf2.c (__gesf2): Likewise.
13053 * soft-fp/getf2.c (__getf2): Likewise.
13054 * soft-fp/ledf2.c (__ledf2): Likewise.
13055 * soft-fp/lesf2.c (__lesf2): Likewise.
13056 * soft-fp/letf2.c (__letf2): Likewise.
13058 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13059 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13060 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13061 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13062 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13063 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13064 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13065 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13066 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13067 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13068 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13069 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13070 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13071 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13072 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13073 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13074 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13075 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13076 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13077 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13078 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13079 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13080 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13081 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13082 * soft-fp/floattidf.c (__floattidf): Likewise.
13083 * soft-fp/floattisf.c (__floattisf): Likewise.
13084 * soft-fp/floattitf.c (__floattitf): Likewise.
13085 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13086 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13087 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13088 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13089 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13090 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13091 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13092 * soft-fp/gesf2.c (__gesf2): Likewise.
13093 * soft-fp/getf2.c (__getf2): Likewise.
13094 * soft-fp/ledf2.c (__ledf2): Likewise.
13095 * soft-fp/lesf2.c (__lesf2): Likewise.
13096 * soft-fp/letf2.c (__letf2): Likewise.
13098 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13099 Undefine and redefine.
13100 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13101 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13102 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13103 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13104 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13105 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13106 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13107 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13108 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13109 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13110 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13111 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13112 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13113 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13114 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13117 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13118 without decrementing exponent if mantissa >= that for the
13119 denominator, not >.
13120 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13121 denominator, not >. Decrement exponent in < case instead of
13122 incrementing in >= case.
13123 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13124 without decrementing exponent if mantissa >= that for the
13125 denominator, not >.
13127 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13128 computing saturated result for unsigned overflow.
13130 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13131 Jeff Law <law@redhat.com>
13133 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13134 (atan2Mp): Add systemtap probe marker.
13135 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13136 (__ieee754_log): Add systemtap probe marker.
13137 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13138 (atanMp): Add systemtap probe marker.
13139 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13140 (tanMp): Add systemtap probe marker.
13141 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13142 (__slowexp): Add systemtap probe marker.
13143 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13144 (__slowpow): Add systemtap probe marker.
13145 * manual/probes.texi: Document probes.
13147 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13150 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13152 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13154 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13155 written to buffer but not flushed.
13156 * libio/iofwrite_u.c: Likewise.
13157 * libio/iopadn.c: Return bytes returned even if EOF was
13159 * libio/iowpadn.c: Likewise.
13160 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13161 if _IO_padn does not write the whole buffer.
13162 [!COMPILE_WPRINTF] (PAD): Likewise.
13164 2013-10-10 David S. Miller <davem@davemloft.net>
13166 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13169 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13171 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13172 instead of FSF address.
13173 * soft-fp/fixdfti.c: Likewise.
13174 * soft-fp/fixsfti.c: Likewise.
13175 * soft-fp/fixtfti.c: Likewise.
13176 * soft-fp/fixunsdfti.c: Likewise.
13177 * soft-fp/fixunssfti.c: Likewise.
13178 * soft-fp/fixunstfti.c: Likewise.
13179 * soft-fp/floattidf.c: Likewise.
13180 * soft-fp/floattisf.c: Likewise.
13181 * soft-fp/floattitf.c: Likewise.
13182 * soft-fp/floatuntidf.c: Likewise.
13183 * soft-fp/floatuntisf.c: Likewise.
13184 * soft-fp/floatuntitf.c: Likewise.
13185 * soft-fp/trunctfxf2.c: Likewise.
13187 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13188 * soft-fp/fixdfti.c: Likewise.
13189 * soft-fp/fixsfti.c: Likewise.
13190 * soft-fp/fixtfti.c: Likewise.
13191 * soft-fp/fixunsdfti.c: Likewise.
13192 * soft-fp/fixunssfti.c: Likewise.
13193 * soft-fp/fixunstfti.c: Likewise.
13194 * soft-fp/floattidf.c: Likewise.
13195 * soft-fp/floattisf.c: Likewise.
13196 * soft-fp/floattitf.c: Likewise.
13197 * soft-fp/floatuntidf.c: Likewise.
13198 * soft-fp/floatuntisf.c: Likewise.
13199 * soft-fp/floatuntitf.c: Likewise.
13200 * soft-fp/trunctfxf2.c: Likewise.
13202 2013-10-10 David S. Miller <davem@davemloft.net>
13204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13206 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13208 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13209 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13210 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13211 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13212 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13213 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13214 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13217 for NaNs before doing comparisons on argument.
13218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13221 2013-10-10 Will Newton <will.newton@linaro.org>
13223 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13224 passed to _int_memalign does not overflow.
13226 2013-10-10 Torvald Riegel <triegel@redhat.com>
13228 * scripts/bench.pl: Add include-sources directive.
13229 * benchtests/README: Update documentation.
13231 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13233 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13234 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13235 instead of FP_INIT_ROUNDMODE.
13236 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13237 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13240 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13241 copy class of input value.
13242 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13243 not handle exceptions.
13244 * soft-fp/negsf2.c (__negsf2): Likewise.
13245 * soft-fp/negtf2.c (__negtf2): Likewise.
13246 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13248 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13250 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13251 semicolon. From Linux kernel.
13253 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13255 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13257 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13260 * manual/socket.texi: Added statement about buffer
13261 for gethostbyname2_r.
13263 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13265 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13266 Use .p2align directive instead, throughout.
13267 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13268 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13269 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13272 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13273 * sysdeps/x86_64/strchr.S: Likewise.
13274 * sysdeps/x86_64/strrchr.S: Likewise.
13276 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13278 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13280 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13282 * sysdeps/generic/math_private.h (__mpsin1): Remove
13284 (__mpcos1): Likewise.
13285 (__mpsin): New argument __range_reduce.
13286 (__mpcos): Likewise.
13287 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13288 (slow): Use __mpsin and __mpcos.
13292 (sloww1): Likewise.
13293 (sloww2): Likewise.
13294 (bsloww): Likewise.
13295 (bsloww1): Likewise.
13296 (bsloww2): Likewise.
13297 (cslow2): Likewise.
13298 (csloww): Likewise.
13299 (csloww1): Likewise.
13300 (csloww2): Likewise.
13301 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13302 range_reduce. Merge in __mpsin1.
13303 (__mpcos): Likewise.
13304 (__mpsin1): Remove.
13305 (__mpcos1): Likewise.
13307 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13309 * locale/loadlocale.c (_nl_intern_locale_data): Use
13311 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13312 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13313 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13314 obstack data is appropriately aligned.
13315 (obstack_int32_grow_fast): Likewise.
13316 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13317 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13318 (add_locale_uint32_array): Likewise.
13320 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13322 * benchtests/Makefile: Remove ARGLIST and RET variables.
13323 ($(objpfx)bench-%.c): Pass only function name to the script.
13324 * benchtests/README: Update documentation.
13325 * benchtests/acos-inputs: Add new directives.
13326 * benchtests/acosh-inputs: Likewise.
13327 * benchtests/asin-inputs: Likewise.
13328 * benchtests/asinh-inputs: Likewise.
13329 * benchtests/atan-inputs: Likewise.
13330 * benchtests/atanh-inputs: Likewise.
13331 * benchtests/cos-inputs: Likewise.
13332 * benchtests/cosh-inputs: Likewise.
13333 * benchtests/exp-inputs: Likewise.
13334 * benchtests/log-inputs: Likewise.
13335 * benchtests/pow-inputs: Likewise.
13336 * benchtests/rint-inputs: Likewise.
13337 * benchtests/sin-inputs: Likewise.
13338 * benchtests/sinh-inputs: Likewise.
13339 * benchtests/tan-inputs: Likewise.
13340 * benchtests/tanh-inputs: Likewise.
13341 * scripts/bench.pl: Add support for new directives.
13343 2013-10-07 Alan Modra <amodra@gmail.com>
13345 * README: Fix careless merge.
13347 2013-10-05 Alan Modra <amodra@gmail.com>
13349 * NEWS: Mention powerpc64le support and bugs fixed.
13350 * README: Both big-endian and little-endian powerpc64 supported.
13352 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13354 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13355 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13356 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13357 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13359 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13361 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13364 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13366 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13367 Move -mhard-float appending from
13368 ports/sysdeps/powerpc/powerpc32/Makefile.
13369 [$(with-fp) = yes] (ASFLAGS): Likewise.
13370 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13371 * sysdeps/powerpc/nofpu: Move directory from
13372 ports/sysdeps/powerpc/nofpu.
13373 * sysdeps/powerpc/soft-fp: Move directory from
13374 ports/sysdeps/powerpc/soft-fp.
13375 * sysdeps/powerpc/powerpc32/405: Move directory from
13376 ports/sysdeps/powerpc/powerpc32/405.
13377 * sysdeps/powerpc/powerpc32/440: Move directory from
13378 ports/sysdeps/powerpc/powerpc32/440.
13379 * sysdeps/powerpc/powerpc32/464: Move directory from
13380 ports/sysdeps/powerpc/powerpc32/464.
13381 * sysdeps/powerpc/powerpc32/476: Move directory from
13382 ports/sysdeps/powerpc/powerpc32/476.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13384 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13386 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13388 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13390 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13392 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13393 * README: Update for powerpc-*-linux-gnu software floating point
13396 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13397 case to powerpc/powerpc32*.
13398 * sysdeps/unix/sysv/linux/configure: Regenerated.
13400 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13401 (_FPU_MASK_OM): Define as 0x04.
13402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13410 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13413 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13416 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13417 and setcontext_e500.
13419 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13421 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13423 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13425 * manual/threads.texi (Default Thread Attributes): Fix typo.
13427 2013-10-04 Will Newton <will.newton@linaro.org>
13429 * malloc/Makefile: Add tst-memalign.
13430 * malloc/tst-memalign.c: New file.
13432 * malloc/tst-posix_memalign.c: Add comments.
13433 (do_test): Add comments and call free on all potentially
13434 allocated pointers. Add space after cast.
13436 * malloc/tst-pvalloc.c: Add comments.
13437 (do_test): Add comments and call free on all potentially
13438 allocated pointers. Remove duplicate check for NULL pointer.
13439 Add space after cast.
13441 * malloc/tst-valloc.c: Add comments.
13442 (do_test): Add comments and call free on all potentially
13443 allocated pointers. Remove duplicate check for NULL pointer.
13444 Add space after cast.
13446 2013-10-04 Alan Modra <amodra@gmail.com>
13448 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13449 Use stdint types in rather than __attribute__((mode())).
13450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13452 2013-10-04 Alan Modra <amodra@gmail.com>
13454 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13455 Correct handling of unaligned relocs for little-endian.
13456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13458 2013-10-04 Alan Modra <amodra@gmail.com>
13460 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13461 * configure: Regenerate.
13462 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13463 * shlib-versions: Likewise.
13465 2013-10-04 Alan Modra <amodra@gmail.com>
13467 * string/tester.c (test_memrchr): Increment reported test cycle.
13469 2013-10-04 Alan Modra <amodra@gmail.com>
13471 * string/test-memcpy.c (do_one_test): When reporting errors, print
13472 string address and don't overrun end of string.
13474 2013-10-04 Alan Modra <amodra@gmail.com>
13476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13477 insrdi. Make better use of reg selection to speed exit slightly.
13478 Schedule entry path a little better. Remove useless "are we done"
13479 checks on entry to main loop. Handle wrapping around zero address.
13480 Correct main loop count. Handle single left-over word from main
13481 loop inline rather than by using loop_small. Remove extra word
13482 case in loop_small caused by wrong loop count. Add little-endian
13484 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13485 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13487 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13488 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13489 support. Avoid rlwimi.
13490 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13492 2013-10-04 Alan Modra <amodra@gmail.com>
13494 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13495 insrdi. Formatting.
13496 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13497 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13498 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13499 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13500 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13501 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13503 2013-10-04 Alan Modra <amodra@gmail.com>
13505 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13507 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13508 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13509 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13510 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13511 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13512 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13513 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13514 use of regs. Use power7 mtocrf. Tidy function tails.
13516 2013-10-04 Alan Modra <amodra@gmail.com>
13518 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13519 Formatting. Consistently use rXXX register defines or rN defines.
13520 Use early exit labels that avoid restoring unused non-volatile regs.
13521 Make cr field use more consistent with rWORDn compares. Rename
13522 regs used as shift registers for unaligned loop, using rN defines
13523 for short lifetime/multiple use regs.
13524 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13525 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13526 addi 1,1,64 to pop stack frame. Simplify return value code.
13527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13529 2013-10-04 Alan Modra <amodra@gmail.com>
13531 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13532 support. Correct typos, formatting. Optimize tail. Use insrdi
13533 rather than rlwimi.
13534 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13535 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13536 little-endian support. Correct typos.
13537 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13538 rather than rlwimi.
13539 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13540 in loop and entry code to keep "and." results.
13541 (strchr): Add little-endian support. Comment. Move cntlzd
13543 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13545 2013-10-04 Alan Modra <amodra@gmail.com>
13547 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13548 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13549 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13550 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13552 2013-10-04 Alan Modra <amodra@gmail.com>
13554 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13555 (rTMP): Define as r11.
13556 (strcmp): Add little-endian support. Optimise tail.
13557 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13558 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13559 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13560 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13561 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13563 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13565 2013-10-04 Alan Modra <amodra@gmail.com>
13567 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13568 little-endian support. Remove unnecessary "are we done" tests.
13569 Handle "s" wrapping around zero and extremely large "size".
13570 Correct main loop count. Handle single left-over word from main
13571 loop inline rather than by using small_loop. Correct comments.
13572 Delete "zero" tail, use "end_max" instead.
13573 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13575 2013-10-04 Alan Modra <amodra@gmail.com>
13577 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13578 support. Don't branch over align.
13579 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13580 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13581 support. Rearrange tmp reg use to suit. Comment.
13582 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13584 2013-10-04 Alan Modra <amodra@gmail.com>
13586 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13588 2013-10-04 Alan Modra <amodra@gmail.com>
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13591 conditional form of branch and link when obtaining pc.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13594 2013-10-04 Alan Modra <amodra@gmail.com>
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13601 2013-10-04 Alan Modra <amodra@gmail.com>
13603 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13604 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13605 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13606 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13607 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13608 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13609 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13610 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13611 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13612 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13614 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13615 Alistair Popple <alistair@ozlabs.au.ibm.com>
13616 Alan Modra <amodra@gmail.com>
13619 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13620 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13621 _dl_hwcap access for little-endian.
13622 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13623 destroy vmx regs when saving unaligned.
13624 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13625 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13626 destroy vmx regs when saving unaligned.
13628 2013-10-04 Alan Modra <amodra@gmail.com>
13630 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13631 Don't use a union to pack hi/low value.
13633 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13635 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13637 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13639 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13640 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13641 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13643 2013-10-04 Alan Modra <amodra@gmail.com>
13645 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13646 constants to usual value for .cst8 section, and remove redundant
13648 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13649 constant for 0x1p52. Load little-endian words of double from
13650 correct stack offsets.
13652 2013-10-04 Alan Modra <amodra@gmail.com>
13654 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13655 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13656 words of double from correct stack offsets.
13657 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13658 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13659 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13660 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13661 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13662 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13663 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13664 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13665 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13666 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13667 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13669 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13670 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13671 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13672 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13673 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13675 2013-10-04 Alan Modra <amodra@gmail.com>
13677 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13678 64-bit int/double union.
13679 (_FPU_SETCW): Likewise.
13680 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13681 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13683 2013-10-04 Alan Modra <amodra@gmail.com>
13685 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13686 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13688 2013-10-04 Alan Modra <amodra@gmail.com>
13690 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13691 use vector int constants.
13692 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13694 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13696 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13697 array with long long.
13698 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13699 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13700 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13701 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13702 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13703 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13704 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13705 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13706 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13707 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13708 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13709 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13710 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13712 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13714 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13715 (__signbit): Likewise. Correct for little-endian.
13716 (__signbitl): Call __signbit.
13717 (lrint): Correct for little-endian.
13718 (lrintf): Call lrint.
13720 2013-10-04 Alan Modra <amodra@gmail.com>
13722 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13723 union 32-bit int array member with 64-bit int array.
13724 (t515, tm256): Double rather than long double.
13725 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13727 2013-10-04 Alan Modra <amodra@gmail.com>
13729 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13731 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13733 version of math_ldbl.h.
13735 2013-10-04 Alan Modra <amodra@gmail.com>
13737 [BZ #15734], [BZ #15735]
13738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13739 all uses of ieee875 long double macros and unions. Simplify test
13740 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13741 ldbl_extract_mantissa value for ix,iy exponents. Properly
13742 normalize after ldbl_extract_mantissa, and don't add hidden bit
13743 already handled. Don't treat low word of ieee854 mantissa like
13744 low word of IBM long double and mask off bit when testing for
13746 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13747 all uses of ieee875 long double macros and unions. Simplify tests
13748 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13749 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13750 two1022, instead use their values. Recognise that tests for large
13751 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13752 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13753 Rewrite all uses of ieee875 long double macros and unions. Simplify
13754 test for 0.0L and nan. Correct negation.
13755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13756 ieee875 long double macros and unions. Correct output for large
13757 magnitude x. Correct absolute value calculation.
13758 (__erfcl): Likewise.
13759 * math/libm-test.inc: Add tests for errors discovered in IBM long
13760 double versions of fmodl, remainderl, erfl and erfcl.
13762 2013-10-04 Alan Modra <amodra@gmail.com>
13764 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13765 all uses of ieee854 long double macros and unions. Simplify tests
13766 for long doubles that are fully specified by the high double.
13767 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13769 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13770 Remove dead code too.
13771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13772 (__ieee754_ynl): Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13776 Remove dead code too.
13777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13782 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13784 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13785 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13787 Comment on variable precision.
13788 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13789 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13791 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13795 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13797 2013-10-04 Alan Modra <amodra@gmail.com>
13799 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13800 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13801 all uses of ieee854 long double macros and unions.
13802 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13809 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13815 Simplify sign and nan test too.
13816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13821 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13827 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13828 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13831 2013-10-04 Alan Modra <amodra@gmail.com>
13833 * stdio-common/printf_size.c (__printf_size): Don't use
13834 union ieee854_long_double in fpnum union.
13835 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13836 signbit macro to retrieve sign from long double.
13837 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13838 retrieve sign from long double.
13839 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13840 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13841 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13842 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13843 * math/test-misc.c (main): Don't use union ieee854_long_double.
13845 2013-10-04 Alan Modra <amodra@gmail.com>
13848 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13849 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13850 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13851 calculation. Remove unnecessary test for denormal exponent.
13852 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13853 Correct handling of denormals. Avoid undefined shift behaviour.
13854 Correct normalisation of low mantissa when low double is denormal.
13855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13856 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13857 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13858 Correct normalisation of low mantissa. Test for overflow of high
13859 mantissa and normalise.
13860 (ldbl_nearbyint): Use more readable constant for two52.
13861 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13862 (__mpn_construct_long_double): Fix test for overflow of high
13863 mantissa and correct normalisation. Avoid undefined shift.
13865 2013-10-04 Alan Modra <amodra@gmail.com>
13867 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13868 (union ibm_extended_long_double): Define as an array of ieee754_double.
13869 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13870 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13871 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13872 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13876 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13881 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13883 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13884 page size instead of calling getpagesize.
13886 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13887 (LOCFILE_ALIGN_MASK): Likewise.
13888 (LOCFILE_ALIGN_UP): Likewise.
13889 (LOCFILE_ALIGNED_P): Likewise.
13890 * locale/programs/ld-collate.c (collate_output): Use the new
13891 macros instead of __alignof__ (int32_t).
13892 * locale/weight.h (findidx): Likewise.
13894 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13897 * manual/string.texi: Fix strncat and wcsncat.
13899 2013-10-03 Brooks Moses <bmoses@google.com>
13902 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13903 * Makerules: ...here, and adjust associated comments.
13905 2013-10-02 Will Newton <will.newton@linaro.org>
13907 * malloc/Makefile: Add tst-pvalloc.
13908 * malloc/tst-pvalloc.c: New file.
13910 2013-10-02 Will Newton <will.newton@linaro.org>
13912 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13913 improve test coverage.
13915 2013-10-02 Will Newton <will.newton@linaro.org>
13917 * malloc/Makefile: Add tst-posix_memalign.
13918 * malloc/tst-posix_memalign.c: New file.
13920 2013-10-01 Eric Blake <eblake@redhat.com>
13922 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13923 Use __THROWNL rather than __THROW on static functions.
13925 2013-09-30 Petr Machata <pmachata@redhat.com>
13927 * elf/elf.h (R_AARCH64_ABS16): New macro.
13928 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13929 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13930 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13931 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13932 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13933 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13934 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13935 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13936 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13937 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13938 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13939 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13940 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13941 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13942 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13943 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13944 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13945 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13946 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13947 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13948 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13949 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13950 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13951 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13952 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13953 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13954 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13955 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13956 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13957 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13958 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13959 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13960 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13961 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13962 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13963 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13964 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13965 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13966 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13967 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13968 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13969 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13970 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13971 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13972 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13973 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13974 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13975 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13976 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13977 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13978 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13979 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13980 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13981 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13982 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13983 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13984 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13985 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13986 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13987 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13988 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13989 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13990 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13991 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13992 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13993 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13994 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13995 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13996 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13997 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13998 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13999 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14000 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14001 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14002 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14003 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14004 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14005 (R_AARCH64_TLSDESC_LDR): Likewise.
14006 (R_AARCH64_TLSDESC_ADD): Likewise.
14007 (R_AARCH64_TLSDESC_CALL): Likewise.
14009 2013-09-30 Andreas Schwab <schwab@suse.de>
14012 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14013 the nss database lookup.
14014 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14017 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14019 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14021 2013-09-28 P. J. McDermott <pj@pehjota.net>
14023 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14024 ${Bash-specific parameter/pattern/string} parameter expansion.
14025 * sysdeps/unix/make-syscalls.sh: Likewise.
14027 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14029 * sysdeps/sh/stackguard-macros.h: New file.
14031 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14035 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14036 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14037 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14038 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14040 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14042 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14043 Fix thread ID register.
14045 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14047 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14048 [POSIX || UNIX98]: Require rather than permitting all symbols from
14050 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14051 element of struct sched_param.
14052 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14053 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14054 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14055 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14058 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14060 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14061 argument calculation.
14063 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14065 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14067 [POSIX] (pthread_attr_t): Do not require type.
14068 [POSIX] (pthread_cond_t): Likewise.
14069 [POSIX] (pthread_condattr_t): Likewise.
14070 [POSIX] (pthread_key_t): Likewise.
14071 [POSIX] (pthread_mutex_t): Likewise.
14072 [POSIX] (pthread_mutexattr_t): Likewise.
14073 [POSIX] (pthread_once_t): Likewise.
14074 [POSIX] (pthread_t): Likewise.
14075 [POSIX-based standards] (pthread_atfork): Expect function.
14077 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14078 Richard Sandiford <richard@codesourcery.com>
14080 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14081 (swap_endianness_p): New extern variable.
14082 (set_big_endian): New inline function.
14083 (maybe_swap_uint32): Likewise.
14084 (maybe_swap_uint32_array): Likewise.
14085 (maybe_swap_uint32_obstack): Likewise.
14086 * locale/programs/locfile.c: Include <stdbool.h>.
14087 (swap_endianness_p): New variable.
14088 (add_locale_uint32): Call maybe_swap_uint32.
14089 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14090 (write_locale_data): Call maybe_swap_uint32_array.
14091 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14093 (obstack_int32_grow_fast): Likewise.
14094 (output_weightwc): Call maybe_swap_uint32_obstack.
14095 (collate_output): Likewise.
14096 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14097 (OPT_LITTLE_ENDIAN): Likewise.
14098 (options): Add --little-endian and --big-endian options.
14099 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14100 * locale/programs/locarchive.c: Include "locfile.h".
14104 (create_archive): Use the new macros to access fields of
14105 structures directly mapped from or written to locale archives.
14106 (oldlocrecentcmp): Likewise.
14107 (enlarge_archive): Likewise.
14108 (insert_name): Likewise.
14109 (add_alias): Likewise.
14110 (add_locale): Likewise.
14111 (delete_locales_from_archive): Likewise.
14112 (show_archive_content): Likewise.
14113 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14116 2013-09-24 Roland McGrath <roland@hack.frob.com>
14118 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14119 http://www.gnu.org/doc/freemanuals.texi.
14120 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14122 2013-09-24 Will Newton <will.newton@linaro.org>
14124 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14127 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14129 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14132 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14134 * manual/threads.texi (POSIX Threads): Fix a typo.
14136 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14139 * string/tst-strcoll-overflow.c: New test case.
14140 * string/Makefile (xtests): Add tst-strcoll-overflow.
14141 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14142 cache if string sizes may cause integer overflow.
14145 * string/strcoll_l.c (coll_seq): New members rule, idx,
14146 save_idx and back_us.
14147 (get_next_seq_nocache): New function.
14148 (do_compare_nocache): New function.
14149 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14152 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14155 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14156 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14157 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14160 * elf/Makefile (tests): Add tst-ptrguard1.
14161 (tests-static): Add tst-ptrguard1-static.
14162 (tst-ptrguard1-ARGS): Define.
14163 (tst-ptrguard1-static-ARGS): Define.
14164 * elf/tst-ptrguard1.c: New file.
14165 * elf/tst-ptrguard1-static.c: New file.
14166 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14167 * sysdeps/i386/stackguard-macros.h: Likewise.
14168 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14169 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14170 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14171 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14172 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14173 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14175 2013-09-23 Hector Marco <hecmargi@upv.es>
14176 Ismael Ripoll <iripoll@disca.upv.es>
14177 Carlos O'Donell <carlos@redhat.com>
14180 * sysdeps/generic/stackguard-macros.h: Define
14181 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14182 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14183 Define __pointer_chk_guard_local.
14184 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14185 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14187 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14190 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14192 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14194 * include/string.h (__ffs): Declare as hidden.
14195 * string/ffs.c (__ffs): Define as hidden.
14196 * sysdeps/i386/ffs.c (__ffs): Likewise.
14197 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14198 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14199 * sysdeps/s390/ffs.c (__ffs): Likewise.
14200 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14202 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14204 * NEWS: Mention malloc probes.
14206 * malloc/arena.c (new_heap): New memory_heap_new probe.
14207 (grow_heap): New memory_heap_more probe.
14208 (shrink_heap): New memory_heap_less probe.
14209 (heap_trim): New memory_heap_free probe.
14210 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14211 (systrim): New memory_sbrk_less probe.
14212 * manual/probes.texi: Document them.
14214 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14215 * manual/probes.texi: Document it.
14217 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14218 (__libc_realloc): Add memory_realloc_retry probe.
14219 (__libc_memalign): Add memory_memalign_retry probe.
14220 (__libc_valloc): Add memory_valloc_retry probe.
14221 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14222 (__libc_calloc): Add memory_calloc_retry probe.
14223 * manual/probes.texi: Document them.
14225 * malloc/arena.c (get_free_list): Add probe
14226 memory_arena_reuse_free_list.
14227 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14228 and memory_arena_reuse.
14229 (arena_get2) [!PER_THREAD]: Likewise.
14230 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14231 memory_arena_reuse_realloc.
14232 * manual/probes.texi: Document them.
14234 * malloc/malloc.c (__libc_free): Add
14235 memory_mallopt_free_dyn_thresholds probe.
14236 (__libc_mallopt): Add multiple memory_mallopt probes.
14237 * manual/probes.texi: Document them.
14239 * malloc/malloc.c: Include stap-probe.h.
14240 (__libc_mallopt): Add memory_mallopt probe.
14241 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14242 * manual/probes.texi: New.
14243 * manual/Makefile (chapters): Add probes.
14244 * manual/threads.texi: Set next node.
14246 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14248 [BZ #15963, #13985]
14249 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14250 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14251 Add `Chinese' to `nan' entry name.
14253 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14255 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14256 (POLYNOMIAL): Likewise.
14257 (TAYLOR_SINCOS): Likewise.
14258 (TAYLOR_SLOW): Likewise.
14259 (__sin): Use TAYLOR_SINCOS.
14261 (slow): Use TAYLOR_SLOW.
14263 (bsloww): Likewise.
14264 (csloww): Likewise.
14266 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14268 * stdlib/strtod_l.c: Fix buffer overrun.
14270 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14272 * benchtests/Makefile (bench): Add sincos.
14273 * benchtests/bench-sincos.c: New file.
14275 * math/libm-test.inc (cos_test_data): New test inputs.
14276 (sin_test_data): Likewise.
14278 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14284 (sloww1): Likewise.
14285 (sloww2): Likewise.
14286 (bsloww1): Likewise.
14287 (bsloww2): Likewise.
14288 (cslow2): Likewise.
14289 (csloww1): Likewise.
14290 (csloww2): Likewise.
14292 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14297 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14301 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14303 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14304 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14305 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14306 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14307 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14308 * elf/cache.c (print_entry): Handle the new cache flags.
14310 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14311 Aldy Hernandez <aldyh@redhat.com>
14313 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14314 Change condition to [_SOFT_FLOAT].
14315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14327 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14330 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14333 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14335 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14336 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14337 (__longjmp): Use LOAD_GP to load saved GPRs.
14338 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14339 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14340 (__sigsetjmp): Use SAVE_GP to save GPRs.
14342 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14343 Do not append -msoft-float.
14344 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14346 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14348 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14350 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14353 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14354 (_FPU_GETCW): Use initial "__" on variable and field names but not
14355 on macro parameter name.
14356 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14357 parentheses around reference to macro parameter.
14359 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14361 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14363 (ctype_startup): Use uint32_t in cast and sizeof for
14366 2013-09-11 Jia Liu <proljc@gmail.com>
14368 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14370 [__FreeBSD__]: Likewise.
14372 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14375 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14376 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14377 (strchr): Remove __strchr_sse42 ifunc selection.
14378 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14379 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14381 2013-09-11 Will Newton <will.newton@linaro.org>
14383 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14384 parameter to RES. Remove hardcoded 1000 value.
14385 * benchtests/bench-skeleton.c (main): Pass RES parameter
14386 to TIMING_INIT and multiply result by 1000.
14388 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14392 2013-09-11 Andreas Schwab <schwab@suse.de>
14394 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14396 (O_TMPFILE) [__USE_GNU]: Define.
14397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14400 2013-09-11 Will Newton <will.newton@linaro.org>
14403 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14406 2013-09-11 Will Newton <will.newton@linaro.org>
14409 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14412 2013-09-11 Will Newton <will.newton@linaro.org>
14415 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14418 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14420 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14421 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14422 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14424 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14426 2013-09-10 Allan McRae <allan@archlinux.org>
14429 * manual/arith.texi (Parsing of Floats): Clarify
14433 * manual/install.texi (Running make install): Mention
14435 * INSTALL: Regenerated.
14437 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14439 * csu/init-first.c (_init): Remove the !SHARED condition around
14440 FPU control word initialization.
14441 * elf/dl-support.c (_dl_fpu_control): New variable.
14442 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14443 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14444 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14445 * math/test-fpucw-static.c: New file.
14446 * math/test-fpucw-ieee.c: New file.
14447 * math/test-fpucw-ieee-static.c: New file.
14448 * math/Makefile (tests): Add `test-fpucw-ieee' and
14450 (tests-static): New variable.
14451 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14453 [($(build-shared),yes)]
14454 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14456 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14459 2013-09-09 Allan McRae <allan@archlinux.org>
14462 * manual/string.texi (Collation Functions): Fix typo in
14464 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14467 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14470 * libio/memstream.c (open_memstream): Fix memory leak.
14471 * libio/wmemstream.c (open_wmemstream): Likewise.
14474 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14476 2013-09-09 Will Newton <will.newton@linaro.org>
14478 * malloc/Makefile: Add tst-realloc to tests.
14479 * malloc/tst-realloc.c: New file.
14481 2013-09-09 Allan McRae <allan@archlinux.org>
14484 * COPYING: Update from GNU website to fix FSF address.
14485 * COPYING.LIB: Likewise.
14487 2013-09-06 David S. Miller <davem@davemloft.net>
14489 * po/zh_TW.po: Update Chinese (traditional) translation from
14490 translation project.
14492 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14493 Joseph Myers <joseph@codesourcery.com>
14495 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14497 (obstack_chunk_alloc): New macro.
14498 (obstack_chunk_free): Likewise.
14499 (record_offset): New function.
14500 (init_locale_data): Likewise.
14501 (align_locale_data): Likewise.
14502 (add_locale_empty): Likewise.
14503 (add_locale_raw_data): Likewise.
14504 (add_locale_raw_obstack): Likewise.
14505 (add_locale_string): Likewise.
14506 (add_locale_wstring): Likewise.
14507 (add_locale_uint32): Likewise.
14508 (add_locale_uint32_array): Likewise.
14509 (add_locale_char): Likewise.
14510 (start_locale_structure): Likewise.
14511 (end_locale_structure): Likewise.
14512 (start_locale_prelude): Likewise.
14513 (end_locale_prelude): Likewise.
14514 (write_locale_data): Take locale_file structure rather than an
14516 * locale/programs/locfile.h: Include "obstack.h".
14517 (struct locale_file): Change to store locale file contents instead
14519 (init_locale_data): New prototype.
14520 (align_locale_data): Likewise.
14521 (add_locale_empty): Likewise.
14522 (add_locale_raw_data): Likewise.
14523 (add_locale_raw_obstack): Likewise.
14524 (add_locale_string): Likewise.
14525 (add_locale_wstring): Likewise.
14526 (add_locale_uint32): Likewise.
14527 (add_locale_uint32_array): Likewise.
14528 (add_locale_char): Likewise.
14529 (start_locale_structure): Likewise.
14530 (end_locale_structure): Likewise.
14531 (start_locale_prelude): Likewise.
14532 (end_locale_prelude): Likewise.
14533 (write_locale_data): Update prototype.
14534 * locale/programs/3level.h (struct TABLE): Remove result field.
14535 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14536 Use new locale_file interface.
14537 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14538 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14539 * locale/programs/ld-address.c (address_output): Use new
14540 locale_file interface.
14541 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14543 (collate_finish): Don't call collseq_table_finalize.
14544 (collate_output): Use new locale_file interface.
14545 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14547 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14548 (TABLE): Move defines earlier in file.
14549 (ELEMENT): Likewise.
14550 (DEFAULT): Likewise.
14551 (wctrans_table_add): Move macro and inline function earlier in
14553 (struct wctype_table): Move type earlier in file.
14554 (add_locale_wctype_table): New static prototype.
14555 (struct locale_ctype_t): Use logical types instead of struct iovec
14556 pointers for members.
14557 (ctype_output): Use new locale_file interface.
14558 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14559 new locale_file interface.
14560 (allocate_arrays): Update for use of new locale_file interface.
14561 * locale/programs/ld-identification.c (identification_output): Use
14562 new locale_file interface.
14563 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14564 * locale/programs/ld-messages.c (messages_output): Likewise.
14565 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14566 * locale/programs/ld-name.c (name_output): Likewise.
14567 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14568 * locale/programs/ld-paper.c (paper_output): Likewise.
14569 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14570 * locale/programs/ld-time.c (time_output): Likewise.
14572 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14574 * benchtests/Makefile: Add memrchr benchmark.
14575 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14576 benchmark as memrchr.
14577 * benchtests/bench-memrchr-ifunc.c: New file.
14578 * benchtests/bench-memrchr.c: New file.
14580 2013-09-06 Will Newton <will.newton@linaro.org>
14582 * benchtests/Makefile (string-bench): Add memcpy.
14584 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14585 Cong Wang <amwang@redhat.com>
14588 * sysdeps/unix/sysv/linux/bits/in.h
14589 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14590 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14591 before __USE_KERNEL_IPV6_DEFS uses.
14592 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14594 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14595 sockaddr_in6, or ipv6_mreq.
14597 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14599 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14600 memory access for final bytes in some large inputs.
14601 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14603 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14605 * string/test-memrchr.c: New file.
14606 * string/test-memrchr-ifunc.c: New file.
14607 * string/Makefile: Add new memrchr testcase.
14609 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14611 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14612 fanotify_init returns EPERM.
14614 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14616 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14618 (top level): Treat second token from macro or constant entries for
14619 allowed headers as allowed.
14620 * include/complex.h: Condition internal declarations on
14622 * include/fenv.h: Condition include of <stdbool.h> and internal
14623 declarations on [!_ISOMAC].
14625 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14628 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14630 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14632 * configure.in (--enable-versioning): Remove configure option.
14633 (libc_cv_asm_symver_directive): Remove configure test.
14634 (libc_cv_ld_version_script_option): Likewise.
14635 (VERSIONING): Remove variable and AC_SUBST.
14636 (DO_VERSIONING): Remove AC_DEFINE.
14637 * configure: Regenerated.
14638 * config.h.in (DO_VERSIONING): Remove macro.
14639 * Makerules [$(versioning) = yes]: Change conditionals to
14640 [$(build-shared) = yes].
14641 * config.make.in (versioning): Remove variable.
14642 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14643 [$(build-shared) = yes].
14644 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14645 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14646 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14647 [$(build-shared) = yes].
14648 * extra-lib.mk [$(versioning) = yes]: Likewise.
14649 * hurd/Makefile [$(versioning) = yes]: Likewise.
14650 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14652 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14654 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14655 [SHARED && !NO_HIDDEN].
14656 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14658 [SHARED && DO_VERSIONING]: Likewise..
14659 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14660 [$(build-shared) = yes].
14661 * manual/install.texi (--disable-versioning): Remove
14663 * INSTALL: Regenerated.
14664 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14666 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14667 [$(build-shared) = yes].
14668 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14669 * sysdeps/i386/i686/multiarch/strstr-c.c
14670 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14671 [SHARED && !NO_HIDDEN].
14672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14673 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14674 * sysdeps/powerpc/powerpc32/dl-machine.c
14675 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14676 * sysdeps/powerpc/powerpc32/sysdep.h
14677 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14678 to [SHARED && PIC && !NO_HIDDEN].
14679 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14680 conditional to [SHARED].
14682 2013-09-04 Will Newton <will.newton@linaro.org>
14684 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14685 * benchtests/bench-string.h: Include bench-timing.h instead
14686 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14687 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14688 call to HP_TIMING_DIFF_INIT.
14689 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14690 instead of hp-timing.h macros.
14691 * benchtests/bench-memchr.c: Likewise.
14692 * benchtests/bench-memcmp.c: Likewise.
14693 * benchtests/bench-memcpy.c: Likewise.
14694 * benchtests/bench-memmem.c: Likewise.
14695 * benchtests/bench-memmove.c: Likewise.
14696 * benchtests/bench-memset.c: Likewise.
14697 * benchtests/bench-rawmemchr.c: Likewise.
14698 * benchtests/bench-strcasecmp.c: Likewise.
14699 * benchtests/bench-strcasestr.c: Likewise.
14700 * benchtests/bench-strcat.c: Likewise.
14701 * benchtests/bench-strchr.c: Likewise.
14702 * benchtests/bench-strcmp.c: Likewise.
14703 * benchtests/bench-strcpy.c: Likewise.
14704 * benchtests/bench-strcpy_chk.c: Likewise.
14705 * benchtests/bench-strlen.c: Likewise.
14706 * benchtests/bench-strncasecmp.c: Likewise.
14707 * benchtests/bench-strncat.c: Likewise.
14708 * benchtests/bench-strncmp.c: Likewise.
14709 * benchtests/bench-strncpy.c: Likewise.
14710 * benchtests/bench-strnlen.c: Likewise.
14711 * benchtests/bench-strpbrk.c: Likewise.
14712 * benchtests/bench-strrchr.c: Likewise.
14713 * benchtests/bench-strspn.c: Likewise.
14714 * benchtests/bench-strstr.c: Likewise.
14716 2013-09-04 Will Newton <will.newton@linaro.org>
14718 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14720 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14723 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14724 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14725 * math/libm-test.inc (lgamma_test_data): Add more tests.
14726 * sysdeps/i386/fpu/libm-test-ulps: Update.
14727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14729 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14731 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14732 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14735 Add strcmp-sse2-unaligned
14736 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14738 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14740 * Versions.def (libc): Add GLIBC_2.19.
14742 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14744 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14745 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14747 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14750 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14751 intermediate calculations in recurrence.
14752 (__ieee754_ynf): Likewise.
14753 * math/libm-test.inc (jn_test_data): Do not allow spurious
14754 underflow exception. Add more tests.
14755 (yn_test_data): Add more tests.
14756 * sysdeps/i386/fpu/libm-test-ulps: Update.
14757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14759 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14761 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14763 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14765 * csu/init-first.c: Fix then/than typos.
14766 * locale/programs/ld-collate.c: Likewise.
14767 * locale/programs/linereader.h: Likewise.
14768 * manual/charset.texi: Likewise.
14769 * manual/filesys.texi: Likewise.
14770 * manual/stdio.texi: Likewise.
14771 * manual/string.texi: Likewise.
14772 * stdlib/fmtmsg.c: Likewise.
14773 * sysdeps/i386/stpncpy.S: Likewise.
14774 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14775 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14776 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14777 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14779 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14781 * elf/dl-open.c: Fix typos.
14782 * iconvdata/gbbig5.c: Likewise.
14783 * iconvdata/iso-2022-jp.c: Likewise.
14784 * iconv/gconv_int.h: Likewise.
14785 * iconv/loop.c: Likewise.
14786 * nis/rpcsvc/nis.h: Likewise.
14787 * resolv/ns_name.c: Likewise.
14788 * stdio-common/vfscanf.c: Likewise.
14789 * streams/stropts.h: Likewise.
14790 * sunrpc/rpc_thread.c: Likewise.
14791 * sysdeps/i386/strpbrk.S: Likewise.
14792 * sysdeps/ieee754/k_standard.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14795 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14796 * sysdeps/mach/hurd/profil.c: Likewise.
14797 * sysdeps/s390/dl-procinfo.h: Likewise.
14798 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14799 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14800 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14801 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14802 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14804 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14806 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14809 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14811 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14812 aix specific files.
14813 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14814 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14815 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14816 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14817 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14818 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14819 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14820 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14822 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14823 Roland McGrath <roland@hack.frob.com>
14825 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14826 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14828 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14830 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14831 __executable_start symbol instead of _start.
14833 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14835 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14836 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14838 * sysdeps/gnu/ldsodefs.h: ... this new file.
14840 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14841 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14842 instead of ELFOSABI_LINUX.
14844 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14845 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14846 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14847 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14849 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14850 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14853 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14854 (ibm_extended_long_double): Add ieee_nan member.
14855 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14856 (do_test): New function.
14858 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14860 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14861 functions, renamed from truncdfsf_test, trunctfsf_test,
14863 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14865 (do_test): Run all these.
14867 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14869 * argp/argp-help.c: Fix typos.
14870 * argp/argp-parse.c: Likewise.
14871 * debug/backtracesyms.c: Likewise.
14872 * elf/elf.h: Likewise.
14873 * malloc/malloc.c: Likewise.
14874 * nis/nis_print.c: Likewise.
14875 * resolv/res_comp.c: Likewise.
14876 * stdlib/stdlib.h: Likewise.
14877 * sunrpc/clnt_tcp.c: Likewise.
14878 * sunrpc/clnt_udp.c: Likewise.
14879 * sunrpc/clnt_unix.c: Likewise.
14880 * sysdeps/unix/bsd/ptsname.c: Likewise.
14881 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14882 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14889 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14891 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14893 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14896 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14899 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14900 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14901 ($(objpfx)bug-dl-leaf): New rule.
14902 ($(objpfx)bug-dl-leaf.so): Likewise.
14903 ($(objpfx)bug-dl-leaf.out): Likewise.
14904 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14905 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14906 * dlfcn/bug-dl-leaf.c: New test.
14907 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14908 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14909 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14910 (dlclose): Likewise.
14911 (dlmopen): Likewise.
14913 2013-08-27 Roland McGrath <roland@hack.frob.com>
14915 * include/netdb.h [!_ISOMAC]:
14916 Don't include <tls.h>.
14917 (h_errno, __libc_h_errno): Move declaration and macros out of
14920 * include/resolv.h [_RESOLV_H_]:
14921 Don't include <tls.h>.
14922 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14923 * resolv/res_libc.c: Don't include <tls.h>.
14924 (_res): Use __attribute__ ((nocommon)) in place of
14925 __attribute__ ((section (".bss"))).
14927 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14928 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14930 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14932 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14933 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14935 * resolv/res_mkquery.c: Include <sys/time.h>.
14937 * inet/ifreq.c: Moved to ...
14938 * sysdeps/unix/ifreq.c: ... here.
14939 * inet/ifreq.c: New file, true stub version.
14941 * socket/sa_len.c: New file.
14942 * socket/Makefile (aux): Add it.
14943 * sysdeps/unix/sysv/linux/Makefile
14944 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14945 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14946 and #include <socket/sa_len.c>.
14947 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14948 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14950 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14951 * bits/socket.h: ... here.
14953 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14954 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14955 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14957 2013-08-27 Andreas Schwab <schwab@suse.de>
14960 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14961 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14962 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14963 * string/test-strcasecmp.c (test_main): Run tests in several
14965 * string/test-strncasecmp.c (test_main): Likewise.
14967 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14968 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14969 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14971 (__strncasecmp_ssse3) [PIC]: Likewise.
14973 2013-08-26 Roland McGrath <roland@hack.frob.com>
14975 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14977 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14978 instead of explicitly declaring xdecrypt.
14979 * nis/nss_nis/nis-publickey.c: Likewise.
14981 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14984 * nscd/aicache.c: Include res_hconf.h.
14985 (addhstaiX): Initialize res_hconf.
14987 2013-08-26 Andreas Schwab <schwab@suse.de>
14989 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14990 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14992 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14994 * nscd/aicache.c (addhstaiX): Fix indentation.
14996 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14998 * configure.ac: Quote $build_pt_chown test.
14999 * configure: Regenerated.
15001 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15004 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15005 * math/s_cexpf.c (__cexpf): Likewise.
15006 * math/s_cexpl.c (__cexpl): Likewise.
15007 * math/libm-test.inc (cexp_test_data): Correct expected return
15008 value for NaN + i0. Add another test.
15010 2013-08-22 David S. Miller <davem@davemloft.net>
15012 * po/ca.po: Update Catalan translation from translation project.
15013 * po/uk.po: Add Ukrainian translations from translation project.
15015 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15018 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15019 is infinite, not alongside NaN test.
15020 * math/s_fdimf.c (__fdimf): Likewise.
15021 * math/s_fdiml.c (__fdiml): Likewise.
15022 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15023 errno is unchanged.
15025 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15027 * argp/argp-help.c: Fix typos.
15028 * crypt/speeds.c: Likewise.
15029 * csu/check_fds.c: Likewise.
15030 * elf/dl-load.c: Likewise.
15031 * elf/dl-open.c: Likewise.
15032 * elf/reldep3.c: Likewise.
15033 * elf/reldep.c: Likewise.
15034 * elf/sprof.c: Likewise.
15035 * iconv/iconv_charmap.c: Likewise.
15036 * iconv/skeleton.c: Likewise.
15037 * iconv/strtab.c: Likewise.
15038 * io/lockf64.c: Likewise.
15039 * libio/libioP.h: Likewise.
15040 * resolv/gai_notify.c: Likewise.
15041 * resolv/ns_name.c: Likewise.
15042 * resolv/ns_samedomain.c: Likewise.
15043 * resolv/res_send.c: Likewise.
15044 * stdlib/random.c: Likewise.
15045 * sunrpc/rpc/xdr.h: Likewise.
15046 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15047 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15048 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15049 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15051 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15053 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15054 * sysdeps/mach/hurd/check_fds.c: Likewise.
15055 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15056 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15059 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15060 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15061 * sysdeps/pthread/aio_notify.c: Likewise.
15062 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15063 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15064 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15065 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15066 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15068 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15070 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15071 version if bit_Slow_SSE4_2 is set.
15072 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15073 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15075 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15078 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15079 trampoline stack frame information.
15080 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15082 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15083 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15084 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15085 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15086 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15087 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15089 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15090 interrupting a syscall and set with option SA_SIGINFO.
15092 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15095 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15096 argument is infinite.
15097 * math/s_cprojf.c (__cprojf): Likewise.
15098 * math/s_cprojl.c (__cprojl): Likewise.
15099 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15100 * math/libm-test.inc (cproj_test_data): Add more tests.
15102 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15104 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15105 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15106 size. Use __ffs to determine corresponding shift.
15108 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15109 Roland McGrath <roland@hack.frob.com>
15111 * Makefile (INSTALL): Remove trailing blank lines from output of
15114 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15116 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15117 Align 32 bit compat elf_greg to 8 bytes.
15119 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15121 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15123 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15125 * string/strcoll_l.c (coll_seq): New structure.
15126 (get_next_seq_cached): New function.
15127 (get_next_seq): New function.
15128 (do_compare): New function.
15129 (STRCOLL): Use GNU style definition. Simplify implementation
15130 by using get_next_seq, get_next_seq_cached and do_compare.
15132 2013-08-16 Florian Weimer <fweimer@redhat.com>
15136 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15138 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15140 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15141 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15142 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15144 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15145 GETDENTS_64BIT_ALIGNED.
15146 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15147 * manual/filesys.texi (Reading/Closing Directory): Document
15148 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15150 * manual/conf.texi (Limits for Files): Add portability note to
15151 NAME_MAX, PATH_MAX.
15152 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15154 2013-08-13 Andreas Schwab <schwab@suse.de>
15157 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15159 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15160 LDBL_MAX_EXP >= 16384]: Add tests for it.
15162 2013-08-12 David S. Miller <davem@davemloft.net>
15164 * version.h (RELEASE): Set to "development".
15165 (VERSION): Set to "2.18.90".
15166 * NEWS: Add 2.19 section.
15168 2013-08-03 David S. Miller <davem@davemloft.net>
15170 * po/ko.po: Update Korean translation from translation project.
15172 2013-08-01 David S. Miller <davem@davemloft.net>
15174 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15175 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15178 2013-07-30 David S. Miller <davem@davemloft.net>
15180 * po/fr.po: Update French translation from translation project.
15182 2013-07-28 David S. Miller <davem@davemloft.net>
15184 * po/cs.po: Update Czech translation from translation project.
15186 * po/sv.po: Update Swedish translation from translation project.
15188 2013-07-27 David S. Miller <davem@davemloft.net>
15190 * po/eo.po: Update Esperanto translation from translation project.
15192 * po/vi.po: Update Vietnamese translation from translation project.
15194 * po/de.po: Update German translation from translation project.
15196 2013-07-26 David S. Miller <davem@davemloft.net>
15198 * po/bg.po: Update Bulgarian translation from translation project.
15200 * po/nl.po: Update Dutch translation from translation project.
15201 * po/pl.po: Update Polish translation from translation project.
15202 * po/ru.po: Update Russian translation from translation project.
15204 2013-07-24 David S. Miller <davem@davemloft.net>
15206 * po/libc.pot: Update.
15208 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15210 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15211 variable page size.
15212 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15213 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15214 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15216 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15218 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15220 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15221 Andreas Schwab <schwab@suse.de>
15222 Roland McGrath <roland@hack.frob.com>
15223 Joseph Myers <joseph@codesourcery.com>
15224 Carlos O'Donell <carlos@redhat.com>
15227 * config.h.in: Define HAVE_PT_CHOWN.
15228 * config.make.in (build-pt-chown): New variable.
15229 * configure.in (--enable-pt_chown): New configure option.
15230 * configure: Regenerate.
15231 * login/Makefile: Include Makeconfig. Build pt_chown only if
15232 build-pt-chown is enabled.
15233 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15234 pt_chown to fix pty ownership.
15235 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15237 * manual/install.texi (Configuring and compiling): Mention
15238 --enable-pt_chown. Add @findex for grantpt.
15239 * INSTALL: Regenerate.
15241 2013-07-20 David S. Miller <davem@davemloft.net>
15243 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15244 difference between 32-bit and 64-bit.
15246 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15249 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15250 Avoid system header dependency with -ffreestanding.
15251 ($(objpfx)bits/syscall%d): Likewise.
15253 2013-07-13 David S. Miller <davem@davemloft.net>
15255 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15256 underflows from atanl/atan2l due to bug 15319.
15257 (casinh_test_data): Likewise.
15259 2013-07-07 David S. Miller <davem@davemloft.net>
15261 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15263 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15265 * sysdeps/i386/fpu/libm-test-ulps: Update.
15266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15268 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15270 * configure.in (--enable-lock-elision): Fix message text.
15271 * INSTALL: Regenerate.
15272 * configure: Regenerate.
15274 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15278 2013-07-03 Andreas Jaeger <aj@suse.de>
15280 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15282 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15283 (ptrace_peeksiginfo_args): Add.
15284 (__ptrace_peeksiginfo_flags): Add.
15285 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15286 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15287 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15289 2013-07-03 Allan McRae <allan@archlinux.org>
15291 * sysdeps/i386/fpu/libm-test-ulps: Update.
15293 2013-07-02 David S. Miller <davem@davemloft.net>
15295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15297 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15301 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15303 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15306 2013-07-02 Andi Kleen <ak@linux.intel.com>
15308 * config.h.in (ENABLE_LOCK_ELISION): Add.
15309 * configure.in (--enable-lock-elision): Add option.
15310 * manual/install.texi: Document --enable lock elision.
15311 * configure: Regenerate
15312 * INSTALL: Regenerate.
15314 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15316 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15317 SSE4.2 strcasecmp for libc.a.
15318 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15320 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15323 * soft-fp/op-common.h (_FP_FMA): New macro.
15324 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15325 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15326 (_FP_MUL_MEAT_1_imm): ... here.
15327 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15328 (_FP_MUL_MEAT_1_wide): ... here.
15329 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15330 (_FP_MUL_MEAT_1_hard): ... here.
15331 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15332 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15333 (_FP_MUL_MEAT_2_wide): ... here.
15334 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15335 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15336 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15337 (_FP_MUL_MEAT_2_gmp): ... here.
15338 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15339 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15340 (_FP_MUL_MEAT_4_wide): ... here.
15341 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15342 (_FP_MUL_MEAT_4_gmp): ... here.
15343 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15344 (_FP_WFRACBITS_DW_S): Likewise.
15345 (_FP_WFRACXBITS_DW_S): Likewise.
15346 (_FP_HIGHBIT_DW_S): Likewise.
15347 (FP_FMA_S): Likewise.
15348 (_FP_FRAC_HIGH_DW_S): Likewise.
15349 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15350 (_FP_WFRACBITS_DW_D): Likewise.
15351 (_FP_WFRACXBITS_DW_D): Likewise.
15352 (_FP_HIGHBIT_DW_D): Likewise.
15353 (FP_FMA_D): Likewise.
15354 (_FP_FRAC_HIGH_DW_D): Likewise.
15355 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15356 (_FP_WFRACBITS_DW_E): Likewise.
15357 (_FP_WFRACXBITS_DW_E): Likewise.
15358 (_FP_HIGHBIT_DW_E): Likewise.
15359 (FP_FMA_E): Likewise.
15360 (_FP_FRAC_HIGH_DW_E): Likewise.
15361 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15362 (_FP_WFRACBITS_DW_Q): Likewise.
15363 (_FP_WFRACXBITS_DW_Q): Likewise.
15364 (_FP_HIGHBIT_DW_Q): Likewise.
15365 (FP_FMA_Q): Likewise.
15366 (_FP_FRAC_HIGH_DW_Q): Likewise.
15367 * soft-fp/fmasf4.c: New file.
15368 * soft-fp/fmadf4.c: Likewise.
15369 * soft-fp/fmatf4.c: Likewise.
15371 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15374 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15376 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15378 (index_Slow_SSE4_2): Likewise.
15379 (index_Prefer_PMINUB_for_stringop): Likewise.
15380 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15381 bit_Slow_SSE4_2 is set.
15382 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15383 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15385 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15387 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15388 rtld_global._dl_hwcap2.
15389 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15391 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15392 POWER8 feature descriptions defined in _dl_hwcap2.
15393 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15394 string handling for POWER8 feature bits.
15395 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15396 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15397 _dl_powerpc_cap_flags.
15398 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15399 * sysdeps/powerpc/rtld-global-offsets.sym
15400 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15401 _dl_hwcap2 in the rtld_global_ro structure.
15403 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15405 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15406 hardware capabilities in support of AT_HWCAP2.
15407 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15408 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15410 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15411 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15412 explicitly the unknown a_type display mechanism is used.
15413 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15414 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15416 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15417 to macro prototype for AT_HWCAP2 support.
15418 * sysdeps/i386/dl-procinfo.h: Likewise.
15419 * sysdeps/s390/dl-procinfo.h: Likewise.
15420 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15421 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15422 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15423 return -1 for unknown a_type display fallback.
15424 * sysdeps/sparc/dl-procinfo.h: Likewise.
15425 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15426 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15428 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15430 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15431 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15433 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15436 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15437 mprotect making __stack_prot writable.
15439 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15440 Joseph Myers <joseph@codesourcery.com>
15442 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15443 as being properly aligned.
15445 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15447 * dlfcn/modstatic5.c: New file.
15448 * dlfcn/tststatic5.c: New file.
15449 * dlfcn/Makefile (tests): Add tststatic5.
15450 (tests-static): Likewise.
15451 (modules-names): Add modstatic5.
15452 (tststatic5-ENV): New variable.
15453 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15456 * elf/dl-support.c (_dl_main_map): New variable.
15457 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15458 (_dl_nns, _dl_load_adds): Set to 1.
15459 (_dl_initial_searchlist): Refer to _dl_main_map.
15460 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15461 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15462 call to _dl_get_origin.
15463 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15465 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15466 * dlfcn/modstatic3.c: New file.
15467 * dlfcn/tststatic3.c: New file.
15468 * dlfcn/tststatic4.c: New file.
15469 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15470 (tests-static): Likewise.
15471 (modules-names): Add modstatic3.
15472 (tststatic3-ENV, tststatic4-ENV): New variables.
15473 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15474 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15476 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15478 * configure.in (CC): Require GCC version 4.4 or later.
15479 * configure: Regenerated.
15480 * manual/install.texi (Tools for Compilation): Update GCC version
15482 * INSTALL: Regenerated.
15484 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15487 * string/test-memcmp.c (check2): New.
15488 (main): Call check2.
15490 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15492 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15495 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15497 (dl_open_worker) [!SHARED]: ... here.
15499 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15501 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15503 2013-06-25 Richard Henderson <rth@redhat.com>
15505 * locale/programs/locarchive.c: Include <libc-internal.h>
15507 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15509 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15510 trailing whitespace removed.
15512 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15515 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15516 * locale/programs/locarchive.c: Include libc-mmap.h.
15517 (prepare_address_space): Take two new outputs (the mmap base and len).
15518 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15520 (create_archive): Declare new mmap base and len values for
15521 prepare_address_space, and store the result in ah.
15522 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15523 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15524 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15525 Declare new mmap base and len values for
15526 prepare_address_space, and store the result in new_ah.
15527 (open_archive): Declare new mmap base and len values for
15528 prepare_address_space, and store the result in ah.
15529 (close_archive): If ah->mmap_base is not NULL, use that and
15530 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15531 * sysdeps/generic/libc-mmap.h: New file.
15533 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15535 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15536 (ALIGN_UP): Likewise.
15537 (PTR_ALIGN_DOWN): Likewise.
15538 (PTR_ALIGN_UP): Likewise.
15540 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15542 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15543 entry mapped to PPC_PLATFORM_POWER8.
15544 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15546 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15547 (_dl_string_platform): Add case for exporting platform position for
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15550 search path to sysdeps/powerpc/powerpc32/power8 directory.
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15552 search path to sysdeps/powerpc/powerpc64/power8 directory.
15553 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15554 power7 directories.
15555 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15556 power7 directories.
15558 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15560 * INSTALL: Regenerate.
15562 * nscd/connections.c (nscd_init): Fix comment.
15564 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15566 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15569 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15570 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15572 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15574 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15576 (DL_DST_REQ_STATIC): Remove macro.
15578 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15581 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15582 with a shift of 0 bits.
15584 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15586 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15589 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15592 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15594 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15596 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15597 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15598 accepts -fno-tree-loop-distribute-patterns.
15599 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15600 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15602 * string/memset.c (memset): Likewise.
15603 * string/test-memmove.c (simple_memmove): Disable loop transformation
15605 * string/test-memset.c (simple_memset): Likewise.
15606 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15607 * benchtests/bench-memset.c (simple_memset): Likewise.
15608 * configure: Regenerated.
15610 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15612 * math/test-misc.c (main): Ignore fesetround failure when failures
15613 of subsequent rounding tests would be ignored.
15616 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15617 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15618 * math/fegetenv.c (__fegetenv): Return 0.
15619 * math/fegetexcept.c (fegetexcept): Return 0.
15620 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15622 * math/feholdexcpt.c (feholdexcept): Return 0.
15623 * math/fesetenv.c (__fesetenv): Return 0.
15624 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15625 argument FE_TONEAREST.
15626 * math/feupdateenv.c (__feupdateenv): Return 0.
15627 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15629 2013-06-18 Roland McGrath <roland@hack.frob.com>
15631 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15632 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15633 ($(objpfx)rtld-%.os rules): Use them.
15635 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15637 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15640 2013-06-17 Roland McGrath <roland@hack.frob.com>
15642 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15643 length of target pattern, then descending length of dependency pattern.
15644 * configure.in (AWK): Require gawk 3.1.2 or newer.
15645 * manual/install.texi (Tools for Compilation): Say that we do.
15646 * configure: Regenerated.
15648 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15649 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15650 * scripts/sysd-rules.awk: ... this new script.
15651 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15652 than a glob-style pattern.
15654 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15656 * math/test-misc.c (main): Do not treat incorrectly rounded
15657 conversions as failure unless ROUNDING_TESTS passes.
15659 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15662 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15663 restore exception state around main square root computation, then
15664 check for inexactness explicitly.
15666 * math/libm-test.inc (fma_test_data): Add another test.
15668 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15670 * manual/threads.texi (Non-POSIX Extensions): New document
15671 node. Document pthread_getattr_default_np and
15672 pthread_setattr_default_np.
15674 * Versions.def (libpthread): Add GLIBC_2.18.
15675 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15684 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15695 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15698 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15700 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15701 H.J. Lu <hjl.tools@gmail.com>
15704 * sysdeps/x86_64/rtld-memset.c: Remove file.
15705 * sysdeps/x86_64/rtld-memset.S: New file.
15707 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15709 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15710 (test_in_one_mode): Take arguments for whether the rounding mode
15711 is supported for each floating-point type.
15712 (do_test): Pass new arguments to test_in_one_mode using
15715 2013-06-13 Roland McGrath <roland@hack.frob.com>
15717 * posix/tst-waitid.c (do_test): Distinguish different instances of
15718 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15719 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15720 before entering the kernel for waitpid.
15722 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15724 * NEWS: Fix note on clock function precision. Text by Roland
15727 2013-06-13 Roland McGrath <roland@hack.frob.com>
15729 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15730 it into place only when and if the sanity check passes.
15732 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15734 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15735 output for whether conversion result is exact. Take argument
15736 indicating whether type is IBM long double.
15737 (round_for_all): Change need_exact field to ibm_ld.
15738 * stdlib/tst-strtod-round.c (struct exactness): New type.
15739 (struct test): Change bool ld_ok field to struct exactness exact.
15740 (TEST): Update all definitions for change to field.
15741 (tests): Regenerate array contents.
15742 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15743 field value. Check for IBM long double here.
15744 (do_test): Update calls to test_in_one_mode.
15746 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15749 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15750 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15752 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15755 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15756 generated by the compiler on loop optimizations.
15757 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15758 general definitions.
15760 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15762 * math/bug-nextafter.c: Include <math-tests.h>.
15763 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15765 * math/bug-nexttoward.c: Include <math-tests.h>.
15766 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15768 * math/test-misc.c: Include <math-tests.h>.
15769 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15772 2013-06-12 Andreas Jaeger <aj@suse.de>
15774 * po/ia.po: Update Interlingua translation from translation
15777 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15779 * include/fenv.h: Include stdbool.h.
15780 (struct rm_ctx): New structure.
15781 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15783 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15784 (SET_RESTORE_ROUNDF): Likewise.
15785 (SET_RESTORE_ROUNDL): Likewise.
15786 (SET_RESTORE_ROUND_NOEX): Likewise.
15787 (SET_RESTORE_ROUND_NOEXF): Likewise.
15788 (SET_RESTORE_ROUND_NOEXL): Likewise.
15789 (SET_RESTORE_ROUND_53BIT): Likewise.
15790 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15791 (libc_feresetround_noexf_ctx): Likewise.
15792 (libc_feresetround_noexl_ctx): Likewise.
15793 (libc_feholdsetround_53bit_ctx): Likewise.
15794 (libc_feresetround_53bit_ctx): Likewise.
15795 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15796 (libc_feholdexcept_setround_sse_ctx): New function.
15797 (libc_fesetenv_sse_ctx): Likewise.
15798 (libc_feupdateenv_sse_ctx): Likewise.
15799 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15800 (libc_feholdexcept_setround_387_ctx): Likewise.
15801 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15802 (libc_feholdsetround_387_prec_ctx): Likewise.
15803 (libc_feholdsetround_387_ctx): Likewise.
15804 (libc_feholdsetround_387_53bit_ctx): Likewise.
15805 (libc_feholdsetround_sse_ctx): Likewise.
15806 (libc_feresetround_sse_ctx): Likewise.
15807 (libc_feresetround_387_ctx): Likewise.
15808 (libc_feupdateenv_387_ctx): Likewise.
15809 (libc_feholdexcept_setroundf_ctx): Define macro.
15810 (libc_fesetenvf_ctx): Likewise.
15811 (libc_feupdateenvf_ctx): Likewise.
15812 (libc_feholdsetroundf_ctx): Likewise.
15813 (libc_feresetroundf_ctx): Likewise.
15814 (libc_feholdexcept_setround_ctx): Likewise.
15815 (libc_fesetenv_ctx): Likewise.
15816 (libc_feupdateenv_ctx): Likewise.
15817 (libc_feholdsetround_ctx): Likewise.
15818 (libc_feresetround_ctx): Likewise.
15819 (libc_feholdexcept_setroundl_ctx): Likewise.
15820 (libc_feupdateenvl_ctx): Likewise.
15821 (libc_feholdsetroundl_ctx): Likewise.
15822 (libc_feresetroundl_ctx): Likewise.
15823 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15824 (libc_feresetround_53bit_ctx): Likewise.
15826 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15828 * locale/iso-639.def: Convert to UTF-8.
15830 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15832 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15833 (EXCEPTION_TESTS_double): Likewise.
15834 (EXCEPTION_TESTS_long_double): Likewise.
15835 (EXCEPTION_TESTS): Likewise.
15836 * math/libm-test.inc (test_exceptions): Only test exceptions if
15837 EXCEPTION_TESTS (FLOAT).
15839 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15841 * benchtests/Makefile (string-bench): Add strcpy_chk and
15843 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15844 * benchtests/bench-stpcpy_chk.c: New file.
15845 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15846 * benchtests/bench-strcpy_chk.c: New file.
15847 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15849 (do_test): Likewise.
15851 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15853 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15854 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15855 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15856 with tabs where appropriate.
15857 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15859 [PPC_PLATFORM_PPC440]: Likewise.
15860 [PPC_PLATFORM_PPC464]: Likewise.
15861 [PPC_PLATFORM_PPC476]: Likewise.
15862 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15863 ppc464, and ppc476 platform strings merging from ports/
15866 2013-06-11 Andreas Schwab <schwab@suse.de>
15869 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15870 (from_ucs4_idx): Regenerate.
15871 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15872 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15873 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15874 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15875 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15876 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15877 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15878 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15879 from FROM_LOOP and TO_LOOP specific macros.
15880 (BODY): Handle combining characters.
15881 * iconvdata/BIG5HKSCS.irreversible: Update.
15882 * iconvdata/BIG5HKSCS.precomposed: New file.
15883 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15885 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15887 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15889 * include/sys/time.h: Fix indentation and add copyright header.
15891 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15892 (do_test): Likewise.
15893 * string/test-memchr.c (do_one_test): Likewise.
15894 (do_test): Likewise.
15895 * string/test-memcmp.c (do_one_test): Likewise.
15896 (do_test): Likewise.
15897 * string/test-memcpy.c (do_one_test): Likewise.
15898 (do_test): Likewise.
15899 * string/test-memmem.c (do_one_test): Likewise.
15900 (do_test): Likewise.
15901 (do_random_tests): Likewise.
15902 * string/test-memmove.c (do_one_test): Likewise.
15903 (do_test): Likewise.
15904 * string/test-memset.c (do_one_test): Likewise.
15905 (do_test): Likewise.
15906 * string/test-rawmemchr.c (do_one_test): Likewise.
15907 (do_test): Likewise.
15908 * string/test-strcasecmp.c (do_one_test): Likewise.
15909 (do_test): Likewise.
15910 * string/test-strcasestr.c (do_one_test): Likewise.
15911 (do_test): Likewise.
15912 * string/test-strcat.c (do_one_test): Likewise.
15913 (do_test): Likewise.
15914 * string/test-strchr.c (do_one_test): Likewise.
15915 (do_test): Likewise.
15916 * string/test-strcmp.c (do_one_test): Likewise.
15917 (do_test): Likewise.
15918 * string/test-strcpy.c (do_one_test): Likewise.
15919 (do_test): Likewise.
15920 * string/test-string.h: Likewise.
15921 (test_init): Likewise.
15922 * string/test-strlen.c (do_one_test): Likewise.
15923 (do_test): Likewise.
15924 * string/test-strncasecmp.c (do_one_test): Likewise.
15925 (do_test): Likewise.
15926 * string/test-strncat.c (do_one_test): Likewise.
15927 (do_test): Likewise.
15928 * string/test-strncmp.c (do_one_test): Likewise.
15929 (do_test_limit): Likewise.
15930 (do_test): Likewise.
15931 * string/test-strncpy.c (do_one_test): Likewise.
15932 (do_test): Likewise.
15933 * string/test-strnlen.c (do_one_test): Likewise.
15934 (do_test): Likewise.
15935 * string/test-strpbrk.c (do_one_test): Likewise.
15936 (do_test): Likewise.
15937 * string/test-strrchr.c (do_one_test): Likewise.
15938 (do_test): Likewise.
15939 * string/test-strspn.c (do_one_test): Likewise.
15940 (do_test): Likewise.
15941 * string/test-strstr.c (do_one_test): Likewise.
15942 (do_test): Likewise.
15944 * benchtests/Makefile (string-bench): Add string benchmarks.
15945 * benchtests/bench-bcopy-ifunc.c: New file.
15946 * benchtests/bench-bcopy.c: New file.
15947 * benchtests/bench-bzero-ifunc.c: New file.
15948 * benchtests/bench-bzero.c: New file.
15949 * benchtests/bench-memccpy-ifunc.c: New file.
15950 * benchtests/bench-memccpy.c: New file.
15951 * benchtests/bench-memchr-ifunc.c: New file.
15952 * benchtests/bench-memchr.c: New file.
15953 * benchtests/bench-memcmp-ifunc.c: New file.
15954 * benchtests/bench-memcmp.c: New file.
15955 * benchtests/bench-memmem-ifunc.c: New file.
15956 * benchtests/bench-memmem.c: New file.
15957 * benchtests/bench-memmove-ifunc.c: New file.
15958 * benchtests/bench-memmove.c: New file.
15959 * benchtests/bench-mempcpy-ifunc.c: New file.
15960 * benchtests/bench-mempcpy.c: New file.
15961 * benchtests/bench-memset-ifunc.c: New file.
15962 * benchtests/bench-memset.c: New file.
15963 * benchtests/bench-rawmemchr-ifunc.c: New file.
15964 * benchtests/bench-rawmemchr.c: New file.
15965 * benchtests/bench-stpcpy-ifunc.c: New file.
15966 * benchtests/bench-stpcpy.c: New file.
15967 * benchtests/bench-stpncpy-ifunc.c: New file.
15968 * benchtests/bench-stpncpy.c: New file.
15969 * benchtests/bench-strcasecmp-ifunc.c: New file.
15970 * benchtests/bench-strcasecmp.c: New file.
15971 * benchtests/bench-strcasestr-ifunc.c: New file.
15972 * benchtests/bench-strcasestr.c: New file.
15973 * benchtests/bench-strcat-ifunc.c: New file.
15974 * benchtests/bench-strcat.c: New file.
15975 * benchtests/bench-strchr-ifunc.c: New file.
15976 * benchtests/bench-strchr.c: New file.
15977 * benchtests/bench-strchrnul-ifunc.c: New file.
15978 * benchtests/bench-strchrnul.c: New file.
15979 * benchtests/bench-strcmp-ifunc.c: New file.
15980 * benchtests/bench-strcmp.c: New file.
15981 * benchtests/bench-strcpy-ifunc.c: New file.
15982 * benchtests/bench-strcpy.c: New file.
15983 * benchtests/bench-strcspn-ifunc.c: New file.
15984 * benchtests/bench-strcspn.c: New file.
15985 * benchtests/bench-strlen-ifunc.c: New file.
15986 * benchtests/bench-strlen.c: New file.
15987 * benchtests/bench-strncasecmp-ifunc.c: New file.
15988 * benchtests/bench-strncasecmp.c: New file.
15989 * benchtests/bench-strncat-ifunc.c: New file.
15990 * benchtests/bench-strncat.c: New file.
15991 * benchtests/bench-strncmp-ifunc.c: New file.
15992 * benchtests/bench-strncmp.c: New file.
15993 * benchtests/bench-strncpy-ifunc.c: New file.
15994 * benchtests/bench-strncpy.c: New file.
15995 * benchtests/bench-strnlen-ifunc.c: New file.
15996 * benchtests/bench-strnlen.c: New file.
15997 * benchtests/bench-strpbrk-ifunc.c: New file.
15998 * benchtests/bench-strpbrk.c: New file.
15999 * benchtests/bench-strrchr-ifunc.c: New file.
16000 * benchtests/bench-strrchr.c: New file.
16001 * benchtests/bench-strspn-ifunc.c: New file.
16002 * benchtests/bench-strspn.c: New file.
16003 * benchtests/bench-strstr-ifunc.c: New file.
16004 * benchtests/bench-strstr.c: New file.
16006 * benchtests/Makefile: Disable parallel execution of targets.
16007 (string-bench): Add memcpy.
16008 (benchset): New variable to store a list of benchmark sets.
16009 (bench-func): Renamed from bench.
16010 (bench-set): New target.
16011 (bench): Depend on bench-func and bench-set.
16012 * benchtests/README: Add section on benchmark sets.
16013 * benchtests/bench-memcpy-ifunc.c: New file.
16014 * benchtests/bench-memcpy.c: New file.
16015 * benchtests/bench-string.h: New file.
16017 2013-06-11 Andreas Schwab <schwab@suse.de>
16020 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16021 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16022 values in the triple.
16023 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16024 terminator in the group key.
16026 2013-06-11 Andreas Jaeger <aj@suse.de>
16028 * po/zh_TW.po: Update Chinese (traditional) translation from
16029 translation project.
16031 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16033 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16034 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16035 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16036 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16037 (clock_getcpuclockid): Likewise.
16038 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16039 Add weak_alias and libc_hidden_def.
16040 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16041 * rt/clock_gettime.c (clock_gettime): Rename to
16042 __clock_gettime. Add weak_alias and libc_hidden_def.
16043 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16044 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16045 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16046 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16047 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16049 * rt/clock_settime.c (clock_settime): Rename to
16050 __clock_settime. Add weak_alias and libc_hidden_def.
16051 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16053 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16055 * mach/err_boot.sub: Remove trailing whitespace.
16056 * mach/err_ipc.sub: Likewise.
16057 * mach/err_mach.sub: Likewise.
16059 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16060 (ROUNDING_TESTS_double): Likewise.
16061 (ROUNDING_TESTS_long_double): Likewise.
16062 (ROUNDING_TESTS): Likewise.
16063 * math/libm-test.inc: Include <math-tests.h>.
16064 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16065 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16066 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16067 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16069 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16071 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16074 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16076 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16077 otherwise empty TRANS lines.
16078 * sysdeps/gnu/errlist.c: Regenerated.
16080 * catgets/gencat.c (error_print): Use (void) in function
16082 * crypt/crypt_util.c (__init_des): Likewise.
16083 * crypt/speeds.c (Stop): Likewise.
16085 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16086 * inet/ruserpass.c (token): Likewise.
16087 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16088 * intl/localealias.c (extend_alias_table): Likewise.
16089 * intl/plural-exp.c (init_germanic_plural): Likewise.
16090 * libio/fcloseall.c (__fcloseall): Likewise.
16091 * libio/genops.c (_IO_flush_all): Likewise.
16092 (_IO_flush_all_linebuffered): Likewise.
16093 (_IO_cleanup): Likewise.
16094 (_IO_iter_begin): Likewise.
16095 (_IO_iter_end): Likewise.
16096 (_IO_list_lock): Likewise.
16097 (_IO_list_unlock): Likewise.
16098 (_IO_list_resetlock): Likewise.
16099 * libio/getchar.c (getchar): Likewise.
16100 * libio/getchar_u.c (getchar_unlocked): Likewise.
16101 * libio/getwchar.c (getwchar): Likewise.
16102 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16103 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16104 * login/getpt.c (__getpt): Likewise.
16105 * login/tst-utmp.c (main): Likewise.
16106 * malloc/hooks.c (__malloc_check_init): Likewise.
16107 * malloc/malloc.c (__malloc_stats): Likewise.
16108 * malloc/mtrace.c (tr_break): Likewise.
16109 (mtrace): Likewise.
16110 (muntrace): Likewise.
16111 * misc/fstab.c (endfsent): Likewise.
16112 * misc/getclktck.c (__getclktck): Likewise.
16113 * misc/getdtsz.c (__getdtablesize): Likewise.
16114 * misc/gethostid.c (gethostid): Likewise.
16115 * misc/getpagesize.c (__getpagesize): Likewise.
16116 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16117 (__get_nprocs): Likewise.
16118 (__get_phys_pages): Likewise.
16119 (__get_avphys_pages): Likewise.
16120 * misc/getttyent.c (getttyent): Likewise.
16121 (setttyent): Likewise.
16122 (endttyent): Likewise.
16123 * misc/getusershell.c (getusershell): Likewise.
16124 (endusershell): Likewise.
16125 (setusershell): Likewise.
16126 (initshells): Likewise.
16127 * misc/hsearch.c (__hdestroy): Likewise.
16128 * misc/sync.c (sync): Likewise.
16129 * misc/syslog.c (closelog_internal): Likewise.
16130 (closelog): Likewise.
16131 * misc/ttyslot.c (ttyslot): Likewise.
16132 * misc/vhangup.c (vhangup): Likewise.
16133 * posix/fork.c (__fork): Likewise.
16134 * posix/getegid.c (__getegid): Likewise.
16135 * posix/geteuid.c (__geteuid): Likewise.
16136 * posix/getgid.c (__getgid): Likewise.
16137 * posix/getpid.c (__getpid): Likewise.
16138 * posix/getppid.c (__getppid): Likewise.
16139 * posix/getuid.c (__getuid): Likewise.
16140 * posix/pause.c (pause): Likewise.
16141 * posix/setpgrp.c (setpgrp): Likewise.
16142 * posix/setsid.c (__setsid): Likewise.
16143 * posix/test-vfork.c (noop): Likewise.
16144 * resolv/gethnamaddr.c (_endhtent): Likewise.
16145 (_gethtent): Likewise.
16146 (ht_endhostent): Likewise.
16147 (gethostent): Likewise.
16148 (dns_service): Likewise.
16149 * stdlib/drand48.c (drand48): Likewise.
16150 * stdlib/lrand48.c (lrand48): Likewise.
16151 * stdlib/mrand48.c (mrand48): Likewise.
16152 * stdlib/rand.c (rand): Likewise.
16153 * stdlib/random.c (__random): Likewise.
16154 * stdlib/setenv.c (clearenv): Likewise.
16155 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16156 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16157 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16158 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16159 (__get_nprocs): Likewise.
16160 (__get_phys_pages): Likewise.
16161 (__get_avphys_pages): Likewise.
16162 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16163 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16164 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16165 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16166 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16167 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16168 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16169 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16170 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16171 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16172 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16173 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16174 * sysdeps/posix/clock.c (clock): Likewise.
16175 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16176 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16177 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16178 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16179 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16181 (__get_nprocs_conf): Likewise.
16182 (__get_phys_pages): Likewise.
16183 (__get_avphys_pages): Likewise.
16184 * time/clock.c (clock): Likewise.
16185 * time/tzset.c (__tzname_max): Likewise.
16187 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16189 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16190 (__bswap_32): Do not use "register".
16191 * crypt/crypt.c (_ufc_doit_r): Likewise.
16192 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16193 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16194 * gmon/gmon.c (__monstartup): Likewise.
16195 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16196 * hurd/hurdmalloc.c (more_memory): Likewise.
16197 (malloc): Likewise.
16199 (realloc): Likewise.
16200 (malloc_fork_prepare): Likewise.
16201 (malloc_fork_parent): Likewise.
16202 (malloc_fork_child): Likewise.
16203 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16204 (_svcauth_des): Likewise.
16205 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16206 * inet/inet_net.c (inet_network): Likewise.
16207 * inet/inet_netof.c (inet_netof): Likewise.
16208 * inet/rcmd.c (__validuser2_sa): Likewise.
16209 * io/fts.c (fts_open): Likewise.
16210 (fts_load): Likewise.
16211 (fts_close): Likewise.
16212 (fts_read): Likewise.
16213 (fts_children): Likewise.
16214 (fts_build): Likewise.
16215 (fts_stat): Likewise.
16216 (fts_sort): Likewise.
16217 (fts_alloc): Likewise.
16218 (fts_lfree): Likewise.
16219 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16220 (_IO_file_xsgetn): Likewise.
16221 (_IO_file_xsgetn_mmap): Likewise.
16222 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16223 (_IO_cookie_write): Likewise.
16224 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16225 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16226 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16227 * malloc/obstack.c (_obstack_begin): Likewise.
16228 (_obstack_begin_1): Likewise.
16229 (_obstack_newchunk): Likewise.
16230 (_obstack_allocated_p): Likewise.
16231 (obstack_free): Likewise.
16232 (_obstack_memory_used): Likewise.
16233 * misc/getttyent.c (getttynam): Likewise.
16234 (getttyent): Likewise.
16237 * misc/getusershell.c (initshells): Likewise.
16238 * misc/syslog.c (__vsyslog_chk): Likewise.
16239 * misc/ttyslot.c (ttyslot): Likewise.
16240 * nis/nis_hash.c (__nis_hash): Likewise.
16241 * posix/fnmatch_loop.c (FCT): Likewise.
16242 * posix/getconf.c (print_all): Likewise.
16244 * posix/getopt.c (exchange): Likewise.
16245 * posix/glob.c (globfree): Likewise.
16246 (prefix_array): Likewise.
16247 (__glob_pattern_type): Likewise.
16248 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16249 (NS_GET32): Likewise.
16250 (NS_PUT16): Likewise.
16251 (NS_PUT32): Likewise.
16252 * resolv/gethnamaddr.c (getanswer): Likewise.
16253 (gethostbyname2): Likewise.
16254 (gethostbyaddr): Likewise.
16255 (_gethtent): Likewise.
16256 (_gethtbyname2): Likewise.
16257 (_gethtbyaddr): Likewise.
16258 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16259 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16260 * resolv/res_init.c (__res_vinit): Likewise.
16261 (net_mask): Likewise.
16262 * resolv/res_mkquery.c (outchar): Likewise.
16264 * stdio-common/printf_fp.c (outchar): Likewise.
16266 * stdio-common/printf_fphex.c (outchar): Likewise.
16268 * stdio-common/printf_size.c (outchar): Likewise.
16270 * stdio-common/test_rdwr.c (main): Likewise.
16271 * stdio-common/tfformat.c (matches): Likewise.
16272 * stdio-common/vfprintf.c (outchar): Likewise.
16273 (printf_unknown): Likewise.
16274 (buffered_vfprintf): Likewise.
16275 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16276 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16277 (ReadFile): Likewise.
16278 * stdlib/qsort.c (SWAP): Likewise.
16279 (_quicksort): Likewise.
16280 * stdlib/setenv.c (__add_to_environ): Likewise.
16281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16282 * stdlib/strtol_l.c (__strtol_l): Likewise.
16283 * stdlib/tst-strtod.c (main): Likewise.
16284 * stdlib/tst-strtol.c (main): Likewise.
16285 * stdlib/tst-strtoll.c (main): Likewise.
16286 * string/bits/string2.h (__strcmp_cc): Likewise.
16287 (__strcmp_cg): Likewise.
16288 (__strcspn_c1): Likewise.
16289 (__strcspn_c2): Likewise.
16290 (__strcspn_c3): Likewise.
16291 (__strspn_c1): Likewise.
16292 (__strspn_c2): Likewise.
16293 (__strspn_c3): Likewise.
16294 (__strsep_1c): Likewise.
16295 (__strsep_2c): Likewise.
16296 (__strsep_3c): Likewise.
16297 * string/memccpy.c (__memccpy): Likewise.
16298 * string/stpcpy.c (__stpcpy): Likewise.
16299 * string/strcmp.c (strcmp): Likewise.
16300 * string/strrchr.c (strrchr): Likewise.
16301 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16303 * sysdeps/mach/hurd/getcwd.c
16304 (_hurd_canonicalize_directory_name_internal): Likewise.
16305 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16306 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16307 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16308 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16309 Likewise, in both definitions.
16310 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16312 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16313 64] (__bswap_64): Likewise.
16314 * time/test_time.c (main): Likewise.
16315 * time/tzfile.c (__tzfile_read): Likewise.
16316 (__tzfile_compute): Likewise.
16317 * time/tzset.c (__tzset_parse_tz): Likewise.
16318 (tzset_internal): Likewise.
16319 (compute_change): Likewise.
16320 * wcsmbs/wcscat.c (__wcscat): Likewise.
16321 * wcsmbs/wcschr.c (wcschr): Likewise.
16322 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16323 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16324 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16325 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16326 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16327 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16328 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16329 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16330 * wcsmbs/wmemset.c (wmemset): Likewise.
16332 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16334 * scripts/config.guess: Update to version 2013-05-16.
16335 * scripts/config.sub: Update to version 2013-04-24.
16336 * scripts/install-sh: Update to version 2011-11-20.07.
16337 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16338 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16340 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16342 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16343 * elf/sln.c: Likewise.
16344 * hurd/hurd/ioctl.h: Likewise.
16345 * hurd/hurdmalloc.c: Likewise.
16346 * hurd/xattr.c: Likewise.
16347 * include/shlib-compat.h: Likewise.
16348 * inet/ruserpass.c: Likewise.
16349 * libio/iofgets_u.c: Likewise.
16350 * libio/iofgetws_u.c: Likewise.
16351 * locale/programs/ld-identification.c: Likewise.
16352 * locale/programs/ld-time.c: Likewise.
16353 * mach/msg-destroy.c: Likewise.
16354 * nss/nss_files/files-netgrp.c: Likewise.
16355 * resolv/res_data.c: Likewise.
16356 * soft-fp/op-1.h: Likewise.
16357 * soft-fp/op-2.h: Likewise.
16358 * soft-fp/op-4.h: Likewise.
16359 * soft-fp/op-common.h: Likewise.
16360 * stdio-common/printf_fphex.c: Likewise.
16361 * stdlib/strtod_l.c: Likewise.
16362 * sunrpc/rpc/clnt.h: Likewise.
16363 * sysdeps/generic/framestate.c: Likewise.
16364 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16365 * sysdeps/i386/bsd-setjmp.S: Likewise.
16366 * sysdeps/i386/__longjmp.S: Likewise.
16367 * sysdeps/i386/setjmp.S: Likewise.
16368 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16369 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16371 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16376 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16378 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16380 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16383 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16384 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16385 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16386 * sysdeps/ieee754/support.c: Likewise.
16387 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16388 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16389 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16390 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16391 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16392 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16393 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16394 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16395 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16396 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16397 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16398 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16399 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16400 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16401 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16402 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16403 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16406 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16408 * posix/transbug.c: Remove executable mode.
16410 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16412 * crypt/speeds.c: Remove trailing whitespace.
16413 * dlfcn/default.c: Likewise.
16414 * elf/ifuncdep2.c: Likewise.
16415 * elf/ifuncmain1.c: Likewise.
16416 * elf/ifuncmain1vis.c: Likewise.
16417 * elf/testobj.h: Likewise.
16418 * elf/tst-stackguard1.c: Likewise.
16419 * gmon/sys/gmon.h: Likewise.
16420 * hurd/hurdmsg.c: Likewise.
16421 * hurd/new-fd.c: Likewise.
16422 * hurd/ports-get.c: Likewise.
16423 * iconvdata/ibm1008_420.c: Likewise.
16424 * inet/tst-getni1.c: Likewise.
16425 * inet/tst-getni2.c: Likewise.
16426 * libio/ioungetc.c: Likewise.
16427 * libio/wfiledoalloc.c: Likewise.
16428 * manual/libm-err-tab.pl: Likewise.
16429 * math/w_dremf.c: Likewise.
16430 * misc/ftruncate.c: Likewise.
16431 * posix/bug-glob2.c: Likewise.
16432 * posix/tst-pcre.c: Likewise.
16433 * posix/wait4.c: Likewise.
16434 * resolv/README: Likewise.
16435 * resolv/res_debug.h: Likewise.
16436 * resolv/tst-inet_ntop.c: Likewise.
16437 * setjmp/bug269-setjmp.c: Likewise.
16438 * soft-fp/extended.h: Likewise.
16439 * soft-fp/op-1.h: Likewise.
16440 * soft-fp/op-2.h: Likewise.
16441 * soft-fp/op-4.h: Likewise.
16442 * soft-fp/op-8.h: Likewise.
16443 * soft-fp/testit.c: Likewise.
16444 * stdio-common/bug16.c: Likewise.
16445 * stdlib/random.c: Likewise.
16446 * sunrpc/rpcsvc/rquota.x: Likewise.
16447 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16448 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16449 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16450 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16451 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16452 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16453 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16454 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16455 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16456 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16457 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16458 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16459 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16460 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16462 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16463 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16465 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16466 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16467 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16468 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16469 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16470 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16471 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16472 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16473 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16474 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16475 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16476 * sysdeps/ieee754/s_lib_version.c: Likewise.
16477 * sysdeps/mach/hurd/check_fds.c: Likewise.
16478 * sysdeps/mach/hurd/getsockname.c: Likewise.
16479 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16480 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16481 * sysdeps/powerpc/bits/link.h: Likewise.
16482 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16483 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16484 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16485 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16486 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16487 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16488 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16489 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16490 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16491 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16492 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16493 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16494 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16495 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16496 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16497 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16498 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16499 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16501 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16502 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16503 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16504 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16505 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16506 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16507 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16509 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16510 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16511 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16513 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16515 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16516 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16517 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16518 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16519 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16520 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16521 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16522 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16523 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16524 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16525 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16526 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16527 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16528 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16529 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16530 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16531 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16534 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16535 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16536 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16537 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16538 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16539 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16541 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16542 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16543 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16544 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16545 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16546 * sysdeps/powerpc/sysdep.h: Likewise.
16547 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16548 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16549 * sysdeps/sh/dl-trampoline.S: Likewise.
16550 * sysdeps/sh/memset.S: Likewise.
16551 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16552 * sysdeps/sh/strlen.S: Likewise.
16553 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16554 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16555 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16556 * sysdeps/sparc/sparc32/rem.S: Likewise.
16557 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16558 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16559 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16560 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16561 * sysdeps/sparc/sparc32/urem.S: Likewise.
16562 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16563 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16564 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16565 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16567 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16568 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16569 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16570 * sysdeps/unix/bsd/times.c: Likewise.
16571 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16572 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16576 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16577 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16578 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16579 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16580 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16581 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16582 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16583 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16584 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16585 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16586 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16587 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16588 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16589 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16590 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16591 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16592 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16593 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16594 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16595 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16596 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16597 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16598 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16599 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16600 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16601 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16602 * sysdeps/x86_64/strcspn.S: Likewise.
16604 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16606 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16607 generated file. Regenerate properly from gen-translit.pl.
16608 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16609 locale/C-translit.h.
16611 2013-06-05 Andreas Schwab <schwab@suse.de>
16614 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16615 week as 6 instead of -1.
16616 * time/tst-strptime.c (day_tests): Add test case.
16618 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16620 * sysdeps/generic/math_private.h
16621 (libc_feholdexcept_setround_53bit): Replace with
16622 libc_feholdsetround_53bit.
16623 (libc_feupdateenv_53bit): Replace with
16624 libc_feresetround_53bit.
16625 (SET_RESTORE_ROUND_53BIT): Adjust.
16627 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16629 * string/test-strchrnul.c: Add copyright header.
16631 * posix/tst-getaddrinfo4.c: Increase test timeout.
16633 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16636 * math/libm-test.inc (MAX_EXP): Remove
16638 (ulp): Use MIN_EXP - MANT_DIG.
16639 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16641 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16643 * po/be.po: Revert last change.
16644 * po/zh_CN.po: Likewise.
16645 * po/header.pot: Likewise.
16647 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16649 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16650 link-libc-deps to empty as target-specific variable.
16651 * Makerules (link-libc-args): New variable.
16652 (libc-for-link): Likewise.
16653 (link-libc-deps): Likewise.
16654 (lib%.so): Depend on $(link-libc-deps). Link with
16656 (build-module): Link with $(link-libc-args).
16657 (build-module-asneeded): Likewise.
16658 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16660 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16661 target-specific variable.
16662 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16663 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16664 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16666 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16668 ($(objpfx)libpcprofile.so): Likewise.
16669 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16671 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16672 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16673 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16675 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16676 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16677 * login/Makefile ($(objpfx)libutil.so): Likewise.
16678 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16679 * math/Makefile ($(objpfx)libm.so): Likewise.
16680 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16681 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16682 variable instead of depending directly on libc.
16683 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16684 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16686 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16688 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16689 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16690 ($(objpfx)libanl.so): Likewise.
16691 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16693 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16695 * sysdeps/i386/fpu/Makefile: Remove file.
16696 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16697 ($(objpfx)libm.so): Remove dependency on ld.so.
16699 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16702 * nis/yp_xdr.c (XDRMAXNAME): Define.
16703 (XDRMAXRECORD): Define.
16704 (xdr_domainname): Use XDRMAXNAME.
16705 (xdr_mapname): Likewise.
16706 (xdr_peername): Likewise.
16707 (xdr_keydat): Use XDRMAXRECORD.
16708 (xdr_valdat): Likewise.
16710 2013-05-30 Jeff Law <law@redhat.com>
16713 * manual/errno.texi (ESTALE): Update to account for more than
16714 just NFS file systems.
16715 * sysdeps/gnu/errlist.c: Regenerated.
16717 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16720 * elf/Makefile (tests): Add tst-null-argv.
16721 (modules-names): Add tst-null-argv-lib.
16722 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16723 (tst-null-argv-ENV): Set environment for tst-null-argv.
16724 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16725 (RTLD_PROGNAME): New macro.
16726 * elf/tst-null-argv.c: New test case.
16727 * elf/tst-null-argv-lib.c: Library for test case.
16728 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16729 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16730 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16731 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16732 * elf/dl-init.c (call_init): Likewise.
16733 (_dl_init): Likewise.
16734 * elf/dl-load.c (print_search_path): Likewise.
16735 (_dl_map_object): Likewise.
16736 * elf/dl-lookup.c (do_lookup_x): Likewise.
16737 (add_dependency): Likewise.
16738 (_dl_lookup_symbol_x): Likewise.
16739 (_dl_debug_bindings): Likewise.
16740 * elf/dl-open.c (_dl_show_scope): Likewise.
16741 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16742 * elf/dl-version.c (match_symbol): Likewise.
16743 (_dl_check_map_versions): Likewise.
16744 * elf/rtld.c (dl_main): Likewise.
16745 (print_unresolved): Use RTLD_PROGNAME.
16746 (print_missing_version): Likewise.
16747 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16748 (elf_machine_rela): Likewise.
16749 * sysdeps/powerpc/powerpc32/dl-machine.c
16750 (__process_machine_rela): Likewise.
16751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16753 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16755 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16757 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16764 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16766 * po/be.po: Add descriptive title.
16767 * po/zh_CN.po: Likewise.
16768 * po/header.pot: Likewise.
16770 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16772 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16774 (enlarge_archive): Likewise.
16776 2013-05-28 Ben North <ben@redfrontdoor.org>
16778 * manual/arith.texi (frexp): It is the magnitude of the return
16779 value which lies in [0.5, 1), not the return value itself.
16781 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16785 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16787 * stdio-common/bug26.c (main): Correct fscanf template.
16789 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16790 declare _dl_skip_args.
16792 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16795 * manual/platform.texi: Add missing @end deftypefun.
16797 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16800 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16801 bit of mantissa of 2^16382.
16802 * math/libm-test.inc (hypot_test_data): Add more tests.
16804 * math/libm-test.inc: Add drem and pow10 to list of tested
16806 (pow10_test): New function.
16807 (drem_test): Likewise.
16808 (drem_test_tonearest): Likewise.
16809 (drem_test_towardzero): Likewise.
16810 (drem_test_downward): Likewise.
16811 (drem_test_upward): Likewise.
16812 (main): Call the new functions.
16814 * math/libm-test.inc (finite_test_data): Remove.
16815 (finite_test): Run tests from isfinite_test_data.
16816 (gamma_test_data): Remove.
16817 (gamma_test): Run tests from lgamma_test_data.
16818 * sysdeps/i386/fpu/libm-test-ulps: Update.
16819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16821 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16823 * manual/platform.texi: Add PowerPC PPR function set documentation.
16824 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16827 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16829 * math/libm-test.inc (MAX_EXP): Define.
16831 (ulp): New function.
16832 (check_float_internal): Use ULPDIFF.
16833 (cpow_test): Disable failing test.
16834 (check_ulp): Test ulp() implemetnation.
16835 (main): Call check_ulp before starting tests.
16837 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16839 * math/gen-libm-test.pl (generate_testfile): Do not handle
16840 START_DATA and END_DATA.
16841 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16843 (acos_tonearest_test_data): Likewise.
16844 (acos_towardzero_test_data): Likewise.
16845 (acos_downward_test_data): Likewise.
16846 (acos_upward_test_data): Likewise.
16847 (acosh_test_data): Likewise.
16848 (asin_test_data): Likewise.
16849 (asin_tonearest_test_data): Likewise.
16850 (asin_towardzero_test_data): Likewise.
16851 (asin_downward_test_data): Likewise.
16852 (asin_upward_test_data): Likewise.
16853 (asinh_test_data): Likewise.
16854 (atan_test_data): Likewise.
16855 (atanh_test_data): Likewise.
16856 (atan2_test_data): Likewise.
16857 (cabs_test_data): Likewise.
16858 (cacos_test_data): Likewise.
16859 (cacosh_test_data): Likewise.
16860 (carg_test_data): Likewise.
16861 (casin_test_data): Likewise.
16862 (casinh_test_data): Likewise.
16863 (catan_test_data): Likewise.
16864 (catanh_test_data): Likewise.
16865 (cbrt_test_data): Likewise.
16866 (ccos_test_data): Likewise.
16867 (ccosh_test_data): Likewise.
16868 (ceil_test_data): Likewise.
16869 (cexp_test_data): Likewise.
16870 (cimag_test_data): Likewise.
16871 (clog_test_data): Likewise.
16872 (clog10_test_data): Likewise.
16873 (conj_test_data): Likewise.
16874 (copysign_test_data): Likewise.
16875 (cos_test_data): Likewise.
16876 (cos_tonearest_test_data): Likewise.
16877 (cos_towardzero_test_data): Likewise.
16878 (cos_downward_test_data): Likewise.
16879 (cos_upward_test_data): Likewise.
16880 (cosh_test_data): Likewise.
16881 (cosh_tonearest_test_data): Likewise.
16882 (cosh_towardzero_test_data): Likewise.
16883 (cosh_downward_test_data): Likewise.
16884 (cosh_upward_test_data): Likewise.
16885 (cpow_test_data): Likewise.
16886 (cproj_test_data): Likewise.
16887 (creal_test_data): Likewise.
16888 (csin_test_data): Likewise.
16889 (csinh_test_data): Likewise.
16890 (csqrt_test_data): Likewise.
16891 (ctan_test_data): Likewise.
16892 (ctan_tonearest_test_data): Likewise.
16893 (ctan_towardzero_test_data): Likewise.
16894 (ctan_downward_test_data): Likewise.
16895 (ctan_upward_test_data): Likewise.
16896 (ctanh_test_data): Likewise.
16897 (ctanh_tonearest_test_data): Likewise.
16898 (ctanh_towardzero_test_data): Likewise.
16899 (ctanh_downward_test_data): Likewise.
16900 (ctanh_upward_test_data): Likewise.
16901 (erf_test_data): Likewise.
16902 (erfc_test_data): Likewise.
16903 (exp_test_data): Likewise.
16904 (exp_tonearest_test_data): Likewise.
16905 (exp_towardzero_test_data): Likewise.
16906 (exp_downward_test_data): Likewise.
16907 (exp_upward_test_data): Likewise.
16908 (exp10_test_data): Likewise.
16909 (exp2_test_data): Likewise.
16910 (expm1_test_data): Likewise.
16911 (fabs_test_data): Likewise.
16912 (fdim_test_data): Likewise.
16913 (finite_test_data): Likewise.
16914 (floor_test_data): Likewise.
16915 (fma_test_data): Likewise.
16916 (fma_towardzero_test_data): Likewise.
16917 (fma_downward_test_data): Likewise.
16918 (fma_upward_test_data): Likewise.
16919 (fmax_test_data): Likewise.
16920 (fmin_test_data): Likewise.
16921 (fmod_test_data): Likewise.
16922 (fpclassify_test_data): Likewise.
16923 (frexp_test_data): Likewise.
16924 (gamma_test_data): Likewise.
16925 (hypot_test_data): Likewise.
16926 (ilogb_test_data): Likewise.
16927 (isfinite_test_data): Likewise.
16928 (isgreater_test_data): Likewise.
16929 (isgreaterequal_test_data): Likewise.
16930 (isinf_test_data): Likewise.
16931 (isless_test_data): Likewise.
16932 (islessequal_test_data): Likewise.
16933 (islessgreater_test_data): Likewise.
16934 (isnan_test_data): Likewise.
16935 (isnormal_test_data): Likewise.
16936 (issignaling_test_data): Likewise.
16937 (isunordered_test_data): Likewise.
16938 (j0_test_data): Likewise.
16939 (j1_test_data): Likewise.
16940 (jn_test_data): Likewise.
16941 (ldexp_test_data): Likewise.
16942 (lgamma_test_data): Likewise.
16943 (lrint_test_data): Likewise.
16944 (lrint_tonearest_test_data): Likewise.
16945 (lrint_towardzero_test_data): Likewise.
16946 (lrint_downward_test_data): Likewise.
16947 (lrint_upward_test_data): Likewise.
16948 (llrint_test_data): Likewise.
16949 (llrint_tonearest_test_data): Likewise.
16950 (llrint_towardzero_test_data): Likewise.
16951 (llrint_downward_test_data): Likewise.
16952 (llrint_upward_test_data): Likewise.
16953 (log_test_data): Likewise.
16954 (log10_test_data): Likewise.
16955 (log1p_test_data): Likewise.
16956 (log2_test_data): Likewise.
16957 (logb_test_data): Likewise.
16958 (logb_downward_test_data): Likewise.
16959 (lround_test_data): Likewise.
16960 (llround_test_data): Likewise.
16961 (modf_test_data): Likewise.
16962 (nearbyint_test_data): Likewise.
16963 (nextafter_test_data): Likewise.
16964 (nexttoward_test_data): Likewise.
16965 (pow_test_data): Likewise.
16966 (pow_tonearest_test_data): Likewise.
16967 (pow_towardzero_test_data): Likewise.
16968 (pow_downward_test_data): Likewise.
16969 (pow_upward_test_data): Likewise.
16970 (remainder_test_data): Likewise.
16971 (remainder_tonearest_test_data): Likewise.
16972 (remainder_towardzero_test_data): Likewise.
16973 (remainder_downward_test_data): Likewise.
16974 (remainder_upward_test_data): Likewise.
16975 (remquo_test_data): Likewise.
16976 (rint_test_data): Likewise.
16977 (rint_tonearest_test_data): Likewise.
16978 (rint_towardzero_test_data): Likewise.
16979 (rint_downward_test_data): Likewise.
16980 (rint_upward_test_data): Likewise.
16981 (round_test_data): Likewise.
16982 (scalb_test_data): Likewise.
16983 (scalbn_test_data): Likewise.
16984 (scalbln_test_data): Likewise.
16985 (signbit_test_data): Likewise.
16986 (sin_test_data): Likewise.
16987 (sin_tonearest_test_data): Likewise.
16988 (sin_towardzero_test_data): Likewise.
16989 (sin_downward_test_data): Likewise.
16990 (sin_upward_test_data): Likewise.
16991 (sincos_test_data): Likewise.
16992 (sinh_test_data): Likewise.
16993 (sinh_tonearest_test_data): Likewise.
16994 (sinh_towardzero_test_data): Likewise.
16995 (sinh_downward_test_data): Likewise.
16996 (sinh_upward_test_data): Likewise.
16997 (sqrt_test_data): Likewise.
16998 (tan_test_data): Likewise.
16999 (tan_tonearest_test_data): Likewise.
17000 (tan_towardzero_test_data): Likewise.
17001 (tan_downward_test_data): Likewise.
17002 (tan_upward_test_data): Likewise.
17003 (tanh_test_data): Likewise.
17004 (tgamma_test_data): Likewise.
17005 (trunc_test_data): Likewise.
17006 (y0_test_data): Likewise.
17007 (y1_test_data): Likewise.
17008 (yn_test_data): Likewise.
17009 (significand_test_data): Likewise.
17011 * math/gen-libm-test.pl (@functions): Remove variable.
17012 (generate_testfile): Don't handle START and END lines.
17013 * math/libm-test.inc (START): New macro.
17015 (END_COMPLEX): Likewise.
17016 (acos_test): Use END macro without arguments.
17017 (acos_test_tonearest): Likewise.
17018 (acos_test_towardzero): Likewise.
17019 (acos_test_downward): Likewise.
17020 (acos_test_upward): Likewise.
17021 (acosh_test): Likewise.
17022 (asin_test): Likewise.
17023 (asin_test_tonearest): Likewise.
17024 (asin_test_towardzero): Likewise.
17025 (asin_test_downward): Likewise.
17026 (asin_test_upward): Likewise.
17027 (asinh_test): Likewise.
17028 (atan_test): Likewise.
17029 (atanh_test): Likewise.
17030 (atan2_test): Likewise.
17031 (cabs_test): Likewise.
17032 (cacos_test): Use END_COMPLEX macro without arguments.
17033 (cacosh_test): Likewise.
17034 (carg_test): Use END macro without arguments.
17035 (casin_test): Use END_COMPLEX macro without arguments.
17036 (casinh_test): Likewise.
17037 (catan_test): Likewise.
17038 (catanh_test): Likewise.
17039 (cbrt_test): Use END macro without arguments.
17040 (ccos_test): Use END_COMPLEX macro without arguments.
17041 (ccosh_test): Likewise.
17042 (ceil_test): Use END macro without arguments.
17043 (cexp_test): Use END_COMPLEX macro without arguments.
17044 (cimag_test): Use END macro without arguments.
17045 (clog_test): Use END_COMPLEX macro without arguments.
17046 (clog10_test): Likewise.
17047 (conj_test): Likewise.
17048 (copysign_test): Use END macro without arguments.
17049 (cos_test): Likewise.
17050 (cos_test_tonearest): Likewise.
17051 (cos_test_towardzero): Likewise.
17052 (cos_test_downward): Likewise.
17053 (cos_test_upward): Likewise.
17054 (cosh_test): Likewise.
17055 (cosh_test_tonearest): Likewise.
17056 (cosh_test_towardzero): Likewise.
17057 (cosh_test_downward): Likewise.
17058 (cosh_test_upward): Likewise.
17059 (cpow_test): Use END_COMPLEX macro without arguments.
17060 (cproj_test): Likewise.
17061 (creal_test): Use END macro without arguments.
17062 (csin_test): Use END_COMPLEX macro without arguments.
17063 (csinh_test): Likewise.
17064 (csqrt_test): Likewise.
17065 (ctan_test): Likewise.
17066 (ctan_test_tonearest): Likewise.
17067 (ctan_test_towardzero): Likewise.
17068 (ctan_test_downward): Likewise.
17069 (ctan_test_upward): Likewise.
17070 (ctanh_test): Likewise.
17071 (ctanh_test_tonearest): Likewise.
17072 (ctanh_test_towardzero): Likewise.
17073 (ctanh_test_downward): Likewise.
17074 (ctanh_test_upward): Likewise.
17075 (erf_test): Use END macro without arguments.
17076 (erfc_test): Likewise.
17077 (exp_test): Likewise.
17078 (exp_test_tonearest): Likewise.
17079 (exp_test_towardzero): Likewise.
17080 (exp_test_downward): Likewise.
17081 (exp_test_upward): Likewise.
17082 (exp10_test): Likewise.
17083 (exp2_test): Likewise.
17084 (expm1_test): Likewise.
17085 (fabs_test): Likewise.
17086 (fdim_test): Likewise.
17087 (finite_test): Likewise.
17088 (floor_test): Likewise.
17089 (fma_test): Likewise.
17090 (fma_test_towardzero): Likewise.
17091 (fma_test_downward): Likewise.
17092 (fma_test_upward): Likewise.
17093 (fmax_test): Likewise.
17094 (fmin_test): Likewise.
17095 (fmod_test): Likewise.
17096 (fpclassify_test): Likewise.
17097 (frexp_test): Likewise.
17098 (gamma_test): Likewise.
17099 (hypot_test): Likewise.
17100 (ilogb_test): Likewise.
17101 (isfinite_test): Likewise.
17102 (isgreater_test): Likewise.
17103 (isgreaterequal_test): Likewise.
17104 (isinf_test): Likewise.
17105 (isless_test): Likewise.
17106 (islessequal_test): Likewise.
17107 (islessgreater_test): Likewise.
17108 (isnan_test): Likewise.
17109 (isnormal_test): Likewise.
17110 (issignaling_test): Likewise.
17111 (isunordered_test): Likewise.
17112 (j0_test): Likewise.
17113 (j1_test): Likewise.
17114 (jn_test): Likewise.
17115 (ldexp_test): Likewise.
17116 (lgamma_test): Likewise.
17117 (lrint_test): Likewise.
17118 (lrint_test_tonearest): Likewise.
17119 (lrint_test_towardzero): Likewise.
17120 (lrint_test_downward): Likewise.
17121 (lrint_test_upward): Likewise.
17122 (llrint_test): Likewise.
17123 (llrint_test_tonearest): Likewise.
17124 (llrint_test_towardzero): Likewise.
17125 (llrint_test_downward): Likewise.
17126 (llrint_test_upward): Likewise.
17127 (log_test): Likewise.
17128 (log10_test): Likewise.
17129 (log1p_test): Likewise.
17130 (log2_test): Likewise.
17131 (logb_test): Likewise.
17132 (logb_test_downward): Likewise.
17133 (lround_test): Likewise.
17134 (llround_test): Likewise.
17135 (modf_test): Likewise.
17136 (nearbyint_test): Likewise.
17137 (nextafter_test): Likewise.
17138 (nexttoward_test): Likewise.
17139 (pow_test): Likewise.
17140 (pow_test_tonearest): Likewise.
17141 (pow_test_towardzero): Likewise.
17142 (pow_test_downward): Likewise.
17143 (pow_test_upward): Likewise.
17144 (remainder_test): Likewise.
17145 (remainder_test_tonearest): Likewise.
17146 (remainder_test_towardzero): Likewise.
17147 (remainder_test_downward): Likewise.
17148 (remainder_test_upward): Likewise.
17149 (remquo_test): Likewise.
17150 (rint_test): Likewise.
17151 (rint_test_tonearest): Likewise.
17152 (rint_test_towardzero): Likewise.
17153 (rint_test_downward): Likewise.
17154 (rint_test_upward): Likewise.
17155 (round_test): Likewise.
17156 (scalb_test): Likewise.
17157 (scalbn_test): Likewise.
17158 (scalbln_test): Likewise.
17159 (signbit_test): Likewise.
17160 (sin_test): Likewise.
17161 (sin_test_tonearest): Likewise.
17162 (sin_test_towardzero): Likewise.
17163 (sin_test_downward): Likewise.
17164 (sin_test_upward): Likewise.
17165 (sincos_test): Likewise.
17166 (sinh_test): Likewise.
17167 (sinh_test_tonearest): Likewise.
17168 (sinh_test_towardzero): Likewise.
17169 (sinh_test_downward): Likewise.
17170 (sinh_test_upward): Likewise.
17171 (sqrt_test): Likewise.
17172 (tan_test): Likewise.
17173 (tan_test_tonearest): Likewise.
17174 (tan_test_towardzero): Likewise.
17175 (tan_test_downward): Likewise.
17176 (tan_test_upward): Likewise.
17177 (tanh_test): Likewise.
17178 (tgamma_test): Likewise.
17179 (trunc_test): Likewise.
17180 (y0_test): Likewise.
17181 (y1_test): Likewise.
17182 (yn_test): Likewise.
17183 (significand_test): Likewise.
17185 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17188 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17190 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17193 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17194 __ppc_mdoio and __ppc_mdoom.
17195 * manual/platform.texi: Document new functions __ppc_yield,
17196 __ppc_mdoio and __ppc_mdoom.
17198 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17200 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17201 (main): Mention "tls" pseudo-hwcap is legacy.
17202 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17204 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17206 * math/gen-libm-test.pl (parse_args): Output only string of
17207 arguments as text for test name, not full call or descriptions of
17208 tests for extra outputs.
17209 (generate_testfile): Do not pass function name to parse_args.
17210 Generate this_func variable from START.
17211 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17213 (struct test_ff_f_data): Likewise.
17214 (test_ff_f_data_nexttoward): Likewise.
17215 (struct test_fi_f_data): Likewise.
17216 (struct test_fl_f_data): Likewise.
17217 (struct test_if_f_data): Likewise.
17218 (struct test_fff_f_data): Likewise.
17219 (struct test_c_f_data): Likewise.
17220 (struct test_f_f1_data): Likewise. Remove field extra_name.
17221 (struct test_fF_f1_data): Likewise.
17222 (struct test_ffI_f1_data): Likewise.
17223 (struct test_c_c_data): Rename test_name field to arg_str.
17224 (struct test_cc_c_data): Likewise.
17225 (struct test_f_i_data): Likewise.
17226 (struct test_ff_i_data): Likewise.
17227 (struct test_f_l_data): Likewise.
17228 (struct test_f_L_data): Likewise.
17229 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17231 (COMMON_TEST_SETUP): New macro.
17232 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17233 (COMMON_TEST_CLEANUP): Likewise.
17234 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17235 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17237 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17238 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17240 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17241 (RUN_TEST_fff_f): Take argument string. Call new setup and
17243 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17244 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17246 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17247 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17249 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17250 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17252 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17253 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17255 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17256 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17258 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17259 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17261 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17262 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17264 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17265 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17267 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17268 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17270 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17271 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17273 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17274 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17276 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17277 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17279 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17280 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17282 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17283 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17285 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17286 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17288 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17290 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17292 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17293 to _sifields.sigfault.
17294 (si_addr_lsb): Define new macro.
17295 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17297 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17299 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17302 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17304 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17306 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17307 loading the domain.
17309 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17311 * math/gen-libm-test.pl (parse_args): Do not include expected
17312 result in test name.
17313 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17314 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17315 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17317 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17320 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17322 * benchtests/Makefile: Sort function entries.
17324 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17325 tanh, asinh, acosh, atanh.
17326 * benchtests/acos-inputs: New file.
17327 * benchtests/acosh-inputs: New file.
17328 * benchtests/asin-inputs: New file.
17329 * benchtests/asinh-inputs: New file.
17330 * benchtests/atanh-inputs: New file.
17331 * benchtests/cosh-inputs: New file.
17332 * benchtests/log-inputs: New file.
17333 * benchtests/sinh-inputs: New file.
17334 * benchtests/tanh-inputs: New file.
17336 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17339 * posix/tst-getaddrinfo4.c: New test.
17340 * posix/Makefile (tests): Add it.
17342 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17345 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17346 when no services were used.
17347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17348 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17350 2013-05-21 Andreas Schwab <schwab@suse.de>
17353 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17354 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17356 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17357 redundant variable declarations and reallocation of buffer when
17358 parsing as IPv6 address. Always set NSS status when called from
17359 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17360 buffer too small. Correct computation of needed size.
17361 * nss/Makefile (tests): Add test-digits-dots.
17362 * nss/test-digits-dots.c: New test.
17364 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17366 * benchtests/Makefile: Remove instructions for adding
17368 * benchtests/README: New file to explain how to execute and
17369 enhance the benchmark tests.
17371 2013-05-21 Andreas Schwab <schwab@suse.de>
17374 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17375 * setjmp/tst-sigsetjmp.c: New test.
17377 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17379 * sysdeps/x86_64/memset.S (memset): New implementation.
17380 (__bzero): Likewise.
17381 (__memset_tail): New function.
17383 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17385 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17386 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17387 __memcpy_sse2_unaligned ifunc selection.
17388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17389 Add memcpy-sse2-unaligned.S.
17390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17391 Add: __memcpy_sse2_unaligned.
17393 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17397 math_force_eval before restoring floating-point envrionment.
17398 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17399 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17401 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17403 (__nearbyintl): Use math_force_eval before restoring
17404 floating-point environment.
17405 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17407 * math/gen-libm-test.pl (special_functions): Remove.
17408 (parse_args): Don't handle TEST_extra. Handle functions with no
17410 * math/libm-test.inc (struct test_sincos_data): Replace with
17411 struct test_fFF_11_data.
17412 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17413 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17414 (sincos_test_data): Change element type to struct
17415 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17416 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17417 RUN_TEST_LOOP_sincos.
17418 * math/README.libm-test: Don't mention special handling of
17419 individual functions.
17420 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17422 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17423 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17427 * math/gen-libm-test.pl (get_variable): Remove function.
17428 (parse_args): Don't show pointer parameters to call in test
17429 names. Use "extra output N" in test names for extra outputs
17430 rather than naming variables.
17432 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17435 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17436 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17437 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17439 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17441 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17444 * math/gen-libm-test.pl (@tests): Remove variable.
17445 ($count): Likewise.
17446 (new_test): Remove function.
17447 (show_exceptions): New function.
17448 (special_functions): Use show_exceptions instead of new_test.
17449 (parse_args): Likewise.
17450 (generate_testfile): Pass only function name in generated call to
17451 print_max_error or print_complex_max_error.
17452 (get_ulps): Do not handle complex tests specially.
17453 (output_test): Rename to ...
17454 (get_all_ulps_for_test): ... this. Return a string rather than
17455 printing to a file. Require ulps to be present.
17456 (output_ulps): Generate arrays rather than #defines.
17457 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17458 (struct ulp_data): New type.
17459 (BUILD_COMPLEX_ULP): Remove macro.
17460 (compare_ulp_data): New function.
17461 (find_ulps): Likewise.
17462 (find_test_ulps): Likewise.
17463 (find_function_ulps): Likewise.
17464 (find_complex_function_ulps): Likewise.
17465 (print_max_error): Determine allowed ulps using
17466 find_function_ulps.
17467 (print_complex_max_error): Determine allowed ulps using
17468 find_complex_function_ulps.
17469 (check_float_internal): Determine max ulps using find_test_ulps.
17470 (check_float): Do not take max_ulp parameter. Update call to
17471 check_float_internal.
17472 (check_complex): Likewise.
17473 (check_int): Do not take max_ulp parameter.
17474 (check_long): Likewise.
17475 (check_bool): Likewise.
17476 (check_longlong): Likewise.
17477 (struct test_f_f_data): Remove max_ulp field.
17478 (struct test_ff_f_data): Likewise.
17479 (struct test_ff_f_data_nexttoward): Likewise.
17480 (struct test_fi_f_data): Likewise.
17481 (struct test_fl_f_data): Likewise.
17482 (struct test_if_f_data): Likewise.
17483 (struct test_fff_f_data): Likewise.
17484 (struct test_c_f_data): Likewise.
17485 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17486 (struct test_fF_f1_data): Likewise.
17487 (struct test_ffI_f1_data): Likewise.
17488 (struct test_c_c_data): Remove max_ulp field.
17489 (struct test_cc_c_data): Likewise.
17490 (struct test_f_i_data): Likewise.
17491 (struct test_ff_i_data): Likewise.
17492 (struct test_f_l_data): Likewise.
17493 (struct test_f_L_data): Likewise.
17494 (struct test_sincos_data): Likewise.
17495 (RUN_TEST_f_f): Do not handle ulps.
17496 (RUN_TEST_LOOP_f_f): Likewise.
17497 (RUN_TEST_2_f): Likewise.
17498 (RUN_TEST_LOOP_2_f): Likewise.
17499 (RUN_TEST_fff_f): Likewise.
17500 (RUN_TEST_LOOP_fff_f): Likewise.
17501 (RUN_TEST_c_f): Likewise.
17502 (RUN_TEST_LOOP_c_f): Likewise.
17503 (RUN_TEST_f_f1): Likewise.
17504 (RUN_TEST_LOOP_f_f1): Likewise.
17505 (RUN_TEST_fF_f1): Likewise.
17506 (RUN_TEST_LOOP_fF_f1): Likewise.
17507 (RUN_TEST_fI_f1): Likewise.
17508 (RUN_TEST_LOOP_fI_f1): Likewise.
17509 (RUN_TEST_ffI_f1): Likewise.
17510 (RUN_TEST_LOOP_ffI_f1): Likewise.
17511 (RUN_TEST_c_c): Likewise.
17512 (RUN_TEST_LOOP_c_c): Likewise.
17513 (RUN_TEST_cc_c): Likewise.
17514 (RUN_TEST_LOOP_cc_c): Likewise.
17515 (RUN_TEST_f_i): Likewise.
17516 (RUN_TEST_LOOP_f_i): Likewise.
17517 (RUN_TEST_f_i_tg): Likewise.
17518 (RUN_TEST_LOOP_f_i_tg): Likewise.
17519 (RUN_TEST_ff_i_tg): Likewise.
17520 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17521 (RUN_TEST_f_b): Likewise.
17522 (RUN_TEST_LOOP_f_b): Likewise.
17523 (RUN_TEST_f_b_tg): Likewise.
17524 (RUN_TEST_LOOP_f_b_tg): Likewise.
17525 (RUN_TEST_f_l): Likewise.
17526 (RUN_TEST_LOOP_f_l): Likewise.
17527 (RUN_TEST_f_L): Likewise.
17528 (RUN_TEST_LOOP_f_L): Likewise.
17529 (RUN_TEST_sincos): Likewise.
17530 (RUN_TEST_LOOP_sincos): Likewise.
17532 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17536 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17537 main case of finite arguments, set rounding mode to FE_TONEAREST
17538 and discard exceptions.
17539 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17541 (remainder_tonearest_test_data): New variable.
17542 (remainder_test_tonearest): New function.
17543 (remainder_towardzero_test_data): New variable.
17544 (remainder_test_towardzero): New function.
17545 (remainder_downward_test_data): New variable.
17546 (remainder_test_downward): New function.
17547 (remainder_upward_test_data): New variable.
17548 (remainder_test_upward): New function.
17549 (main): Call the new test functions.
17551 * math/libm-test.inc (struct test_f_f1_data): Remove field
17553 (struct test_fF_f1_data): Likewise.
17554 (struct test_ffI_f1_data): Likewise.
17555 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17556 based on value of EXTRA_EXPECTED.
17557 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17558 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17559 EXTRA_VAR based on value of EXTRA_EXPECTED.
17560 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17561 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17562 EXTRA_VAR based on value of EXTRA_EXPECTED.
17563 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17564 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17565 EXTRA_VAR based on value of EXTRA_EXPECTED.
17566 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17567 * math/gen-libm-test.pl (parse_args): Don't output initializers
17568 for extra output values.
17570 * math/libm-test.inc (check_int): Expect result to be exactly
17571 equal to expected value and do not handle ulps.
17572 (check_long): Likewise.
17573 (check_longlong): Likewise.
17575 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17577 (cimag_test_data): Likewise.
17578 (conj_test_data): Likewise.
17579 (copysign_test_data): Likewise.
17580 (cproj_test_data): Likewise.
17581 (creal_test_data): Likewise.
17582 (fabs_test_data): Likewise.
17583 (fdim_test_data): Likewise.
17584 (finite_test_data): Likewise.
17585 (floor_test_data): Likewise.
17586 (fmax_test_data): Likewise.
17587 (fmin_test_data): Likewise.
17588 (fmod_test_data): Likewise.
17589 (fpclassify_test_data): Likewise.
17590 (frexp_test_data): Likewise.
17591 (ilogb_test_data): Likewise.
17592 (isfinite_test_data): Likewise.
17593 (isgreater_test_data): Likewise.
17594 (isgreaterequal_test_data): Likewise.
17595 (isinf_test_data): Likewise.
17596 (isless_test_data): Likewise.
17597 (islessequal_test_data): Likewise.
17598 (islessgreater_test_data): Likewise.
17599 (isnan_test_data): Likewise.
17600 (isnormal_test_data): Likewise.
17601 (issignaling_test_data): Likewise.
17602 (isunordered_test_data): Likewise.
17603 (ldexp_test_data): Likewise.
17604 (lrint_test_data): Likewise.
17605 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17606 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17607 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17608 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17609 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17610 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17612 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17613 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17614 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17615 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17617 (lrint_downward_test_data): Test for "inexact" exceptions.
17618 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17619 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17620 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17622 (lrint_upward_test_data): Test for "inexact" exceptions.
17623 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17625 (llrint_test_data): Test for "inexact" exceptions.
17626 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17627 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17628 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17629 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17630 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17631 (llrint_downward_test_data): Test for "inexact" exceptions.
17632 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17633 (llrint_upward_test_data): Test for "inexact" exceptions.
17634 (logb_test_data): Likewise.
17635 (logb_downward_test_data): Likewise.
17636 (nextafter_test_data): Likewise.
17637 (nexttoward_test_data): Likewise.
17638 (remainder_test_data): Likewise.
17639 (remquo_test_data): Likewise.
17640 (scalbn_test_data): Likewise.
17641 (scalbln_test_data): Likewise.
17642 (signbit_test_data): Likewise.
17643 (sqrt_test_data): Likewise.
17644 (significand_test_data): Likewise.
17646 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17649 * benchtests/bench-modf.c (struct args): Mark arg0 as
17651 * scripts/bench.pl: Mark members of struct args as volatile.
17653 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17656 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17657 negative infinity on POWER6 or lower.
17658 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17660 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17663 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17664 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17665 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17666 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17667 (_FP_SETQNAN): New macro.
17668 (_FP_SETQNAN_SEMIRAW): Likewise.
17669 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17670 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17671 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17672 (FP_EXTEND): Use _FP_FRAC_SNANP.
17673 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17674 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17676 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17678 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17681 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17683 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17684 with DIVIDE_BY_ZERO_EXCEPTION.
17685 (gamma_test_data): Likewise.
17686 (lgamma_test_data): Likewise.
17687 (log_test_data): Likewise.
17688 (log10_test_data): Likewise.
17689 (log2_test_data): Likewise.
17690 (tgamma_test_data): Likewise.
17692 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17693 (acos_test_tonearest): Likewise.
17694 (acos_test_towardzero): Likewise.
17695 (acos_test_downward): Likewise.
17696 (acos_test_upward): Likewise.
17697 (acosh_test): Likewise.
17698 (asin_test): Likewise.
17699 (asin_test_tonearest): Likewise.
17700 (asin_test_towardzero): Likewise.
17701 (asin_test_downward): Likewise.
17702 (asin_test_upward): Likewise.
17703 (asinh_test): Likewise.
17704 (atan_test): Likewise.
17705 (atanh_test): Likewise.
17706 (atan2_test): Likewise.
17707 (cabs_test): Likewise.
17708 (cacos_test): Likewise.
17709 (cacosh_test): Likewise.
17710 (casin_test): Likewise.
17711 (casinh_test): Likewise.
17712 (catan_test): Likewise.
17713 (catanh_test): Likewise.
17714 (cbrt_test): Likewise.
17715 (ccos_test): Likewise.
17716 (ccosh_test): Likewise.
17717 (cexp_test): Likewise.
17718 (clog_test): Likewise.
17719 (clog10_test): Likewise.
17720 (cos_test): Likewise.
17721 (cos_test_tonearest): Likewise.
17722 (cos_test_towardzero): Likewise.
17723 (cos_test_downward): Likewise.
17724 (cos_test_upward): Likewise.
17725 (cosh_test): Likewise.
17726 (cosh_test_tonearest): Likewise.
17727 (cosh_test_towardzero): Likewise.
17728 (cosh_test_downward): Likewise.
17729 (cosh_test_upward): Likewise.
17730 (cpow_test): Likewise.
17731 (csin_test): Likewise.
17732 (csinh_test): Likewise.
17733 (csqrt_test): Likewise.
17734 (ctan_test): Likewise.
17735 (ctan_test_tonearest): Likewise.
17736 (ctan_test_towardzero): Likewise.
17737 (ctan_test_downward): Likewise.
17738 (ctan_test_upward): Likewise.
17739 (ctanh_test): Likewise.
17740 (ctanh_test_tonearest): Likewise.
17741 (ctanh_test_towardzero): Likewise.
17742 (ctanh_test_downward): Likewise.
17743 (ctanh_test_upward): Likewise.
17744 (erf_test): Likewise.
17745 (erfc_test): Likewise.
17746 (exp_test): Likewise.
17747 (exp_test_tonearest): Likewise.
17748 (exp_test_towardzero): Likewise.
17749 (exp_test_downward): Likewise.
17750 (exp_test_upward): Likewise.
17751 (exp10_test): Likewise.
17752 (exp2_test): Likewise.
17753 (expm1_test): Likewise.
17754 (fmod_test): Likewise.
17755 (gamma_test): Likewise.
17756 (hypot_test): Likewise.
17757 (j0_test): Likewise.
17758 (j1_test): Likewise.
17759 (jn_test): Likewise.
17760 (lgamma_test): Likewise.
17761 (log_test): Likewise.
17762 (log10_test): Likewise.
17763 (log1p_test): Likewise.
17764 (log2_test): Likewise.
17765 (logb_test_downward): Likewise.
17766 (pow_test): Likewise.
17767 (pow_test_tonearest): Likewise.
17768 (pow_test_towardzero): Likewise.
17769 (pow_test_downward): Likewise.
17770 (pow_test_upward): Likewise.
17771 (remainder_test): Likewise.
17772 (remquo_test): Likewise.
17773 (sin_test): Likewise.
17774 (sin_test_tonearest): Likewise.
17775 (sin_test_towardzero): Likewise.
17776 (sin_test_downward): Likewise.
17777 (sin_test_upward): Likewise.
17778 (sincos_test): Likewise.
17779 (sinh_test): Likewise.
17780 (sinh_test_tonearest): Likewise.
17781 (sinh_test_towardzero): Likewise.
17782 (sinh_test_downward): Likewise.
17783 (sinh_test_upward): Likewise.
17784 (sqrt_test): Likewise.
17785 (tan_test): Likewise.
17786 (tan_test_tonearest): Likewise.
17787 (tan_test_towardzero): Likewise.
17788 (tan_test_downward): Likewise.
17789 (tan_test_upward): Likewise.
17790 (tanh_test): Likewise.
17791 (tgamma_test): Likewise.
17792 (y0_test): Likewise.
17793 (y1_test): Likewise.
17794 (yn_test): Likewise.
17796 * math/gen-libm-test.pl (adjust_arg): Remove function.
17797 (special_function): Remove argument $in_func. Only handle
17798 generating output for tables of tests, not inside functions.
17799 (parse_args): Likewise.
17800 (generate_testfile): Remove variable $in_func. Update call to
17802 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17803 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17804 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17805 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17806 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17807 (MAX_VALUE_INIT): Rename macro to max_value.
17808 (MIN_VALUE_INIT): Rename macro to min_value.
17809 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17810 (plus_zero): Remove variable.
17811 (minus_zero): Likewise.
17812 (plus_infty): Likewise.
17813 (minus_infty): Likewise.
17814 (qnan_value): Likewise.
17815 (max_value): Likewise.
17816 (min_value): Likewise.
17817 (min_subnorm_value): Likewise.
17819 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17821 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17822 uint64_t or uint32_t usage.
17823 * crypt/sha256-block.c: Likewise.
17824 * crypt/sha256-crypt.c: Likewise.
17825 * crypt/sha256.c: Likewise.
17826 * crypt/sha512-block.c: Likewise.
17827 * crypt/sha512-crypt.c: Likewise.
17828 * crypt/sha512.c: Likewise.
17829 * debug/backtrace-tst.c: Likewise.
17830 * debug/pcprofiledump.c: Likewise.
17831 * elf/cache.c: Likewise.
17832 * elf/dl-cache.c: Likewise.
17833 * elf/dl-misc.c: Likewise.
17834 * elf/dl-profile.c: Likewise.
17835 * elf/dl-support.c: Likewise.
17836 * elf/ldconfig.c: Likewise.
17837 * elf/sprof.c: Likewise.
17838 * iconv/dummy-repertoire.c: Likewise.
17839 * iconv/iconv_charmap.c: Likewise.
17840 * iconv/skeleton.c: Likewise.
17841 * iconvdata/8bit-generic.c: Likewise.
17842 * iconvdata/cp737.h: Likewise.
17843 * iconvdata/cp775.h: Likewise.
17844 * iconvdata/ibm1008.h: Likewise.
17845 * iconvdata/ibm1025.h: Likewise.
17846 * iconvdata/ibm1046.h: Likewise.
17847 * iconvdata/ibm1097.h: Likewise.
17848 * iconvdata/ibm1112.h: Likewise.
17849 * iconvdata/ibm1122.h: Likewise.
17850 * iconvdata/ibm1123.h: Likewise.
17851 * iconvdata/ibm1124.h: Likewise.
17852 * iconvdata/ibm1129.h: Likewise.
17853 * iconvdata/ibm1130.h: Likewise.
17854 * iconvdata/ibm1132.h: Likewise.
17855 * iconvdata/ibm1133.h: Likewise.
17856 * iconvdata/ibm1137.h: Likewise.
17857 * iconvdata/ibm1140.h: Likewise.
17858 * iconvdata/ibm1141.h: Likewise.
17859 * iconvdata/ibm1142.h: Likewise.
17860 * iconvdata/ibm1143.h: Likewise.
17861 * iconvdata/ibm1144.h: Likewise.
17862 * iconvdata/ibm1145.h: Likewise.
17863 * iconvdata/ibm1146.h: Likewise.
17864 * iconvdata/ibm1147.h: Likewise.
17865 * iconvdata/ibm1148.h: Likewise.
17866 * iconvdata/ibm1149.h: Likewise.
17867 * iconvdata/ibm1153.h: Likewise.
17868 * iconvdata/ibm1154.h: Likewise.
17869 * iconvdata/ibm1155.h: Likewise.
17870 * iconvdata/ibm1156.h: Likewise.
17871 * iconvdata/ibm1157.h: Likewise.
17872 * iconvdata/ibm1158.h: Likewise.
17873 * iconvdata/ibm1160.h: Likewise.
17874 * iconvdata/ibm1161.h: Likewise.
17875 * iconvdata/ibm1162.h: Likewise.
17876 * iconvdata/ibm1163.h: Likewise.
17877 * iconvdata/ibm1164.h: Likewise.
17878 * iconvdata/ibm1166.h: Likewise.
17879 * iconvdata/ibm1167.h: Likewise.
17880 * iconvdata/ibm12712.h: Likewise.
17881 * iconvdata/ibm1390.h: Likewise.
17882 * iconvdata/ibm1399.h: Likewise.
17883 * iconvdata/ibm16804.h: Likewise.
17884 * iconvdata/ibm4517.h: Likewise.
17885 * iconvdata/ibm4899.h: Likewise.
17886 * iconvdata/ibm4909.h: Likewise.
17887 * iconvdata/ibm4971.h: Likewise.
17888 * iconvdata/ibm5347.h: Likewise.
17889 * iconvdata/ibm803.h: Likewise.
17890 * iconvdata/ibm856.h: Likewise.
17891 * iconvdata/ibm901.h: Likewise.
17892 * iconvdata/ibm902.h: Likewise.
17893 * iconvdata/ibm9030.h: Likewise.
17894 * iconvdata/ibm9066.h: Likewise.
17895 * iconvdata/ibm921.h: Likewise.
17896 * iconvdata/ibm922.h: Likewise.
17897 * iconvdata/ibm9448.h: Likewise.
17898 * iconvdata/isiri-3342.h: Likewise.
17899 * iconvdata/jis0201.h: Likewise.
17900 * include/link.h: Likewise.
17901 * include/netdb.h: Likewise.
17902 * inet/check_native.c: Likewise.
17903 * inet/check_pf.c: Likewise.
17904 * inet/getipv4sourcefilter.c: Likewise.
17905 * inet/getnameinfo.c: Likewise.
17906 * inet/getsourcefilter.c: Likewise.
17907 * inet/htonl.c: Likewise.
17908 * inet/setipv4sourcefilter.c: Likewise.
17909 * inet/setsourcefilter.c: Likewise.
17910 * inet/test-inet6_opt.c: Likewise.
17911 * inet/tst-network.c: Likewise.
17912 * locale/C-collate.c: Likewise.
17913 * locale/C-ctype.c: Likewise.
17914 * locale/C-time.c: Likewise.
17915 * locale/C-translit.h: Likewise.
17916 * locale/loadarchive.c: Likewise.
17917 * locale/programs/3level.h: Likewise.
17918 * locale/programs/charmap.c: Likewise.
17919 * locale/programs/charmap.h: Likewise.
17920 * locale/programs/ld-address.c: Likewise.
17921 * locale/programs/ld-collate.c: Likewise.
17922 * locale/programs/ld-ctype.c: Likewise.
17923 * locale/programs/ld-identification.c: Likewise.
17924 * locale/programs/ld-measurement.c: Likewise.
17925 * locale/programs/ld-messages.c: Likewise.
17926 * locale/programs/ld-monetary.c: Likewise.
17927 * locale/programs/ld-name.c: Likewise.
17928 * locale/programs/ld-numeric.c: Likewise.
17929 * locale/programs/ld-paper.c: Likewise.
17930 * locale/programs/ld-telephone.c: Likewise.
17931 * locale/programs/ld-time.c: Likewise.
17932 * locale/programs/linereader.c: Likewise.
17933 * locale/programs/locale.c: Likewise.
17934 * locale/programs/locarchive.c: Likewise.
17935 * locale/programs/locfile.h: Likewise.
17936 * locale/programs/repertoire.c: Likewise.
17937 * locale/programs/simple-hash.c: Likewise.
17938 * locale/programs/simple-hash.h: Likewise.
17939 * malloc/memusage.c: Likewise.
17940 * malloc/memusagestat.c: Likewise.
17941 * nis/nis_defaults.c: Likewise.
17942 * nis/nis_hash.c: Likewise.
17943 * nis/nis_print.c: Likewise.
17944 * nis/nis_xdr.c: Likewise.
17945 * nscd/connections.c: Likewise.
17946 * nscd/hstcache.c: Likewise.
17947 * nscd/nscd_gethst_r.c: Likewise.
17948 * nscd/nscd_getserv_r.c: Likewise.
17949 * nscd/nscd_helper.c: Likewise.
17950 * nscd/servicescache.c: Likewise.
17951 * nss/makedb.c: Likewise.
17952 * nss/nss_db/db-XXX.c: Likewise.
17953 * nss/nss_db/db-initgroups.c: Likewise.
17954 * nss/nss_db/db-netgrp.c: Likewise.
17955 * nss/nss_files/files-network.c: Likewise.
17956 * nss/nss_files/files-parse.c: Likewise.
17957 * posix/bug-regex5.c: Likewise.
17958 * posix/fnmatch_loop.c: Likewise.
17959 * posix/regcomp.c: Likewise.
17960 * posix/regexec.c: Likewise.
17961 * posix/tst-rfc3484-2.c: Likewise.
17962 * posix/tst-rfc3484-3.c: Likewise.
17963 * posix/tst-rfc3484.c: Likewise.
17964 * resolv/nss_dns/dns-canon.c: Likewise.
17965 * resolv/nss_dns/dns-network.c: Likewise.
17966 * resolv/res_init.c: Likewise.
17967 * resolv/res_mkquery.c: Likewise.
17968 * resolv/tst-aton.c: Likewise.
17969 * stdlib/cxa_atexit.c: Likewise.
17970 * stdlib/cxa_finalize.c: Likewise.
17971 * stdlib/gen-fpioconst.c: Likewise.
17972 * stdlib/strtol_l.c: Likewise.
17973 * string/tst-endian.c: Likewise.
17974 * sunrpc/auth_des.c: Likewise.
17975 * sunrpc/clnt_udp.c: Likewise.
17976 * sunrpc/rtime.c: Likewise.
17977 * sunrpc/svcauth_des.c: Likewise.
17978 * sunrpc/xdr.c: Likewise.
17979 * sunrpc/xdr_intXX_t.c: Likewise.
17980 * sunrpc/xdr_rec.c: Likewise.
17981 * sysdeps/generic/ldconfig.h: Likewise.
17982 * sysdeps/generic/ldsodefs.h: Likewise.
17983 * sysdeps/generic/memusage.h: Likewise.
17984 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17987 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17994 * sysdeps/posix/getaddrinfo.c: Likewise.
17995 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17996 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17997 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17998 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17999 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18000 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18001 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18002 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18003 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18004 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18005 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18006 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18007 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18008 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18009 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18010 * sysdeps/x86_64/dl-tls.h: Likewise.
18011 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18012 * time/alt_digit.c: Likewise.
18013 * time/era.c: Likewise.
18014 * wcsmbs/tst-c16c32-1.c: Likewise.
18016 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18018 * math/libm-test.inc (struct test_sincos_data): New type.
18019 (RUN_TEST_LOOP_sincos): New macro.
18020 (sincos_test_data): New variable.
18021 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18023 2013-05-16 Richard Henderson <rth@redhat.com>
18025 * math/atest-exp2.c (LIMB64): New macro.
18026 (CONSTSZ): New macro.
18027 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18029 (print_mpn_fp): ... to function scope.
18030 (read_mpn_hex): Remove.
18031 (get_log2): Remove.
18032 (exp2_mpn): Use mp_log2.
18033 (main): Use mp_exp1.
18035 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18037 * math/libm-test.inc: Remove comment about not testing "inexact"
18039 (INEXACT_EXCEPTION): New macro.
18040 (NO_INEXACT_EXCEPTION): Likewise.
18041 (INVALID_EXCEPTION_OK): Update value.
18042 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18043 (OVERFLOW_EXCEPTION_OK): Likewise.
18044 (UNDERFLOW_EXCEPTION_OK): Likewise.
18045 (IGNORE_ZERO_INF_SIGN): Likewise.
18046 (ERRNO_UNCHANGED): Likewise.
18047 (ERRNO_EDOM): Likewise.
18048 (ERRNO_ERANGE): Likewise.
18049 (test_exceptions): Handle testing "inexact" exceptions.
18050 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18051 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18052 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18053 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18055 (rint_towardzero_test_data): Likewise.
18056 (rint_downward_test_data): Likewise.
18057 (rint_upward_test_data): Likewise.
18059 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18060 with OVERFLOW_EXCEPTION.
18061 (exp10_test_data): Likewise.
18062 (exp2_test_data): Likewise.
18063 (expm1_test_data): Likewise.
18064 (lgamma_test_data): Likewise.
18065 (pow_test_data): Likewise.
18066 (tgamma_test_data): Likewise.
18067 (yn_test_data): Remove duplicate test of overflow.
18069 * math/libm-test.inc (struct test_cc_c_data): New type.
18070 (RUN_TEST_LOOP_cc_c): New macro.
18071 (cpow_test_data): New variable.
18072 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18074 * math/libm-test.inc (struct test_f_L_data): New type.
18075 (RUN_TEST_LOOP_f_L): New macro.
18076 (llrint_test_data): New variable.
18077 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18078 (llrint_tonearest_test_data): New variable.
18079 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18080 (llrint_towardzero_test_data): New variable.
18081 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18082 (llrint_downward_test_data): New variable.
18083 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18084 (llrint_upward_test_data): New variable.
18085 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18086 (llround_test_data): New variable.
18087 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18089 2013-05-13 Peter Collingbourne <pcc@google.com>
18091 * math/atest-exp2.c (get_log2): Remove const attribute.
18093 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18095 * math/libm-test.inc (struct test_f_l_data): New type.
18096 (RUN_TEST_LOOP_f_l): New macro.
18097 (lrint_test_data): New variable.
18098 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18099 (lrint_tonearest_test_data): New variable.
18100 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18101 (lrint_towardzero_test_data): New variable.
18102 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18103 (lrint_downward_test_data): New variable.
18104 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18105 (lrint_upward_test_data): New variable.
18106 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18107 (lround_test_data): New variable.
18108 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18110 2013-05-15 Peter Collingbourne <pcc@google.com>
18112 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18113 (EXTRACT_WORDS64) Use where appropriate.
18114 (INSERT_WORDS64) Likewise.
18116 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18117 constraints with x constraints.
18118 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18120 * malloc/obstack.c (_obstack_compat): Add initializer.
18122 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18125 si_trapno and add si_addr_lsb to _sifields.sigfault.
18126 (si_trapno): Remove macro.
18127 (si_addr_lsb): Define new macro.
18128 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18130 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18132 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18133 instead of TEST_f_l.
18134 (llrint_test_tonearest): Likewise.
18135 (llrint_test_towardzero): Likewise.
18136 (llrint_test_downward): Likewise.
18137 (llrint_test_upward): Likewise.
18138 (llround_test): Likewise.
18140 * math/libm-test.inc (struct test_f_i_data): Add comment.
18141 (RUN_TEST_LOOP_f_b): New macro.
18142 (RUN_TEST_LOOP_f_b_tg): Likewise.
18143 (finite_test_data): New variable.
18144 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18145 (isfinite_test_data): New variable.
18146 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18147 (isinf_test_data): New variable.
18148 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18149 (isnan_test_data): New variable.
18150 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18151 (isnormal_test_data): New variable.
18152 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18153 (issignaling_test_data): New variable.
18154 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18155 (signbit_test_data): New variable.
18156 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18158 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18159 with INVALID_EXCEPTION.
18160 (acosh_test_data): Likewise.
18161 (asin_test_data): Likewise.
18162 (atanh_test_data): Likewise.
18163 (fmod_test_data): Likewise.
18164 (log_test_data): Likewise.
18165 (log10_test_data): Likewise.
18166 (log2_test_data): Likewise.
18167 (pow_test_data): Likewise.
18168 (sqrt_test_data): Likewise.
18169 (y0_test_data): Likewise.
18170 (y1_test_data): Likewise.
18171 (yn_test_data): Likewise.
18173 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18176 * math/libm-test.inc (struct test_ff_i_data): New type.
18177 (RUN_TEST_LOOP_ff_i_tg): New macro.
18178 (isgreater_test_data): New variable.
18179 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18180 (isgreaterequal_test_data): New variable.
18181 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18182 (isless_test_data): New variable.
18183 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18184 (islessequal_test_data): New variable.
18185 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18186 (islessgreater_test_data): New variable.
18187 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18188 (isunordered_test_data): New variable.
18189 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18191 2013-05-14 David S. Miller <davem@davemloft.net>
18193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18195 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18197 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18199 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18201 (struct test_f_i_data): Change type of max_ulp to int.
18203 * math/libm-test.inc (test_ffI_f1_data): New type.
18204 (RUN_TEST_LOOP_ffI_f1): New macro.
18205 (remquo_test_data): New variable.
18206 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18208 * setjmp/tst-setjmp-fp.c: New file.
18209 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18210 (link-libm): New variable.
18211 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18213 * math/libm-test.inc (struct test_f_i_data): New type.
18214 (RUN_TEST_LOOP_f_i): New macro.
18215 (RUN_TEST_LOOP_f_i_tg): Likewise.
18216 (fpclassify_test_data): New variable.
18217 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18218 (ilogb_test_data): New variable.
18219 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18221 * math/libm-test.inc (scalbln_test): Correct function name in END
18224 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18225 (RUN_TEST_LOOP_fI_f1): New macro.
18226 (frexp_test_data): New variable.
18227 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18229 * math/libm-test.inc (struct test_fF_f1_data): New type.
18230 (RUN_TEST_LOOP_fF_f1): New macro.
18231 (modf_test_data): New variable.
18232 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18234 * math/libm-test.inc (struct test_f_f1_data): New type.
18235 (RUN_TEST_LOOP_f_f1): New macro.
18236 (gamma_test_data): New variable.
18237 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18238 (lgamma_test_data): New variable.
18239 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18241 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18243 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18244 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18245 (main): Comment "tls" pseudo-hwcap.
18247 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18249 * math/libm-test.inc (struct test_fl_f_data): New type.
18250 (RUN_TEST_LOOP_fl_f): New variable.
18251 (scalbln_test_data): New variable.
18252 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18254 * math/libm-test.inc (struct test_fi_f_data): New type.
18255 (RUN_TEST_LOOP_fi_f): New macro.
18256 (ldexp_test_data): New variable.
18257 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18258 (scalbn_test_data): New variable.
18259 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18261 * math/libm-test.inc (struct test_c_f_data): New type.
18262 (RUN_TEST_LOOP_c_f): New macro.
18263 (cabs_test_data): New variable.
18264 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18265 (carg_test_data): New variable.
18266 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18267 (cimag_test_data): New variable.
18268 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18269 (creal_test_data): New variable.
18270 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18272 * math/libm-test.inc (struct test_if_f_data): New type.
18273 (RUN_TEST_LOOP_if_f): New macro.
18274 (jn_test_data): New variable.
18275 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18276 (yn_test_data): New variable.
18277 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18279 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18281 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18283 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18284 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18286 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18288 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18289 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18290 (bench-deps): Add bench-timing.h.
18291 * benchtests-bench-skeleton.c: Include bench-timing.h.
18292 (main): Use TIMING_* macros instead of clock_gettime.
18293 * benchtests/bench-timing.h: New file.
18296 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18297 Renamed from _LIB_VERSION.
18298 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18300 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18302 * math/libm-test.inc (struct test_fff_f_data): New type.
18303 (RUN_TEST_LOOP_fff_f): New macro.
18304 (fma_test_data): New variable.
18305 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18306 (fma_towardzero_test_data): New variable.
18307 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18308 (fma_downward_test_data): New variable.
18309 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18310 (fma_upward_test_data): New variable.
18311 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18313 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18314 (struct test_c_c_data): New type.
18315 (RUN_TEST_LOOP_c_c): New macro.
18316 (cacos_test_data): New variable.
18317 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18318 (cacosh_test_data): New variable.
18319 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18320 (casin_test_data): New variable.
18321 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18322 (casinh_test_data): New variable.
18323 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18324 (catan_test_data): New variable.
18325 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18326 (catanh_test_data): New variable.
18327 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18328 (ccos_test_data): New variable.
18329 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18330 (ccosh_test_data): New variable.
18331 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18332 (cexp_test_data): New variable.
18333 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18334 (clog_test_data): New variable.
18335 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18336 (clog10_test_data): New variable.
18337 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18338 (conj_test_data): New variable.
18339 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18340 (cproj_test_data): New variable.
18341 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18342 (csin_test_data): New variable.
18343 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18344 (csinh_test_data): New variable.
18345 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18346 (csqrt_test_data): New variable.
18347 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18348 (ctan_test_data): New variable.
18349 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18350 (ctan_tonearest_test_data): New variable.
18351 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18352 (ctan_towardzero_test_data): New variable.
18353 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18354 (ctan_downward_test_data): New variable.
18355 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18356 (ctan_upward_test_data): New variable.
18357 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18358 (ctanh_test_data): New variable.
18359 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18360 (ctanh_tonearest_test_data): New variable.
18361 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18362 (ctanh_towardzero_test_data): New variable.
18363 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18364 (ctanh_downward_test_data): New variable.
18365 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18366 (ctanh_upward_test_data): New variable.
18367 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18368 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18371 * math/libm-test.inc (struct test_ff_f_data): New type.
18372 (struct test_ff_f_data_nexttoward): Likewise.
18373 (RUN_TEST_LOOP_2_f): New macro.
18374 (RUN_TEST_LOOP_ff_f): Likewise.
18375 (atan2_test_data): New variable.
18376 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18377 (copysign_test_data): New variable.
18378 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18379 (fdim_test_data): New variable.
18380 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18381 (fmax_test_data): New variable.
18382 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18383 (fmin_test_data): New variable.
18384 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18385 (fmod_test_data): New variable.
18386 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18387 (hypot_test_data): New variable.
18388 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18389 (nextafter_test_data): New variable.
18390 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18391 (nexttoward_test_data): New variable.
18392 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18393 (pow_test_data): New variable.
18394 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18395 (pow_tonearest_test_data): New variable.
18396 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18397 (pow_towardzero_test_data): New variable.
18398 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18399 (pow_downward_test_data): New variable.
18400 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18401 (pow_upward_test_data): New variable.
18402 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18403 (remainder_test_data): New variable.
18404 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18405 (scalb_test_data): New variable.
18406 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18407 * sysdeps/i386/fpu/libm-test-ulps: Update.
18409 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18411 * math/libm-test.inc (fma_test): Use max_value instead of local
18413 (nextafter_test): Likewise.
18415 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18416 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18417 (acos_downward_test_data): New variable.
18418 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18419 (acos_upward_test_data): New variable.
18420 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18421 (acosh_test_data): New variable.
18422 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18423 (asin_test_data): New variable.
18424 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18425 (asin_tonearest_test_data): New variable.
18426 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18427 (asin_towardzero_test_data): New variable.
18428 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18429 (asin_downward_test_data): New variable.
18430 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18431 (asin_upward_test_data): New variable.
18432 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18433 (asinh_test_data): New variable.
18434 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18435 (atan_test_data): New variable.
18436 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18437 (atanh_test_data): New variable.
18438 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18439 (cbrt_test_data): New variable.
18440 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18441 (ceil_test_data): New variable.
18442 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18443 (cos_test_data): New variable.
18444 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18445 (cos_tonearest_test_data): New variable.
18446 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18447 (cos_towardzero_test_data): New variable.
18448 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18449 (cos_downward_test_data): New variable.
18450 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18451 (cos_upward_test_data): New variable.
18452 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18453 (cosh_test_data): New variable.
18454 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18455 (cosh_tonearest_test_data): New variable.
18456 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18457 (cosh_towardzero_test_data): New variable.
18458 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18459 (cosh_downward_test_data): New variable.
18460 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18461 (cosh_upward_test_data): New variable.
18462 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18463 (erf_test_data): New variable.
18464 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18465 (erfc_test_data): New variable.
18466 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18467 (exp_test_data): New variable.
18468 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18469 (exp_tonearest_test_data): New variable.
18470 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18471 (exp_towardzero_test_data): New variable.
18472 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18473 (exp_downward_test_data): New variable.
18474 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18475 (exp_upward_test_data): New variable.
18476 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18477 (exp10_test_data): New variable.
18478 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18479 (exp2_test_data): New variable.
18480 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18481 (expm1_test_data): New variable.
18482 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18483 (fabs_test_data): New variable.
18484 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18485 (floor_test_data): New variable.
18486 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18487 (j0_test_data): New variable.
18488 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18489 (j1_test_data): New variable.
18490 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18491 (log_test_data): New variable.
18492 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18493 (log10_test_data): New variable.
18494 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18495 (log1p_test_data): New variable.
18496 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18497 (log2_test_data): New variable.
18498 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18499 (logb_test_data): New variable.
18500 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18501 (logb_downward_test_data): New variable.
18502 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18503 (nearbyint_test_data): New variable.
18504 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18505 (rint_test_data): New variable.
18506 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18507 (rint_tonearest_test_data): New variable.
18508 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18509 (rint_towardzero_test_data): New variable.
18510 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18511 (rint_downward_test_data): New variable.
18512 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18513 (rint_upward_test_data): New variable.
18514 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18515 (round_test_data): New variable.
18516 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18517 (sin_test_data): New variable.
18518 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18519 (sin_tonearest_test_data): New variable.
18520 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18521 (sin_towardzero_test_data): New variable.
18522 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18523 (sin_downward_test_data): New variable.
18524 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18525 (sin_upward_test_data): New variable.
18526 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18527 (sinh_test_data): New variable.
18528 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18529 (sinh_tonearest_test_data): New variable.
18530 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18531 (sinh_towardzero_test_data): New variable.
18532 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18533 (sinh_downward_test_data): New variable.
18534 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18535 (sinh_upward_test_data): New variable.
18536 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18537 (sqrt_test_data): New variable.
18538 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18539 (tan_test_data): New variable.
18540 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18541 (tan_tonearest_test_data): New variable.
18542 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18543 (tan_towardzero_test_data): New variable.
18544 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18545 (tan_downward_test_data): New variable.
18546 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18547 (tan_upward_test_data): New variable.
18548 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18549 (tanh_test_data): New variable.
18550 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18551 (tgamma_test_data): New variable.
18552 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18553 (trunc_test_data): New variable.
18554 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18555 (y0_test_data): New variable.
18556 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18557 (y1_test_data): New variable.
18558 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18559 (significand_test_data): New variable.
18560 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18562 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18565 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18567 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18569 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18571 2013-05-10 Andreas Jaeger <aj@suse.de>
18574 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18575 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18577 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18579 * math/gen-libm-test.pl (adjust_arg): New function.
18580 (special_functions): Handle generating output in both functions
18582 (parse_args): Likewise.
18583 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18584 $in_func argument to parse_args.
18585 * math/libm-test.inc (struct test_f_f_data): New type.
18586 (IF_ROUND_INIT_): New macro.
18587 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18588 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18589 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18590 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18591 (ROUND_RESTORE_): Likewise.
18592 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18593 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18594 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18595 (ROUND_RESTORE_FE_UPWARD): Likewise.
18596 (RUN_TEST_LOOP_f_f): New macro.
18597 (acos_test_data): New variable.
18598 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18599 (acos_tonearest_test_data): New variable.
18600 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18602 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18604 * benchtests/bench-skeleton.c (startup): Fix coding style.
18606 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18609 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18610 negative infinity argument.
18611 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18612 negative infinity argument.
18613 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18614 negative infinity argument.
18615 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18618 2013-05-10 Florian Weimer <fweimer@redhat.com>
18620 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18621 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18622 * iconv/iconv_prog.c (main): Likewise.
18623 * locale/programs/charmap-dir.c (charmap_readdir)
18624 (fopen_uncompressed): Likewise.
18625 * locale/programs/locfile.c (siblings_uncached)
18626 (write_locale_data): Use lstat64 instead of lstat.
18627 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18630 2013-05-10 Andreas Jaeger <aj@suse.de>
18633 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18635 Include <locale.h>.
18637 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18639 * elf/dl-close.c (_dl_close_worker): Add comments.
18641 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18646 (__ieee754_rem_pio2l): Update comments.
18649 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18651 (__ieee754_rem_pio2l): Update comments.
18653 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18654 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18656 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18659 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18660 (M_PI_34_LOG10El): Likewise.
18661 (M_PI2_LOG10El): Likewise.
18662 (M_PI4_LOG10El): Likewise.
18663 (M_PI_LOG10El): Likewise.
18665 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18669 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18671 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18672 (MINUS_ZERO_INIT): Likewise.
18673 (PLUS_INFTY_INIT): Likewise.
18674 (MINUS_INFTY_INIT): Likewise.
18675 (QNAN_VALUE_INIT): Likewise.
18676 (MAX_VALUE_INIT): Likewise.
18677 (MIN_VALUE_INIT): Likewise.
18678 (MIN_SUBNORM_VALUE_INIT): Likewise.
18679 (plus_zero): Initialize with PLUS_ZERO_INIT.
18680 (minus_zero): Initialize with MINUS_ZERO_INIT.
18681 (plus_infty): Initialize with PLUS_INFTY_INIT.
18682 (minus_infty): Initialize with MINUS_INFTY_INIT.
18683 (qnan_value): Initialize with QNAN_VALUE_INIT.
18684 (max_value): Initialize with MAX_VALUE_INIT.
18685 (min_value): Initialize with MIN_VALUE_INIT.
18686 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18688 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18689 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18690 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18691 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18693 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18694 (RUN_TEST_2_f): Likewise.
18695 (RUN_TEST_ff_f): Likewise.
18696 (RUN_TEST_fi_f): Likewise.
18697 (RUN_TEST_fl_f): Likewise.
18698 (RUN_TEST_fff_f): Likewise.
18699 (RUN_TEST_c_f): Likewise.
18700 (RUN_TEST_f_f1): Likewise.
18701 (RUN_TEST_fF_f1): Likewise.
18702 (RUN_TEST_fI_f1): Likewise.
18703 (RUN_TEST_ffI_f1): Likewise.
18704 (RUN_TEST_c_c): Likewise.
18705 (RUN_TEST_cc_c): Likewise.
18706 (RUN_TEST_f_i): Likewise.
18707 (RUN_TEST_f_i_tg): Likewise.
18708 (RUN_TEST_ff_i_tg): Likewise.
18709 (RUN_TEST_f_b): Likewise.
18710 (RUN_TEST_f_b_tg): Likewise.
18711 (RUN_TEST_f_l): Likewise.
18712 (RUN_TEST_f_L): Likewise.
18713 (RUN_TEST_sincos): Likewise.
18714 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18715 whether to show exceptions. Do not include ");\n" in return
18717 (special_functions): Output call to RUN_TEST_sincos instead of
18718 check_float calls. Update calls to new_test.
18719 (parse_args): Output call to single RUN_TEST_* macro instead of
18720 check_* calls and other assignments. Update calls to new_test.
18726 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18727 input to result for tgamma overflow.
18728 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18729 (gamma_coeff): New variable.
18730 (NCOEFF): New macro.
18731 (gamma_positive): New function.
18732 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18733 underflow here. Use gamma_positive instead of exp (lgamma) for
18735 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18736 (gamma_coeff): New variable.
18737 (NCOEFF): New macro.
18738 (gammaf_positive): New function.
18739 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18740 underflow here. Use gamma_positive instead of exp (lgamma) for
18742 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18743 (gamma_coeff): New variable.
18744 (NCOEFF): New macro.
18745 (gammal_positive): New function.
18746 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18747 underflow here. Use gamma_positive instead of exp (lgamma) for
18749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18750 (gamma_coeff): New variable.
18751 (NCOEFF): New macro.
18752 (gammal_positive): New function.
18753 (__ieee754_gammal_r): Handle positive infinity, overflow and
18754 underflow here. Handle NaN the same as positive infinity. Remove
18755 check x < 0xffffffff for negative integers. Use gamma_positive
18756 instead of exp (lgamma) for other arguments.
18757 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18758 (gamma_coeff): New variable.
18759 (NCOEFF): New macro.
18760 (gammal_positive): New function.
18761 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18762 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18766 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18767 * sysdeps/generic/math_private.h (__gamma_productf): New
18769 (__gamma_product): Likewise.
18770 (__gamma_productl): Likewise.
18771 * math/Makefile (libm-calls): Add gamma_product.
18772 * math/libm-test.inc (tgamma_test): Add more tests.
18773 * sysdeps/i386/fpu/libm-test-ulps: Update.
18774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18776 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18778 * benchtests/bench-skeleton.c (main): Preheat CPU.
18780 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18782 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18784 2013-05-07 Roland McGrath <roland@hack.frob.com>
18786 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18787 and _dl_skip_args_internal.
18789 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18791 * manual/message.texi (Message Translation): Talk about users.
18792 Message to key mapping impacts design.
18794 2013-05-06 Roland McGrath <roland@hack.frob.com>
18796 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18798 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18800 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18801 * sysdeps/wordsize-64/glob64.c: ... here.
18803 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18804 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18807 * debug/getlogin_r_chk.c: Moved to ...
18808 * login/getlogin_r_chk.c: ... here.
18809 * debug/Makefile (routines): Move getlogin_r_chk to ...
18810 * login/Makefile (routines): ... here.
18811 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18812 * login/Versions (libc: GLIBC_2.4): ... here.
18814 * io/poll.c (__poll): Renamed from poll.
18815 Add libc_hidden_def.
18816 (poll): Define as weak alias.
18818 * debug/ptsname_r_chk.c: Moved to ...
18819 * login/ptsname_r_chk.c: ... here.
18820 * debug/Makefile (routines): Move ptsname_r_chk to ...
18821 * login/Makefile (routines): ... here.
18822 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18823 * login/Versions (libc: GLIBC_2.4): ... here.
18825 * posix/getlogin.c: Moved to ...
18826 * login/getlogin.c: ... here.
18827 * posix/getlogin_r.c: Moved to ...
18828 * login/getlogin_r.c: ... here.
18829 * posix/getlogin_r.c: Moved to ...
18830 * login/getlogin_r.c: ... here.
18831 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18832 * login/Makefile (routines): ... here.
18833 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18834 * login/Versions (libc: GLIBC_2.0): ... here.
18836 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18837 (setrlimit): Define as weak alias.
18839 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18840 Call __ names for open, ftruncate, and close.
18841 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18842 (truncate): Define as weak alias.
18844 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18846 * math/gen-libm-test.pl (parse_args): Initialize x before each
18847 test of frexp, modf and remquo.
18849 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18850 test signgam value.
18852 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18856 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18858 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18860 2013-05-06 Roland McGrath <roland@hack.frob.com>
18862 * elf/dl-writev.h: New file.
18863 * elf/dl-misc.c: Include it.
18864 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18865 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18867 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18869 * math/libm-test.inc (noXFails): Remove variable.
18870 (noXPasses): Likewise.
18871 (BUILD_COMPLEX_INT): Remove macro.
18872 (print_screen): Remove xfail argument.
18873 (print_screen_max_error): Likewise.
18874 (update_stats): Likewise.
18875 (print_max_error): Likewise. Update calls to other affected
18877 (print_complex_max_error): Likewise.
18878 (test_single_exception): Update calls to print_screen.
18879 (test_single_errno): Likewise.
18880 (check_float_internal): Remove xfail argument. Update calls to
18881 other affected functions.
18882 (check_float): Likewise.
18883 (check_complex): Likewise.
18884 (check_int): Likewise.
18885 (check_long): Likewise.
18886 (check_bool): Likewise.
18887 (check_longlong): Likewise.
18888 (main): Don't print noXFails and noXPasses.
18889 * math/gen-libm-test.pl (top level): Don't mention expected
18890 failure handling in comment.
18891 (new_test): Don't handle expected failures.
18892 (parse_args): Don't mention expected failure handling in comment.
18893 (generate_testfile): Don't handle expected failures.
18894 (parse_ulps): Likewise.
18895 (print_ulps_file): Likewise.
18896 (get_failure): Remove function.
18897 (output_test): Don't handle expected failures.
18898 * make/README.libm-test: Don't mention expected failure handling.
18900 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18901 (minus_zero): Likewise.
18902 (plus_infty): Likewise.
18903 (minus_infty): Likewise.
18904 (qnan_value): Likewise.
18905 (max_value): Likewise.
18906 (min_value): Likewise.
18907 (min_subnorm_value): Likewise.
18908 (initialize): Do not initialize those variables dynamically.
18910 2013-05-03 Roland McGrath <roland@hack.frob.com>
18912 * io/open.c (__open_2): Moved to ...
18913 * io/open_2.c: ... this new file.
18914 * io/open64.c (__open64_2): Moved to ...
18915 * io/open64_2.c: ... this new file.
18916 * io/openat.c (__openat_2): Moved to ...
18917 * io/openat_2.c: ... this new file.
18918 * io/openat64.c (__openat64_2): Moved to ...
18919 * io/openat64_2.c: ... this new file.
18920 * io/Makefile (routines): Add them.
18921 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18922 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18923 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18924 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18925 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18926 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18927 (__openat64): Add hidden_ver.
18928 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18929 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18931 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18932 Separately conditionalize setting of GLRO(dl_sysinfo) so
18933 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18934 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18936 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18938 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18939 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18941 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18942 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18943 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18944 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18945 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18947 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18949 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18950 test signgam value.
18952 * math/libm-test.inc (hypot_test): Do not use
18953 IGNORE_ZERO_INF_SIGN.
18955 2013-05-03 Andreas Jaeger <aj@suse.de>
18957 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18959 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18960 (PF_MAX): Adjust for VSOCK change.
18962 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18966 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18969 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18970 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18971 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18973 2013-05-02 David S. Miller <davem@davemloft.net>
18975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18977 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18979 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18981 2013-05-01 Roland McGrath <roland@hack.frob.com>
18983 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18985 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18988 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18989 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18990 Use __attribute__ ((__gnu_inline__)).
18991 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18992 Don't use __attribute__ ((__gnu_inline__)).
18994 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18997 * math/s_catan.c (__catan): Handle small real or imaginary part of
18998 input specially to avoid spurious underflow.
18999 * math/s_catanf.c (__catanf): Likewise.
19000 * math/s_catanh.c (__catanh): Likewise.
19001 * math/s_catanhf.c (__catanhf): Likewise.
19002 * math/s_catanhl.c (__catanhl): Likewise.
19003 * math/s_catanl.c (__catanl): Likewise.
19004 * math/libm-test.inc (catan_test): Add more tests.
19005 (catanh_test): Likewise.
19006 * sysdeps/i386/fpu/libm-test-ulps: Update.
19007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19009 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19013 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19016 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19017 accurately for denominator in atan2.
19018 * math/s_catanf.c (__catanf): Likewise.
19019 * math/s_catanh.c (__catanh): Likewise.
19020 * math/s_catanhf.c (__catanhf): Likewise.
19021 * math/s_catanhl.c (__catanhl): Likewise.
19022 * math/s_catanl.c (__catanl): Likewise.
19023 * math/libm-test.inc (catan_test): Add more tests.
19024 (catanh_test): Likewise.
19025 * sysdeps/i386/fpu/libm-test-ulps: Update.
19026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19030 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19032 * benchtests/Makefile (bench): Remove slow benchmarks.
19033 * benchtests/atan-inputs: Add slow benchmark inputs.
19034 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19035 (BENCH_FUNC): Accept variant offset.
19037 * benchtests/bench-skeleton.c (main): Run benchmark for each
19039 * benchtests/cos-inputs: Add slow benchmark inputs.
19040 * benchtests/exp-inputs: Likewise.
19041 * benchtests/pow-inputs: Likewise.
19042 * benchtests/sin-inputs: Likewise.
19043 * benchtests/slowatan-inputs: Remove.
19044 * benchtests/slowatan.c: Remove.
19045 * benchtests/slowcos-inputs: Remove.
19046 * benchtests/slowcos.c: Remove.
19047 * benchtests/slowexp-inputs: Remove.
19048 * benchtests/slowexp.c: Remove.
19049 * benchtests/slowpow-inputs: Remove.
19050 * benchtests/slowpow.c: Remove.
19051 * benchtests/slowsin-inputs: Remove.
19052 * benchtests/slowsin.c: Remove.
19053 * benchtests/slowtan-inputs: Remove.
19054 * benchtests/slowtan.c: Remove.
19055 * benchtests/tan-inputs: Add slow benchmark inputs.
19056 * scripts/bench.pl: Parse comments and directives.
19058 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19060 ($(objpfx)bench-%.c): Remove *-ITER.
19061 * benchtests/bench-modf.c: Remove definition of ITER.
19062 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19063 (main): Loop for DURATION seconds instead of fixed number of
19065 * scripts/bench.pl: Don't expect iterations in parameters.
19067 2013-04-29 Roland McGrath <roland@hack.frob.com>
19069 * io/fchdir.c (__fchdir): Renamed from fchdir.
19070 (fchdir): Define as weak alias.
19072 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19074 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19075 (ERRNO_EDOM): Likewise.
19076 (ERRNO_ERANGE): Likewise.
19077 (noErrnoTests): New variable.
19078 (init_max_error): Set errno to 0.
19079 (test_single_errno): New function.
19080 (test_errno): Likewise.
19081 (check_float_internal): Call test_errno. Set errno to 0.
19082 (check_complex): Refer to errno tests in comment.
19083 (check_int): Call test_errno. Set errno to 0.
19084 (check_long): Likewise.
19085 (check_bool): Likewise.
19086 (check_longlong): Likewise.
19087 (cos_test): Use ERRNO_* flags for errno tests instead of
19089 (expm1_test): Likewise.
19090 (fmod_test): Likewise.
19091 (ilogb_test): Likewise.
19092 (lgamma_test): Likewise.
19093 (pow_test): Likewise.
19094 (remainder_test): Likewise.
19095 (sin_test): Likewise.
19096 (tan_test): Likewise.
19097 (yn_test): Likewise.
19098 (initialize): Set errno to 0.
19099 (main): Print number of errno tests.
19100 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19102 2013-04-29 Andreas Jaeger <aj@suse.de>
19105 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19109 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19110 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19114 * stdlib/random.c (__initstate): Return NULL if
19118 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19119 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19122 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19126 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19128 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19129 of individual tests.
19130 (casin_test): Likewise.
19131 (casinh_test): Likewise.
19133 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19136 * math/s_catan.c (__catan): Handle arguments with large real or
19137 imaginary part separately without squaring.
19138 * math/s_catanf.c (__catanf): Likewise.
19139 * math/s_catanh.c (__catanh): Likewise.
19140 * math/s_catanhf.c (__catanhf): Likewise.
19141 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19143 (__catanhl): Handle arguments with large real or imaginary part
19144 separately without squaring.
19145 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19147 (__catanl): Handle arguments with large real or imaginary part
19148 separately without squaring.
19149 * math/libm-test.inc (catan_test): Add more tests.
19150 (catanh_test): Likewise.
19151 * sysdeps/i386/fpu/libm-test-ulps: Update.
19152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19154 2013-04-27 Andreas Jaeger <aj@suse.de>
19157 * stdlib/stdlib.h: Update guards for qecvt.
19158 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19161 2013-04-27 Allan McRae <allan@archlinux.org>
19163 * sysdeps/i386/fpu/libm-test-ulps: Update.
19165 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19168 * math/s_catan.c: Include <float.h>.
19169 (__catan): Ensure underflow exception occurs for underflowed
19171 * math/s_catanf.c: Include <float.h>.
19172 (__catanf): Ensure underflow exception occurs for underflowed
19174 * math/s_catanh.c: Include <float.h>.
19175 (__catanh): Ensure underflow exception occurs for underflowed
19177 * math/s_catanhf.c: Include <float.h>.
19178 (__catanhf): Ensure underflow exception occurs for underflowed
19180 * math/s_catanhl.c: Include <float.h>.
19181 (__catanhl): Ensure underflow exception occurs for underflowed
19183 * math/s_catanl.c: Include <float.h>.
19184 (__catanl): Ensure underflow exception occurs for underflowed
19186 * math/libm-test.inc (catan_test): Add more tests.
19187 (catanh_test): Likewise.
19190 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19191 underflowed result.
19192 * math/s_ccoshf.c (__ccoshf): Likewise.
19193 * math/s_ccoshl.c (__ccoshl): Likewise.
19194 * math/s_csin.c (__csin): Likewise.
19195 * math/s_csinf.c (__csinf): Likewise.
19196 * math/s_csinh.c (__csinh): Likewise.
19197 * math/s_csinhf.c (__csinhf): Likewise.
19198 * math/s_csinhl.c (__csinhl): Likewise.
19199 * math/s_csinl.c (__csinl): Likewise.
19200 * math/libm-test.inc (ccos_test): Add more tests.
19201 (ccosh_test): Likewise.
19202 (csin_test): Likewise.
19203 (csinh_test): Likewise.
19205 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19207 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19208 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19209 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19210 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19211 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19212 powerpc/power5+/fpu folders.
19213 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19216 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19220 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19222 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19223 additions to variable.
19224 [$(config-machine) = x86_64] (modules-names): Likewise.
19225 ($(objpfx)tst-audit3): Remove dependency.
19226 ($(objpfx)tst-audit3.out): Likewise.
19227 ($(objpfx)tst-audit4): Likewise.
19228 ($(objpfx)tst-audit4.out): Likewise.
19229 ($(objpfx)tst-audit5): Likewise.
19230 ($(objpfx)tst-audit5.out): Likewise.
19231 ($(objpfx)tst-audit6): Likewise.
19232 ($(objpfx)tst-audit6.out): Likewise.
19233 ($(objpfx)tst-audit7): Likewise.
19234 ($(objpfx)tst-audit7.out): Likewise.
19235 (tst-audit3-ENV): Remove variable.
19236 (tst-audit4-ENV): Likewise.
19237 (tst-audit5-ENV): Likewise.
19238 (tst-audit6-ENV): Likewise.
19239 (tst-audit7-ENV): Likewise.
19240 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19241 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19242 addition to variable.
19243 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19244 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19245 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19246 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19247 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19248 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19249 tst-audit3, tst-audit4 and tst-audit5.
19250 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19251 tst-audit6 and tst-audit7.
19252 [$(subdir) = elf] (modules-names): Add audit modules for those
19254 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19255 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19256 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19257 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19258 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19259 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19260 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19261 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19262 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19263 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19264 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19265 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19266 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19267 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19268 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19269 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19271 [$(subdir) = elf && $(config-cflags-avx) = yes]
19272 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19273 [$(subdir) = elf && $(config-cflags-avx) = yes]
19274 (CFLAGS-tst-auditmod4a.c): Likewise.
19275 [$(subdir) = elf && $(config-cflags-avx) = yes]
19276 (CFLAGS-tst-auditmod4b.c): Likewise.
19277 [$(subdir) = elf && $(config-cflags-avx) = yes]
19278 (CFLAGS-tst-auditmod6b.c): Likewise.
19279 [$(subdir) = elf && $(config-cflags-avx) = yes]
19280 (CFLAGS-tst-auditmod6c.c): Likewise.
19281 [$(subdir) = elf && $(config-cflags-avx) = yes]
19282 (CFLAGS-tst-auditmod7b.c): Likewise.
19283 * elf/tst-audit3.c: Move to ...
19284 * sysdeps/x86_64/tst-audit3.c: ... here.
19285 * elf/tst-audit4.c: Move to ...
19286 * sysdeps/x86_64/tst-audit4.c: ... here.
19287 * elf/tst-audit5.c: Move to ...
19288 * sysdeps/x86_64/tst-audit5.c: ... here.
19289 * elf/tst-audit6.c: Move to ...
19290 * sysdeps/x86_64/tst-audit6.c: ... here.
19291 * elf/tst-audit7.c: Move to ...
19292 * sysdeps/x86_64/tst-audit7.c: ... here.
19293 * elf/tst-auditmod3a.c: Move to ...
19294 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19295 * elf/tst-auditmod3b.c: Move to ...
19296 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19297 * elf/tst-auditmod4a.c: Move to ...
19298 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19299 * elf/tst-auditmod4b.c: Move to ...
19300 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19301 * elf/tst-auditmod5a.c: Move to ...
19302 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19303 * elf/tst-auditmod5b.c: Move to ...
19304 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19305 * elf/tst-auditmod6a.c: Move to ...
19306 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19307 * elf/tst-auditmod6b.c: Move to ...
19308 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19309 * elf/tst-auditmod6c.c: Move to ...
19310 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19311 * elf/tst-auditmod7a.c: Move to ...
19312 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19313 * elf/tst-auditmod7b.c: Move to ...
19314 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19316 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19319 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19320 define unconditionally.
19321 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19322 define unconditionally.
19323 (INT8_C, INT16_C, etc.): Likewise.
19325 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19327 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19328 __ehdr_start with hidden visibility.
19330 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19332 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19334 * math/libm-test.inc (cos_test): Use accurate hex constants.
19335 (sincost_test): Likewise.
19337 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19339 * math/libm-test.inc (catan_test): Add more tests.
19340 (catanh_test): Likewise.
19342 * math/s_catanf.c (__catanf): Use suffixed floating-point
19344 * math/s_catanhf.c (__catanhf): Likewise.
19345 * math/s_catanhl.c (__catanhl): Likewise.
19346 * math/s_catanl.c (__catanl): Likewise.
19349 * math/s_catan.c (__catan): Calculate imaginary part of result
19350 with log1p not log unless computing log of number close to 0.
19351 * math/s_catanf.c (__catanf): Likewise.
19352 * math/s_catanl.c (__catanl): Likewise.
19353 * math/s_catanh.c (__catanh): Calculate real part of result with
19354 log1p not log unless computing log of number close to 0.
19355 * math/s_catanhf.c (__catanhf): Likewise.
19356 * math/s_catanhl.c (__catanhl): Likewise.
19357 * math/libm-test.inc (catan_test): Add more tests.
19358 (catanh_test): Likewise.
19359 * sysdeps/i386/fpu/libm-test-ulps: Update.
19360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19362 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19364 * benchtests/Makefile: Mention files in which fast and slow
19365 paths of math functions are implemented.
19367 2013-04-23 Roland McGrath <roland@hack.frob.com>
19369 * sysdeps/posix/timespec_get.c: New file.
19371 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19373 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19375 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19377 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19378 powerpc/power5/fpu folders.
19379 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19380 * benchtests/Makefile: Add modf testcase.
19381 * benchtests/bench-modf.c: New file: Benchmark test for mo
19383 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19386 * time/Makefile (tests): Add tst-strptime-whitespace.
19387 * time/strptime_l.c (get_number): Use ISSPACE.
19388 (__strptime_internal): Likewise.
19389 * time/tst-strptime-whitespace.c: New test case.
19391 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19393 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19395 (_nss_files_init): Set it here.
19397 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19399 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19400 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19403 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19405 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19407 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19409 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19412 2013-04-21 David S. Miller <davem@davemloft.net>
19414 * po/ru.po: Update Russion translation from translation project.
19416 2013-04-17 Adam Conrad <adconrad@0c3.net>
19418 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19421 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19423 * configure.in: Remove i386 configure warning. Remove i386 case.
19424 * configure: Regenerate.
19425 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19426 Add example to error message.
19427 * sysdeps/i386/configure: Regenerate.
19429 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19431 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19433 * benchtests/cos-inputs: New file.
19434 * benchtests/slowcos-inputs: New file.
19435 * benchtests/slowcos.c: New file.
19436 * benchtests/slowtan-inputs: New file.
19437 * benchtests/slowtan.c: New file.
19438 * benchtests/tan-inputs: New file.
19440 2013-04-16 Roland McGrath <roland@hack.frob.com>
19442 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19445 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19447 * benchtests/Makefile: Include cppflags-iterator.mk to add
19448 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19450 * Makefile.in (bench-clean): New target.
19451 * benchtests/Makefile (bench-clean): Likewise.
19453 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19455 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19457 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19459 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19461 2013-04-15 Andreas Schwab <schwab@suse.de>
19463 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19464 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19465 * nscd/pwdcache.c (cache_addpw): Likewise.
19466 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19469 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19471 * benchtests/Makefile (bench): Write all output to
19472 bench-out.tmp together.
19474 2013-04-15 Andreas Schwab <schwab@suse.de>
19476 * nscd/nscd.c (main): Don't fork again after closing files.
19478 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19480 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19482 * benchtests/Rules (bench-deps): Collect dependencies into a
19483 single variable. Add Makefile to dependencies.
19484 ($(objpfx)bench-%.c): Depend on bench-deps.
19486 2013-04-12 Roland McGrath <roland@hack.frob.com>
19487 Xavier Roche <roche+kml2@exalead.com>
19490 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19491 just that it's a file descriptor.
19492 * manual/llio.texi (Synchronizing AIO Operations): Update description
19493 for EBADF error from aio_fsync.
19495 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19497 * Rules (bench): Move target definition...
19498 * benchtests/Makefile: ... here.
19500 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19502 * math/libm-test.inc (cos_test): Fix PI/2 test.
19503 (sincos_test): Likewise.
19504 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19505 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19507 2013-04-11 Andreas Schwab <schwab@suse.de>
19510 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19511 accept exponent character only when digits were seen.
19512 * stdio-common/Makefile (tests): Add bug26.
19513 * stdio-common/bug26.c: New file.
19516 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19519 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19521 * Makeconfig (rtld-prefix): Define built linker prefix.
19522 * Rules (run-bench): Use it.
19523 * math/Makefile (run-regen-ulps): Likewise.
19525 * Rules (bench): Remove eval.
19527 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19528 Roland McGrath <roland@hack.frob.com>
19529 Ondrej Bilka <neleai@seznam.cz>
19532 * time/getdate.c: Include ctype.h and alloca.h.
19533 (__getdate_r): Trim leading and trailing spaces of input.
19534 * time/tst-getdate.c (tests): Add tests with leading and
19537 2013-04-08 Roland McGrath <roland@hack.frob.com>
19540 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19541 when computing value.
19543 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19545 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19546 Use testrun.sh to run libm tests.
19549 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19551 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19554 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19556 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19558 * Makefile.in (regen-ulps): New target.
19559 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19560 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19561 [ifneq (no,$(PERL)] (regen-ulps): New target.
19562 [ifeq (no,$(PERL)] (regen-ulps): New target.
19563 * math/libm-test.inc (ulps_file_name): Define.
19564 (output_dir): New variable.
19565 (options): Add "output-dir" option.
19566 (parse_opt): Handle 'o' case.
19567 (main): If output_dir is non-NULL use it as a prefix
19569 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19571 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19573 [BZ #10060, #10062]
19574 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19575 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19576 fail configure if __sync_val_compare_and_swap is not inlined.
19577 * sysdeps/i386/configure: Regenerate.
19578 * configure.in: Build for i686 when configured for i386.
19579 * configure: Regenerate.
19580 * README: Remove i386 reference.
19582 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19584 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19587 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19589 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19590 (lmsnanval): New variables.
19591 (F): Add conversion tests.
19592 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19593 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19595 * stdio-common/tstdiomisc.c (F): Properly collect individual
19598 [BZ #14686, #15336]
19599 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19600 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19601 Instead, use input NaN values or generate a qNaN by arithmetic
19602 operation. Also fix bugs to comply with the standard.
19603 * math/libm-test.inc (remainder_test): Add more tests.
19605 [BZ #15335, #15342]
19606 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19608 input NaN values or generate a qNaN by arithmetic operation.
19610 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19613 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19616 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19619 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19620 underflowed result.
19621 * math/s_cexpf.c (__cexpf): Likewise.
19622 * math/s_cexpl.c (__cexpl): Likewise.
19623 * math/libm-test.inc (cexp_test): Add more tests.
19625 2013-04-03 Andreas Schwab <schwab@suse.de>
19628 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19629 order arrays from heap if bigger than alloca cutoff.
19631 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19633 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19634 (SNAN_TESTS_double): Refer to GCC PR56831.
19635 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19638 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19640 * Rules (bench): Move bench.out after the run is complete.
19642 * Rules (bench): Echo currently running benchmark.
19644 * benchtests/Makefile (bench): Add atan and slowatan.
19645 * benchtests/atan-inputs: New file.
19646 * benchtests/slowatan-inputs: New file.
19647 * benchtests/slowatan.c: New file.
19649 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19650 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19654 * sysdeps/unix/sysv/linux/kernel-features.h
19655 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19656 __ASSUME_XFS_RESTRICTED_CHOWN.
19657 * sysdeps/unix/sysv/linux/pathconf.c
19658 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19659 Save and restore errno.
19661 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19664 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19665 arguments using __kernel_casinh.
19666 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19667 arguments using __kernel_casinhf.
19668 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19669 arguments using __kernel_casinhl.
19670 * math/libm-test.inc (cacosh_test): Add more tests.
19671 * sysdeps/i386/fpu/libm-test-ulps: Update.
19672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19674 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19676 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19679 * bench/Makefile (bench): Add sin and slowsin.
19680 * benchtests/sin-inputs: New file.
19681 * benchtests/slowsin-inputs: New file.
19682 * benchtests/slowsin.c: New file.
19684 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19685 (bench): Add slowexp and slowpow.
19686 (exp-ITER): Increase iterations.
19687 (pow-ITER): Likewise.
19688 * benchtests/exp-inputs: Change input.
19689 * benchtests/pow-inputs: Likewise.
19690 * benchtests/slowexp-inputs: New file.
19691 * benchtests/slowexp.c: New file.
19692 * benchtests/slowpow-inputs: New file.
19693 * benchtests/slowpow.c: New file.
19695 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19697 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19699 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19700 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19701 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19702 * benchtests/Makefile: Add rint benchtest.
19703 * benchtests/rint-inputs: Input for rint benchtest.
19705 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19707 * Versions.def (libm): Add GLIBC_2.18.
19708 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19709 hidden libm prototypes.
19710 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19711 * math/Makefile (libm-calls): Add s_issignaling.
19712 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19713 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19714 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19716 * math/math.h [__USE_GNU] (issignaling): New macro.
19717 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19718 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19719 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19720 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19723 * manual/arith.texi (issignaling): New section.
19724 * manual/libm-err-tab.pl (@all_functions): Update comment.
19725 * math/gen-libm-test.pl (parse_args): Apply special handling for
19727 * math/libm-test.inc (print_float, issignaling_test): New
19729 (check_float_internal): Add issignaling checks.
19730 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19731 default definition.
19732 * sysdeps/powerpc/math-tests.h: New file.
19733 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19735 * math/test-snan.c (TEST_FUNC): Likewise.
19737 2013-03-30 David S. Miller <davem@davemloft.net>
19739 * po/de.po: Update from translation team.
19741 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19744 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19745 imaginary part less than 1.0 and real part less than 0.5
19747 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19748 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19749 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19750 (cacos_test): Add more tests.
19751 (casin_test): Likewise.
19752 (casinh_test): Likewise.
19753 * sysdeps/i386/fpu/libm-test-ulps: Update.
19754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19756 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19758 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19759 ONE with its value.
19761 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19762 (__pow_mp): Replace ONE and MONE with their values.
19763 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19765 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19766 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19767 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19768 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19770 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19772 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19773 (__pow_mp): Replace ZERO and MZERO with their values.
19774 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19775 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19776 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19778 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19779 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19782 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19784 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19786 2013-03-28 Roland McGrath <roland@hack.frob.com>
19788 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19789 Declare with __attribute__ ((weak)).
19790 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19791 Call __call_tls_dtors only if it's not NULL.
19793 2013-03-28 Roland McGrath <roland@hack.frob.com>
19795 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19796 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19797 magic __ehdr_start linker symbol if it's defined.
19798 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19799 them up here if it was already done.
19801 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19802 (_dl_aux_init): Use const in cast when setting it.
19803 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19804 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19805 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19807 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19809 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19810 * csu/libc-tls.c: Nor here.
19811 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19813 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19814 (__libc_message): Never call vsyslog.
19816 2013-03-28 Alan Modra <amodra@gmail.com>
19818 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19820 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19823 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19826 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19830 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19833 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19834 Don't add gid passed as argument.
19836 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19838 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19841 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19842 imaginary part between 1.0 and 1.5 and real part less than 0.5
19844 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19845 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19846 * math/libm-test.inc (cacos_test): Add more tests.
19847 (casin_test): Likewise.
19848 (casinh_test): Likewise.
19849 * sysdeps/i386/fpu/libm-test-ulps: Update.
19850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19852 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19854 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19857 (denorm): Likewise.
19858 (__dbl_mp): Likewise.
19859 (add_magnitudes): Likewise.
19860 (sub_magnitudes): Likewise.
19868 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19870 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19871 (__dubcos): Likewise.
19872 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19873 (__ieee754_acos): Likewise.
19874 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19875 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19876 (__exp1): Likewise.
19877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19880 (my_log2): Likewise.
19881 (checkint): Likewise.
19882 * sysdeps/ieee754/dbl-64/e_remainder.c
19883 (__ieee754_remainder): Likewise.
19884 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19885 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19886 (bsloww): Likewise.
19887 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19889 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19890 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19891 MANTISSA_STORE_T to store computations on mantissa. Use
19892 macros for rounding and division.
19893 (denorm): Likewise.
19894 (__dbl_mp): Likewise.
19895 (add_magnitudes): Likewise.
19896 (sub_magnitudes): Likewise.
19899 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19900 powers of two in terms of TWOPOW macro.
19901 (mp_no): Make type of mantissa as MANTISSA_T.
19902 [!RADIXI]: Define RADIXI.
19903 [!TWO52]: Define TWO52.
19904 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19906 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19908 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19909 llroundl symbol when building for PPC32.
19911 2013-03-24 Mark H Weaver <mhw@netris.org>
19913 * manual/arith.texi (Normalization Functions): Fix prototypes for
19914 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19916 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19920 high value to check if expl overflow.
19921 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19922 to check for underflow and overflow.
19923 * math/libm-test.inc: Add exp test.
19925 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19928 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19931 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19933 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19936 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19938 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19939 wrap blocks consisting of several statements.
19941 * sysdeps/generic/math-tests.h: New file.
19942 * sysdeps/i386/fpu/math-tests.h: Likewise.
19943 * math/test-snan.c: Include it.
19944 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19946 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19949 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19950 (__ieee754_j0l): Do not improve calculations using cos of twice
19951 input for inputs above LDBL_MAX / 2.0L.
19952 (__ieee754_y0l): Likewise.
19953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19954 (__ieee754_j1l): Do not improve calculations using cos of twice
19955 input for inputs above LDBL_MAX / 2.0L.
19956 (__ieee754_y1l): Likewise.
19957 * math/libm-test.inc (j0_test): Add another test.
19958 (j1_test): Likewise.
19959 (y0_test): Likewise.
19960 (y1_test): Likewise.
19961 * sysdeps/i386/fpu/libm-test-ulps: Update.
19963 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19965 * Rules ($(objpfx)bench-%.c): Include code from a C source
19968 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19971 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19972 imaginary part 1.0 and real part less than 0.5 specially.
19973 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19974 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19975 * math/libm-test.inc (cacos_test): Add more tests.
19976 (casin_test): Likewise.
19977 (casinh_test): Likewise.
19978 * sysdeps/i386/fpu/libm-test-ulps: Update.
19979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19981 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19983 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19984 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19986 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19988 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19989 * config.make.in (config-cflags-sse4): Remove variable.
19990 (config-cflags-avx): Likewise.
19991 (config-cflags-sse2avx): Likewise.
19992 (config-cflags-novzeroupper): Likewise.
19993 (config-asflags-i686): Likewise.
19994 (have-mfma4): Likewise.
19995 (have-as-vis3): Likewise.
19997 * configure.in (MIG): Do not AC_SUBST.
19998 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19999 (libc_cv_cc_sse4): Do not AC_SUBST.
20000 (libc_cv_cc_avx): Likewise.
20001 (libc_cv_cc_sse2avx): Likewise.
20002 (libc_cv_cc_novzeroupper): Likewise.
20003 (libc_cv_cc_fma4): Likewise.
20004 (libc_cv_as_i686): Likewise.
20005 (libc_cv_sparc_as_vis3): Likewise.
20006 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20008 (config-asflags-i686): Likewise.
20009 (config-cflags-avx): Likewise.
20010 (config-cflags-sse2avx): Likewise.
20011 (have-mfma4): Likewise.
20012 (config-cflags-novzeroupper): Likewise.
20013 * sysdeps/mach/configure.in (MIG): Likewise.
20014 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20015 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20017 (config-cflags-avx): Likewise.
20018 (config-cflags-sse2avx): Likewise.
20019 (have-mfma4): Likewise.
20020 (config-cflags-novzeroupper): Likewise.
20021 * configure: Regenerated.
20022 * sysdeps/i386/configure: Likewise.
20023 * sysdeps/mach/configure: Likewise.
20024 * sysdeps/sparc/configure: Likewise.
20025 * sysdeps/x86_64/configure: Likewise.
20027 2013-03-20 Roland McGrath <roland@hack.frob.com>
20030 * locale/programs/localedef.c (options): Put N_ translation marker
20031 on argument names, not just descriptions.
20033 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20035 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20037 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20040 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20042 2013-03-19 Roland McGrath <roland@hack.frob.com>
20044 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20045 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20046 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20047 [!BEFORE_ABORT] (before_abort): New function.
20048 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20049 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20050 (writev_for_fatal): New function.
20051 (WRITEV_FOR_FATAL): New macro; call that.
20052 (backtrace_and_maps): New function.
20053 (BEFORE_ABORT): New macro; call that.
20054 (struct str_list): Type removed.
20055 (__libc_message, __libc_fatal): Functions removed.
20056 Include <sysdeps/posix/libc_fatal.c> instead.
20058 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20060 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20062 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20065 2013-03-19 Andreas Schwab <schwab@suse.de>
20067 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20068 * sysdeps/gnu/configure: Regenerate.
20070 * configure.in: Substitute libc_cv_rtlddir.
20071 * configure: Regenerate.
20072 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20073 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20074 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20075 * elf/Makefile (install-others, CFLAGS-interp.c)
20076 (ldso_install, common-ldd-rewrite): Likewise.
20077 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20078 $(inst_slibdir)/$(rtld-installed-name).
20079 * scripts/rellns-sh: Add -p option.
20080 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20083 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20085 * manual/nptl.texi: Renamed to ...
20086 * manual/threads.texi: ... this.
20087 * manual/Makefile (chapters): Update.
20089 2013-03-18 Roland McGrath <roland@hack.frob.com>
20092 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20093 on argument names, not just descriptions.
20094 * malloc/memusagestat.c (options): Likewise.
20095 * nss/getent.c (options): Likewise.
20097 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20100 * iconv/iconv_prog.c (options): Put N_ translation marker
20101 on argument names, not just descriptions.
20102 * iconv/iconvconfig.c (options): Likewise.
20104 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20106 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20107 implementation which is faster on all x86_64 architectures.
20108 Tested on AMD, Intel Nehalem, SNB, IVB.
20109 * sysdeps/x86_64/strnlen.S: Likewise.
20111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20112 Remove all multiarch strlen and strnlen versions.
20113 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20114 Remove strlen and strnlen related parts.
20116 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20117 Inline strlen part.
20118 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20120 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20121 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20122 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20123 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20124 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20125 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20127 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20129 * manual/memory.texi (Malloc Tunable Parameters):
20130 Sort parameters alphabetically. Add comments for missing entries.
20132 2013-03-17 David S. Miller <davem@davemloft.net>
20134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20136 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20139 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20140 for arguments at most half maximum finite value.
20141 * math/libm-test.inc (j0_test): Add more tests.
20142 (j1_test): Likewise.
20143 (y0_test): Likewise.
20144 (y1_test): Likewise.
20145 * sysdeps/i386/fpu/libm-test-ulps: Update.
20146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20149 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20150 1 / x and functions P and Q for arguments above 0x1p256L.
20151 (__ieee754_y0l): Likewise.
20152 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20153 (__ieee754_y1l): Likewise.
20154 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20155 (j1_test): Likewise.
20156 (y0_test): Likewise.
20157 (y1_test): Likewise.
20159 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20161 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20164 2013-03-15 Roland McGrath <roland@hack.frob.com>
20166 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20167 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20168 zero since it's initialized to EXEC_PAGESIZE.
20170 * sysdeps/unix/sysv/linux/ldsodefs.h
20171 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20172 * sysdeps/generic/ldsodefs.h: ... here.
20174 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20176 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20178 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20180 * math/test-snan.c: Renamed from
20181 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20182 * math/Makefile (tests): Add test-snan.
20183 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20186 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20187 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20189 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20190 __builtin_nan family of functions.
20191 * math/libm-test.inc (initialize): Initialize qnan_value with
20192 __builtin_nan family of functions.
20193 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20195 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20197 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20198 storage class. Initialize qNaN_var and sNaN_var with
20199 __builtin_nan and __builtin_nans families of functions,
20202 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20203 (sqrt_test): Remove duplicate test with qNaN input.
20204 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20205 (round_test, signbit_test, significand_test): Note missing +/-Inf
20206 as well as qNaN tests.
20208 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20209 qNaN_var. Fix a few strings, too.
20210 * math/libm-test.inc (nan_value): Rename to qnan_value.
20211 * math/gen-libm-test.pl (%beautify): Adjust to that.
20212 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20213 * math/test-misc.c (main): Likewise.
20214 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20215 to __qnan_bytes, and __qnan_union, respectively.
20216 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20218 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20219 and lqnanval, respectively.
20220 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20221 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20222 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20223 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20225 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20226 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20229 * math/test-misc.c (main): Fix copy'n'pastos.
20230 * misc/tst-efgcvt.c (special): Likewise.
20232 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20233 Remove declarations.
20235 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20237 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20238 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20239 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20240 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20242 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20244 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20245 macro to return vdso values correctly in IFUNC implementations.
20246 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20247 Optimization by using IFUNC.
20249 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20250 Richard Henderson <rth@redhat.com>
20251 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20253 * Makefile.in (bench): New target.
20254 * NEWS: Mention the benchmark framework.
20255 * Rules (bench): Likewise.
20256 (binaries-bench): Generate binaries for functions to
20258 * benchtests/Makefile: New makefile for benchmark tests.
20259 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20261 * benchtests/exp-inputs: New input file for EXP function.
20262 * benchtests/pow-inputs: New input file for POW function.
20263 * scripts/bench.pl: New script to generate source files for
20264 benchmark programs.
20266 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20268 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20269 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20270 computations on mantissa. Use macros for rounding and
20272 (denorm): Likewise.
20273 (__dbl_mp): Likewise.
20274 (add_magnitudes): Likewise.
20275 (sub_magnitudes): Likewise.
20278 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20279 powers of two in terms of TWOPOW macro.
20280 (mp_no): Make type of mantissa as MANTISSA_T.
20281 [!RADIXI]: Define RADIXI.
20282 [!TWO52]: Define TWO52.
20283 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20285 * manual/nptl.texi (cindex): Modify threads to pthreads.
20287 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20289 * sysdeps/x86_64/preconfigure: Regenerated.
20291 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20294 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20296 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20297 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20299 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20300 * math/libm-test.inc (j0_test): Do not allow one spurious
20301 underflow exception.
20302 (y1_test): Likewise.
20304 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20306 * manual/Makefile (chapters): Add nptl.
20307 * manual/debug.texi (Debugging Support): Add link to Threads
20309 * manual/nptl.texi: New file.
20311 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20313 2013-03-14 Petr Baudis <pasky@ucw.cz>
20315 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20316 for non-NULL pointer before the memory validity test. Pointed
20317 out by Holger Brunck <holger.brunck@keymile.com>.
20319 2013-03-13 Andreas Schwab <schwab@suse.de>
20321 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20324 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20326 * timezone/zic.c: Update from tzcode 2013b.
20328 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20330 * manual/install.texi (Configuring and compiling):
20331 Mention i686 and i586.
20332 * INSTALL: Regenerate.
20334 2013-03-12 Roland McGrath <roland@hack.frob.com>
20336 * sysdeps/init_array/elf-init.c: New file.
20338 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20339 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20341 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20342 __gmon_start__ as global, but as static with a .preinit_array pointer.
20343 * sysdeps/init_array/gmon-start.c: New file. Use that.
20344 * sysdeps/init_array/crti.S: New file, empty except for comments.
20345 * sysdeps/init_array/crtn.S: Likewise.
20347 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20349 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20352 Remove Prefer_SSE_for_memop.
20353 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20354 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20355 HAS_PREFER_SSE_FOR_MEMOP.
20356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20359 Remove bzero, memset ifunc support.
20360 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20361 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20362 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20363 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20365 2013-03-11 Andreas Schwab <schwab@suse.de>
20368 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20371 (GLIBC_2.16): Remove pthread_atfork.
20373 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20375 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20376 (ptestcases.h): Likewise.
20378 2013-03-08 Roland McGrath <roland@hack.frob.com>
20380 * Makeconfig ($(common-objpfx)config.status): Depend on
20381 sysdeps/*/preconfigure{,.in} too.
20383 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20385 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20386 (__free_hook): Use void * instead of __malloc_ptr_t.
20387 (__malloc_hook): Likewise.
20388 (__realloc_hook): Likewise.
20389 (__memalign_hook): Likewise.
20390 (__after_morecore_hook): Likewise.
20391 * malloc/arena.c (save_malloc_hook): Likewise.
20392 (save_free_hook): Likewise.
20393 * malloc/hooks.c (malloc_hook_ini): Likewise.
20394 (realloc_hook_ini): Likewise.
20395 (memalign_hook_ini): Likewise.
20396 * malloc/malloc.c (malloc_hook_ini): Likewise.
20397 (realloc_hook_ini): Likewise.
20398 (memalign_hook_ini): Likewise.
20399 (__free_hook): Likewise.
20400 (__malloc_hook): Likewise.
20401 (__realloc_hook): Likewise.
20402 (__memalign_hook): Likewise.
20403 (__libc_malloc): Likewise.
20404 (__libc_free): Likewise.
20405 (__libc_realloc): Likewise.
20406 (__libc_memalign): Likewise.
20407 (__libc_valloc): Likewise.
20408 (__libc_pvalloc): Likewise.
20409 (__libc_calloc): Likewise.
20410 (__posix_memalign): Likewise.
20411 * malloc/morecore.c (__sbrk): Likewise.
20412 (__default_morecore): Likewise.
20414 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20416 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20417 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20418 __malloc_ptrdiff_t.
20420 * malloc/malloc.h (__malloc_size_t): Remove macro.
20421 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20423 (old_memalign_hook): Likewise.
20424 (old_realloc_hook): Likewise.
20425 (struct hdr): Likewise.
20427 (mallochook): Likewise.
20428 (memalignhook): Likewise.
20429 (reallochook): Likewise.
20430 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20431 (tr_old_realloc_hook): Likewise.
20432 (tr_old_memalign_hook): Likewise.
20433 (tr_mallochook): Likewise.
20434 (tr_reallochook): Likewise.
20435 (tr_memalignhook): Likewise.
20437 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20439 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20440 default_ldbl_pack and using as default implementation.
20441 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20443 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20444 redundant definition.
20445 (ldbl_insert_mantissa): Likewise.
20446 (ldbl_canonicalize): Likewise.
20447 (ldbl_nearbyint): Likewise.
20448 (ldbl_pack): Rename to ldbl_pack_ppc.
20449 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20450 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20451 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20453 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20456 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20458 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20461 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20462 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20464 2013-03-07 Andreas Jaeger <aj@suse.de>
20466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20469 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20471 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20472 Include mpa.h and declare __MPEXP.
20473 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20474 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20475 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20476 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20477 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20478 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20479 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20481 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20482 (__slowpow): Use long double EXPL and LOGL functions to
20484 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20485 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20486 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20487 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20488 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20489 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20492 intermediate variable to calculate exponent.
20494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20498 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20499 [!NO__SQR]: Define __sqr.
20500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20501 and NO__SQR. Remove all code except __mul and __sqr. Include
20502 sysdeps/ieee754/dbl-64/mpa.c.
20503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20506 * posix/Makefile (tests): Add tst-pathconf.
20507 * posix/tst-pathconf.c: New test case.
20508 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20510 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20512 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20514 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20516 2013-03-06 Andreas Jaeger <aj@suse.de>
20518 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20519 definition via __MAP_ANONYMOUS.
20521 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20522 it's not part of Linux headers.
20524 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20525 (MAP_HUGE_MASK): Define.
20527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20529 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20532 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20533 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20535 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20536 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20538 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20540 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20541 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20542 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20543 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20544 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20545 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20547 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20550 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20551 Handle f2fs and efivarfs.
20553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20556 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20557 (EFIVARFS_MAGIC): Add.
20558 (F2FS_LINK_MAX): Add.
20560 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20562 * stdio-common/vfprintf.c: Replace __builtin_expect with
20565 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20568 * sysdeps/generic/bp-sym.h: Remove file.
20569 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20570 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20571 <bp-sym.h> and <bp-asm.h>.
20572 (__longjmp): Don't use BP_SYM.
20573 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20575 (memcpy): Don't use BP_SYM.
20576 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20577 <bp-sym.h> and <bp-asm.h>.
20578 (memcpy): Don't use BP_SYM.
20579 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20581 (memcpy): Don't use BP_SYM.
20582 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20584 (memset): Don't use BP_SYM.
20585 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20586 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20587 (__bzero): Don't use BP_SYM.
20588 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20589 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20590 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20591 <bp-sym.h> and <bp-asm.h>.
20592 (memcmp): Don't use BP_SYM. Remove comment about bounded
20594 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20595 <bp-sym.h> and <bp-asm.h>.
20596 (memcpy): Don't use BP_SYM.
20597 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20598 <bp-sym.h> and <bp-asm.h>.
20599 (memset): Don't use BP_SYM.
20600 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20601 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20602 (__bzero): Don't use BP_SYM.
20603 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20604 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20605 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20606 <bp-sym.h> and <bp-asm.h>.
20607 (strncmp): Don't use BP_SYM. Remove comment about bounded
20609 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20610 <bp-sym.h> and <bp-asm.h>.
20611 (memcpy): Don't use BP_SYM.
20612 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20613 <bp-sym.h> and <bp-asm.h>.
20614 (memset): Don't use BP_SYM.
20615 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20616 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20617 (__bzero): Don't use BP_SYM.
20618 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20619 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20620 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20621 <bp-sym.h> and <bp-asm.h>.
20622 (__memchr): Don't use BP_SYM.
20623 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20624 <bp-sym.h> and <bp-asm.h>.
20625 (memcmp): Don't use BP_SYM. Remove comment about bounded
20627 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20628 <bp-sym.h> and <bp-asm.h>.
20629 (memcpy): Don't use BP_SYM.
20630 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20631 <bp-sym.h> and <bp-asm.h>.
20632 (__mempcpy): Don't use BP_SYM.
20633 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20634 <bp-sym.h> and <bp-asm.h>.
20635 (__memrchr): Don't use BP_SYM.
20636 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20637 <bp-sym.h> and <bp-asm.h>.
20638 (memset): Don't use BP_SYM.
20639 (__bzero): Likewise.
20640 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20641 <bp-sym.h> and <bp-asm.h>.
20642 (__rawmemchr): Don't use BP_SYM.
20643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20644 <bp-sym.h> and <bp-asm.h>.
20645 (__STRCMP): Don't use BP_SYM.
20646 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20647 <bp-sym.h> and <bp-asm.h>.
20648 (strchr): Don't use BP_SYM.
20649 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20650 <bp-sym.h> and <bp-asm.h>.
20651 (__strchrnul): Don't use BP_SYM.
20652 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20653 <bp-sym.h> and <bp-asm.h>.
20654 (strlen): Don't use BP_SYM.
20655 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20656 <bp-sym.h> and <bp-asm.h>.
20657 (strncmp): Don't use BP_SYM. Remove comment about bounded
20659 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20660 <bp-sym.h> and <bp-asm.h>.
20661 (__strnlen): Don't use BP_SYM.
20662 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20663 <bp-sym.h> and <bp-asm.h>.
20664 (__GI__setjmp): Don't use BP_SYM.
20665 (_setjmp): Likewise.
20666 (__sigsetjmp): Likewise.
20667 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20668 (L(start_addresses)): Don't use BP_SYM.
20669 (_start): Likewise.
20670 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20672 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20673 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20674 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20675 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20676 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20678 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20679 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20680 about bounded pointers.
20681 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20682 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20683 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20685 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20686 about bounded pointers. Remove GKM FIXME comments.
20687 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20688 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20690 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20691 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20692 Remove GKM FIXME comments.
20693 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20694 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20695 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20697 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20698 about bounded pointers. Remove GKM FIXME comment.
20699 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20701 (strncmp): Don't use BP_SYM. Remove comment about bounded
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20704 <bp-sym.h> and <bp-asm.h>.
20705 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20707 <bp-sym.h> and <bp-asm.h>.
20708 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20711 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20713 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20716 2013-03-05 David S. Miller <davem@davemloft.net>
20718 * po/es.po: Update from translation team.
20720 2013-03-05 Andreas Jaeger <aj@suse.de>
20722 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20723 <bits/mman-linux.h>.
20724 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20726 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20727 <bits/mman-linux.h> to end of file.
20728 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20730 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20731 <bits/mman-linux.h> to end of file.
20732 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20735 <bits/mman-linux.h> to end of file.
20737 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20738 (MCL_CURRENT, MCL_FUTURE): Define here.
20740 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20743 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20745 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20747 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20749 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20750 fourth parameter needed for rt_sigprocmask syscall.
20751 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20752 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20753 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20754 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20755 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20756 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20758 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20761 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20762 comment about bounded pointers.
20763 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20764 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20766 2013-03-04 Andreas Jaeger <aj@suse.de>
20768 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20769 common definitions.
20771 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20772 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20773 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20774 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20775 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20776 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20778 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20781 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20782 __ieee754_sqrl instead of __sqrl.
20784 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20786 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20787 * sysdeps/powerpc/fpu_control.h: ... here.
20788 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20789 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20790 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20791 * sysdeps/powerpc/bits/mathinline.h: ... here.
20793 2013-03-01 Roland McGrath <roland@hack.frob.com>
20795 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20796 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20797 to just [NEED_DL_SYSINFO_DSO].
20798 * elf/dl-support.c: Likewise.
20799 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20800 * elf/rtld.c (dl_main): Likewise.
20801 * elf/setup-vdso.h (setup_vdso): Likewise.
20802 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20803 * sysdeps/unix/sysv/linux/dl-sysdep.c
20804 (_dl_discover_osversion): Likewise.
20806 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20808 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20809 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20811 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20813 * NEWS: Mention libm performance improvements and non-x86 PI
20816 * csu/libc-start.c (__pthread_initialize_minimal): Change
20817 function arguments.
20818 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20820 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20823 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20824 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20825 <bp-sym.h> and <bp-asm.h>.
20826 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20827 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20829 (memcpy): Don't use BP_SYM.
20830 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20832 (__mpn_add_n): Don't use BP_SYM.
20833 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20834 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20836 (__mpn_addmul_1): Don't use BP_SYM.
20837 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20838 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20840 (_setjmp): Don't use BP_SYM.
20841 (__novmx_setjmp): Likewise.
20842 (__GI__setjmp): Likewise.
20843 (__vmx_setjmp): Likewise.
20844 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20846 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20847 (__bzero): Don't use BP_SYM.
20848 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20849 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20850 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20851 <bp-sym.h> and <bp-asm.h>.
20852 (memcpy): Don't use BP_SYM.
20853 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20854 <bp-sym.h> and <bp-asm.h>.
20855 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20856 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20857 <bp-sym.h> and <bp-asm.h>.
20858 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20859 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20861 (__mpn_lshift): Don't use BP_SYM.
20862 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20863 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20865 (memset): Don't use BP_SYM.
20866 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20867 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20868 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20870 (__mpn_mul_1): Don't use BP_SYM.
20871 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20872 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20873 <bp-sym.h> and <bp-asm.h>.
20874 (memcmp): Don't use BP_SYM.
20875 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20876 <bp-sym.h> and <bp-asm.h>.
20877 (memcpy): Don't use BP_SYM.
20878 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20879 <bp-sym.h> and <bp-asm.h>.
20880 (memset): Don't use BP_SYM.
20881 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20882 <bp-sym.h> and <bp-asm.h>.
20883 (strncmp): Don't use BP_SYM.
20884 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20885 <bp-sym.h> and <bp-asm.h>.
20886 (memcpy): Don't use BP_SYM.
20887 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20888 <bp-sym.h> and <bp-asm.h>.
20889 (memset): Don't use BP_SYM.
20890 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20891 <bp-sym.h> and <bp-asm.h>.
20892 (__memchr): Don't use BP_SYM.
20893 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20894 <bp-sym.h> and <bp-asm.h>.
20895 (memcmp): Don't use BP_SYM.
20896 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20897 <bp-sym.h> and <bp-asm.h>.
20898 (memcpy): Don't use BP_SYM.
20899 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20900 <bp-sym.h> and <bp-asm.h>.
20901 (__mempcpy): Don't use BP_SYM.
20902 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20903 <bp-sym.h> and <bp-asm.h>.
20904 (__memrchr): Don't use BP_SYM.
20905 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20906 <bp-sym.h> and <bp-asm.h>.
20907 (memset): Don't use BP_SYM.
20908 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20909 <bp-sym.h> and <bp-asm.h>.
20910 (__rawmemchr): Don't use BP_SYM.
20911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20912 <bp-sym.h> and <bp-asm.h>.
20913 (__STRCMP): Don't use BP_SYM.
20914 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20915 <bp-sym.h> and <bp-asm.h>.
20916 (strchr): Don't use BP_SYM.
20917 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20918 <bp-sym.h> and <bp-asm.h>.
20919 (__strchrnul): Don't use BP_SYM.
20920 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20921 <bp-sym.h> and <bp-asm.h>.
20922 (strlen): Don't use BP_SYM.
20923 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20924 <bp-sym.h> and <bp-asm.h>.
20925 (strncmp): Don't use BP_SYM.
20926 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20927 <bp-sym.h> and <bp-asm.h>.
20928 (__strnlen): Don't use BP_SYM.
20929 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20931 (__mpn_rshift): Don't use BP_SYM.
20932 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20933 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20934 <bp-sym.h> and <bp-asm.h>.
20935 (__sigsetjmp): Don't use BP_SYM.
20936 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20937 (L(start_addresses)): Don't use BP_SYM.
20938 (_start): Likewise.
20939 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20941 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20942 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20943 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20944 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20946 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20947 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20948 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20949 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20951 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20953 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20954 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20956 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20958 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20959 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20960 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20962 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20964 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20966 (strncmp): Don't use BP_SYM,
20967 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20969 (__mpn_sub_n): Don't use BP_SYM.
20970 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20971 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20973 (__mpn_submul_1): Don't use BP_SYM.
20974 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20976 <bp-sym.h> and <bp-asm.h>.
20977 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20979 <bp-sym.h> and <bp-asm.h>.
20980 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20983 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20986 Use ZK to minimize writes to Z.
20987 (sub_magnitudes): Simplify code a bit.
20988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20989 Use ZK to minimize writes to Z.
20990 (sub_magnitudes): Simplify code a bit.
20992 2013-02-27 Roland McGrath <roland@hack.frob.com>
20994 * csu/gmon-start.c: Add special exception to license text.
20996 2013-02-27 Richard Henderson <rth@redhat.com>
20998 * scripts/config.guess: Update from config.git.
20999 * scripts/config.sub: Likewise.
21001 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21005 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21007 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21009 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21011 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21013 2013-02-26 Roland McGrath <roland@hack.frob.com>
21015 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21016 [$(build-shared = yes].
21018 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21020 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21021 (__mul): Reduce iterations for calculating mantissa.
21023 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21025 (__mpranred): Likewise.
21028 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21029 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21031 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21033 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21034 Define __attribute__.
21036 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21038 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21040 * posix/regex_internal.h (__attribute): Remove.
21041 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21042 (re_string_context_at): Likewise.
21043 (bitset_not): Use __attribute__ and mark function as possibly
21045 (bitset_merge): Likewise.
21046 (bitset_mask): Likewise.
21047 (re_string_char_size_at): Likewise.
21048 (re_string_wchar_at): Likewise.
21049 (re_string_elem_size_at): Likewise.
21051 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21053 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21057 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21061 (denorm): Likewise.
21062 (__dbl_mp): Likewise.
21063 (add_magnitudes): Likewise.
21064 (sub_magnitudes): Likewise.
21068 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21071 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21074 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21078 up changes with default code.
21079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21082 2013-02-24 Allan McRae <allan@archlinux.org>
21084 * manual/socket.texi (The Internet Namespace): Order menu items
21085 to match that in the file.
21087 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21088 node listing of the info page menu.
21090 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21093 * sysdeps/i386/bp-asm.h: Remove file.
21094 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21095 (PARMS): Do not use macros from bp-asm.h.
21099 (__mpn_add_n): Do not use BP_SYM
21100 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21102 (PARMS): Do not use macros from bp-asm.h.
21105 (__mpn_addmul_1): Do not use BP_SYM
21106 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21108 (PARMS): Do not use macros from bp-asm.h.
21109 (SIGMSK): Likewise.
21110 (_setjmp): Likewise. Do not use BP_SYM.
21111 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21113 (PARMS): Do not use macros from bp-asm.h.
21114 (SIGMSK): Likewise.
21115 (setjmp): Likewise. Do not use BP_SYM.
21116 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21118 (PARMS): Do not use macros from bp-asm.h.
21119 (__frexp): Do not use BP_SYM.
21121 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21123 (PARMS): Do not use macros from bp-asm.h.
21124 (__frexpf): Do not use BP_SYM.
21125 (frexpf): Likewise.
21126 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21128 (PARMS): Do not use macros from bp-asm.h.
21129 (__frexpl): Do not use BP_SYM.
21130 (frexpl): Likewise.
21131 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21133 (PARMS): Do not use macros from bp-asm.h.
21134 (__remquo): Do not use BP_SYM.
21135 (remquo): Likewise.
21136 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21138 (PARMS): Do not use macros from bp-asm.h.
21139 (__remquof): Do not use BP_SYM.
21140 (remquof): Likewise.
21141 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21143 (PARMS): Do not use macros from bp-asm.h.
21144 (__remquol): Do not use BP_SYM.
21145 (remquol): Likewise.
21146 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21148 (PARMS): Do not use macros from bp-asm.h.
21151 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21152 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21154 (PARMS): Do not use macros from bp-asm.h.
21155 (strlen): Do not use BP_SYM.
21156 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21158 (PARMS): Do not use macros from bp-asm.h.
21162 (__mpn_add_n): Do not use BP_SYM.
21163 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21165 (PARMS): Do not use macros from bp-asm.h.
21168 (__mpn_addmul_1): Do not use BP_SYM.
21169 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21172 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21174 (PARMS): Do not use macros from bp-asm.h.
21177 (__mpn_lshift): Do not use BP_SYM.
21178 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21180 (PARMS): Do not use macros from bp-asm.h.
21184 (memcpy): Likewise. Do not use BP_SYM.
21185 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21186 libc_hidden_def and weak_alias.
21187 (mempcpy): Do not use BP_SYM in weak_alias.
21188 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21190 (PARMS): Do not use macros from bp-asm.h.
21193 [!BZERO_P] (CHR): Likewise.
21194 (memset): Likewise. Do not use BP_SYM.
21195 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21197 (PARMS): Do not use macros from bp-asm.h.
21200 (__mpn_mul_1): Do not use BP_SYM.
21201 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21203 (PARMS): Do not use macros from bp-asm.h.
21206 (__mpn_rshift): Do not use BP_SYM.
21207 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21209 (PARMS): Do not use macros from bp-asm.h.
21212 (strchr): Likewise. Do not use BP_SYM.
21213 (index): Do not use BP_SYM in weak_alias.
21214 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21216 (PARMS): Do not use macros from bp-asm.h.
21219 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21220 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21222 (PARMS): Do not use macros from bp-asm.h.
21223 (strlen): Do not use BP_SYM.
21224 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21226 (PARMS): Do not use macros from bp-asm.h.
21230 (__mpn_sub_n): Do not use BP_SYM.
21231 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21233 (PARMS): Do not use macros from bp-asm.h.
21236 (__mpn_submul_1): Do not use BP_SYM.
21237 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21239 (PARMS): Do not use macros from bp-asm.h.
21243 (__mpn_add_n): Do not use BP_SYM.
21244 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21247 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21249 (PARMS): Do not use macros from bp-asm.h.
21252 (memcmp): Do not use BP_SYM.
21253 (bcmp): Do not use BP_SYM in weak_alias.
21254 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21256 (PARMS): Do not use macros from bp-asm.h.
21260 (memcpy): Likewise. Do not use BP_SYM.
21261 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21263 (PARMS): Do not use macros from bp-asm.h.
21267 (memmove): Likewise. Do not use BP_SYM.
21268 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21270 (PARMS): Do not use macros from bp-asm.h.
21274 (__mempcpy): Likewise. Do not use BP_SYM.
21275 (mempcpy): Do not use BP_SYM in weak_alias.
21276 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21278 (PARMS): Do not use macros from bp-asm.h.
21281 [!BZERO_P] (CHR): Likewise.
21282 (memset): Likewise. Do not use BP_SYM.
21283 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21285 (PARMS): Do not use macros from bp-asm.h.
21287 (strcmp): Do not use BP_SYM.
21288 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21290 (PARMS): Do not use macros from bp-asm.h.
21293 [USE_AS_STRTOK_R] (SAVE): Likewise.
21294 (FUNCTION): Likewise. Do not use BP_SYM.
21295 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21297 (strtok_r): Likewise.
21298 (__GI___strtok_r): Likewise.
21299 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21300 (PARMS): Do not use macros from bp-asm.h.
21303 (__mpn_lshift): Do not use BP_SYM.
21304 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21305 (PARMS): Do not use macros from bp-asm.h.
21308 (__memchr): Do not use BP_SYM.
21309 (memchr): Do not use BP_SYM in weak_alias.
21310 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21311 (PARMS): Do not use macros from bp-asm.h.
21314 (memcmp): Do not use BP_SYM.
21315 (bcmp): Do not use BP_SYM in weak_alias.
21316 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21317 (PARMS): Do not use macros from bp-asm.h.
21320 (__mpn_mul_1): Do not use BP_SYM.
21321 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21323 (PARMS): Do not use macros from bp-asm.h.
21326 (__rawmemchr): Do not use BP_SYM.
21327 (rawmemchr): Do not use BP_SYM in weak_alias.
21328 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21329 (PARMS): Do not use macros from bp-asm.h.
21332 (__mpn_rshift): Do not use BP_SYM.
21333 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21334 (PARMS): Do not use macros from bp-asm.h.
21335 (SIGMSK): Likewise.
21336 (__sigsetjmp): Likewise. Do not use BP_SYM.
21337 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21338 (_start): Do not use BP_SYM.
21339 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21340 (PARMS): Do not use macros from bp-asm.h.
21343 (__stpcpy): Likewise. Do not use BP_SYM.
21344 (stpcpy): Do not use BP_SYM in weak_alias.
21345 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21347 (PARMS): Do not use macros from bp-asm.h.
21351 (__stpncpy): Likewise. Do not use BP_SYM.
21352 (stpncpy): Do not use BP_SYM in weak_alias.
21353 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21354 (PARMS): Do not use macros from bp-asm.h.
21357 (strchr): Likewise. Do not use BP_SYM.
21358 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21360 (PARMS): Do not use macros from bp-asm.h.
21363 (__strchrnul): Likewise. Do not use BP_SYM.
21364 (strchrnul): Do not use BP_SYM in weak_alias.
21365 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21367 (PARMS): Do not use macros from bp-asm.h.
21369 (strcspn): Do not use BP_SYM.
21370 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21372 (PARMS): Do not use macros from bp-asm.h.
21375 (strpbrk): Likewise. Do not use BP_SYM.
21376 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21378 (PARMS): Do not use macros from bp-asm.h.
21381 (strrchr): Likewise. Do not use BP_SYM.
21382 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21383 (PARMS): Do not use macros from bp-asm.h.
21385 (strspn): Do not use BP_SYM.
21386 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21387 (PARMS): Do not use macros from bp-asm.h.
21391 (FUNCTION): Likewise. Do not use BP_SYM.
21392 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21394 (strtok_r): Likewise.
21395 (__GI___strtok_r): Likewise.
21396 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21397 (PARMS): Do not use macros from bp-asm.h.
21401 (__mpn_sub_n): Do not use BP_SYM.
21402 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21404 (PARMS): Do not use macros from bp-asm.h.
21407 (__mpn_submul_1): Do not use BP_SYM.
21408 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21410 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21412 (PARMS): Do not use macros from bp-asm.h.
21417 (__clone): Do not use BP_SYM.
21418 (clone): Do not use BP_SYM in weak_alias.
21419 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21421 (PARMS): Do not use macros from bp-asm.h.
21423 (__mmap64): Do not use BP_SYM.
21424 (mmap64): Do not use BP_SYM in weak_alias.
21425 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21426 <bp-sym.h> and <bp-asm.h>.
21427 (PARMS): Do not use macros from bp-asm.h.
21428 (__posix_fadvise64_l64): Do not use BP_SYM.
21429 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21430 (PARMS): Do not use macros from bp-asm.h.
21432 (semtimedop): Do not use BP_SYM.
21433 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21436 2013-02-21 Allan McRae <allan@archlinux.org>
21438 * manual/message.texi (Charset conversion in gettext):
21439 Move @end statement to beginning of line.
21441 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21448 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21449 (denorm): Likewise.
21450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21453 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21455 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21456 tail-call to the resolved function if pltexit isn't needed.
21458 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21461 or Y being zero as being unlikely.
21462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21465 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21467 * manual/nss.texi (System Databases and Name Service Switch):
21468 Remove frobnicate @pxref.
21470 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21472 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21473 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21475 2013-02-20 Petr Machata <pmachata@redhat.com>
21477 * elf/elf.h (R_ARM_TARGET1): New macro.
21478 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21479 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21480 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21481 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21482 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21483 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21484 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21485 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21486 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21487 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21488 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21489 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21490 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21491 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21492 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21493 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21494 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21495 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21496 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21497 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21498 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21499 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21500 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21501 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21502 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21503 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21504 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21505 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21506 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21507 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21508 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21509 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21510 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21511 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21512 (R_ARM_THM_GOT_BREL12): Likewise.
21513 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21514 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21515 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21516 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21517 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21518 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21519 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21520 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21521 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21523 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21525 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21526 __attribute_used__ to __attribute__ ((unused)).
21528 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21530 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21533 comment formatting.
21534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21536 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21539 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21541 (ENTER): Remove both macro definitions.
21543 (CHECK_BOUNDS_LOW): Likewise.
21544 (CHECK_BOUNDS_HIGH): Likewise.
21545 (CHECK_BOUNDS_BOTH): Likewise.
21546 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21547 (RETURN_BOUNDED_POINTER): Likewise.
21548 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21549 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21550 (POP_ERRNO_LOCATION_RETURN): Likewise.
21551 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21552 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21553 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21555 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21556 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21557 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21558 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21559 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21560 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21561 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21562 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21563 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21564 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21565 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21566 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21567 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21568 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21570 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21571 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21573 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21574 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21575 * sysdeps/i386/i586/memset.S (memset): Likewise.
21576 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21577 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21578 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21580 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21581 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21582 Change uses of L(2) to L(out).
21583 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21584 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21585 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21586 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21587 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21589 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21590 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21592 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21593 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21594 (RETURN): Do not use macro LEAVE.
21595 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21596 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21597 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21598 * sysdeps/i386/i686/memset.S (memset): Likewise.
21599 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21600 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21601 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21602 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21604 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21605 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21606 L(1_2) and L(1_3) into L(1).
21607 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21608 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21609 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21610 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21611 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21612 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21613 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21614 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21615 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21617 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21618 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21619 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21620 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21621 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21622 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21623 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21624 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21625 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21626 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21627 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21628 * sysdeps/i386/strspn.S (strspn): Likewise.
21629 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21631 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21632 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21633 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21634 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21635 L(1_3) into L(1_1).
21636 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21637 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21638 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21640 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21642 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21644 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21647 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21649 * math/atest-exp.c (exp_mpn): Remove ROUND.
21650 * math/atest-exp2.c (exp_mpn): Likewise.
21651 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21653 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21654 * stdlib/tst-tls-atexit-lib.c: Likewise.
21655 * stdlib/tst-tls-atexit.c: Likewise.
21657 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21659 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21660 and __attribute_alloc_size__.
21662 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21664 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21665 __attribute_alloc_size__.
21666 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21667 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21669 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21671 * include/programs/xmalloc.h: New file.
21672 * catgets/gencat.c: Include it.
21673 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21674 * elf/pldd.c: Likewise.
21675 * iconv/iconv_charmap.c: Likewise.
21676 * iconv/iconvconfig.c: Likewise.
21677 * iconv/strtab.c: Likewise.
21678 * locale/programs/locale.c: Likewise.
21679 * locale/programs/localedef.h: Likewise.
21680 * locale/programs/simple-hash.c: Likewise.
21681 * nscd/nscd.h: Likewise.
21682 * nss/makedb.c: Likewise.
21683 * sysdeps/generic/ldconfig.h: Likewise.
21685 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21687 * Versions.def: Add GLIBC_2.18.
21688 * include/link.h (struct link_map): New member l_tls_dtor_count.
21689 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21690 (__call_tls_dtors): Likewise.
21691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21692 __cxa_thread_atexit_impl.
21693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21709 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21710 (tests): Add test case tst-tls-atexit.
21711 (modules-names): Add shared library for tst-tls-atexit.
21712 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21713 (GLIBC_PRIVATE): Add __call_tls_dtors.
21714 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21716 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21717 * stdlib/tst-tls-atexit.c: New test case.
21718 * stdlib/tst-tls-atexit-lib.c: New test case.
21720 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21722 * elf/Versions (ld): Add _dl_find_dso_for_object.
21723 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21724 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21725 (dl_open_worker): Use _dl_find_dso_for_object.
21726 * elf/dl-sym.c (do_sym): Likewise.
21727 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21729 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21731 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21732 Syntactic changes only.
21733 (_dl_runtime_profile): Do a tail-call to the resolved function.
21735 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21738 * sysdeps/x86_64/bp-asm.h: Remove file.
21739 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21740 <bp-sym.h> and <bp-asm.h>.
21741 (__clone): Do not use BP_SYM.
21742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21743 <bp-sym.h> and <bp-asm.h>.
21744 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21745 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21747 (_setjmp): Do not use BP_SYM.
21748 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21750 (setjmp): Do not use BP_SYM.
21751 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21753 (mempcpy): Do not use BP_SYM in weak_alias.
21754 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21756 (strchr): Do not use BP_SYM.
21757 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21759 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21760 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21761 (_start): Do not use BP_SYM.
21762 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21764 (strcat): Do not use BP_SYM.
21765 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21767 (STRCMP): Do not use BP_SYM.
21768 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21770 (STRCPY): Do not use BP_SYM.
21771 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21773 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21775 (FUNCTION): Do not use BP_SYM.
21776 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21778 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21780 2013-02-17 Andreas Jaeger <aj@suse.de>
21782 * time/Versions: Sort entries.
21783 * string/Versions: Likewise.
21784 * resolv/Versions: Likewise.
21785 * posix/Versions: Likewise.
21786 * iconv/Versions: Likewise.
21787 * elf/Versions: Likewise.
21788 * wcsmbs/Versions: Likewise.
21790 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21792 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21793 loop termination condition.
21795 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21796 variable to calculate EZ.
21799 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21800 the lower precision input.
21802 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21805 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21806 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21807 (run-via-rtld-prefix): Do not handle %-bp tests.
21808 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21809 (all-object-suffixes): Remove .ob.
21810 (bppfx): Remove variable.
21811 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21812 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21813 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21814 [$(build-bounded) = yes] (libtype.ob): Likewise.
21815 * Makerules (elide-routines.ob): Remove variable.
21816 (do-tests-clean): Do not handle *-bp.out.
21817 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21818 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21819 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21820 (tests): Do not include $(tests-bp.out).
21821 (xtests): Do not include $(xtests-bp.out).
21822 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21823 [$(build-bounded) = yes] ($(addprefix
21824 $(objpfx),$(binaries-bounded))): Remove rule.
21825 ($(objpfx)%-bp.out): Remove rule.
21826 * config.make.in (build-bounded): Remove variable.
21827 * crypt/Makefile [$(build-bounded) = yes]
21828 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21829 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21830 append to variable.
21831 [$(build-bounded) = yes] (install-lib): Likewise.
21832 [$(build-bounded) = yes] (generated): Likewise.
21833 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21835 * intl/Makefile [$(build-bounded) = yes]
21836 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21837 * math/Makefile [$(build-bounded) = yes]
21838 ($(tests:%=$(objpfx)%-bp): Likewise.
21839 * misc/Makefile [$(build-bounded) = yes]
21840 ($(objpfx)tst-tsearch-bp): Likewise.
21841 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21842 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21844 * string/Makefile (o-objects.ob): Remove variable.
21845 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21846 (CFLAGS-.ob): Remove variable.
21847 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21848 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21849 both definitions of variable.
21850 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21851 (ASFLAGS-.ob): Remove variable.
21853 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21856 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21857 Remove __BOUNDED_POINTERS__ from condition.
21858 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21859 * string/bits/string2.h [!__NO_STRING_INLINES &&
21860 !__BOUNDED_POINTERS__]: Likewise.
21861 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21863 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21864 Remove conditional code.
21865 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21866 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21867 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21871 * csu/libc-start.c: Do not include <bp-sym.h>.
21872 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21873 * elf/dl-open.c: Do not include <bp-sym.h>.
21874 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21875 * math/fegetenv.c: Do not include <bp-sym.h>.
21876 (fegetenv): Do not use BP_SYM in versioned symbols.
21877 * nptl/sysdeps/pthread/bits/libc-lockP.h
21878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21881 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21883 (__pthread_mutex_destroy): Likewise.
21884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21885 (__pthread_mutex_lock): Likewise.
21886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21887 (__pthread_mutex_trylock): Likewise.
21888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21889 (__pthread_mutex_unlock): Likewise.
21890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21891 (__pthread_mutexattr_init): Likewise.
21892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21893 (__pthread_mutexattr_destroy): Likewise.
21894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21895 (__pthread_mutexattr_settype): Likewise.
21896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21897 (__pthread_rwlock_init): Likewise.
21898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21899 (__pthread_rwlock_destroy): Likewise.
21900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21901 (__pthread_rwlock_rdlock): Likewise.
21902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21903 (__pthread_rwlock_tryrdlock): Likewise.
21904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21905 (__pthread_rwlock_wrlock): Likewise.
21906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21907 (__pthread_rwlock_trywrlock): Likewise.
21908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21909 (__pthread_rwlock_unlock): Likewise.
21910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21911 (__pthread_key_create): Likewise.
21912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21913 (__pthread_setspecific): Likewise.
21914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21915 (__pthread_getspecific): Likewise.
21916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21919 (_pthread_cleanup_push_defer): Likewise.
21920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21921 (_pthread_cleanup_pop_restore): Likewise.
21922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21923 (pthread_setcancelstate): Likewise.
21924 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21926 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21927 (memchr): Do not use BP_SYM in weak_alias.
21928 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21929 (fegetenv): Do not use BP_SYM in versioned symbols.
21930 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21931 (fesetenv): Do not use BP_SYM in versioned symbols.
21932 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21933 (feupdateenv): Do not use BP_SYM in versioned symbols.
21934 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21935 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21936 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21937 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21938 (open64): Do not use BP_SYM in weak_alias.
21939 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21940 (fegetenv): Do not use BP_SYM in versioned symbols.
21941 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21942 (fesetenv): Do not use BP_SYM in versioned symbols.
21943 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21944 (feupdateenv): Do not use BP_SYM in versioned symbols.
21945 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21946 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21947 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21948 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21949 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21950 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21951 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21953 (__libc_start_main): Do not use BP_SYM.
21955 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21958 redundant return line.
21960 (denorm): Likewise.
21961 (dbl_mp): Likewise.
21962 (sub_magnitudes): Likewise.
21968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21970 (denorm): Likewise.
21971 (dbl_mp): Likewise.
21972 (sub_magnitudes): Likewise.
21979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21982 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21985 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21986 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21988 of __mul for squares.
21989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21993 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21994 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21996 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21999 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22001 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22002 prototype or function definition. Rename ubp_* variables and
22003 parameters. Remove argv definitions conditional on
22004 [__BOUNDED_POINTERS__].
22005 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22006 * elf/dl-runtime.c (_dl_fixup): Likewise.
22007 * include/set-hooks.h (RUN_HOOK): Likewise.
22008 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22010 * string/strcpy.c (strcpy): Do not use __unbounded.
22011 * sysdeps/generic/frame.h (struct layout): Likewise.
22012 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22013 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22014 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22015 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22016 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22017 (__backtrace): Likewise.
22018 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22020 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22021 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22022 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22024 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22025 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22026 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22027 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22028 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22029 Do not use __unbounded.
22030 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22031 Rename __unboundedrlimits parameter to rlimits in prototype.
22032 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22033 Do not use __unbounded.
22034 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22035 not use __ptrvalue.
22036 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22037 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22038 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22039 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22040 __ptrvalue or __unbounded.
22041 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22042 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22044 (__new_msgctl): Do not use __ptrvalue.
22045 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22047 (__libc_msgrcv): Do not use __ptrvalue.
22048 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22049 startup_info): Do not use __unbounded.
22050 (__libc_start_main): Likewise. Rename ubp_* variables and
22051 parameters. Remove argv definitions conditional on
22052 [__BOUNDED_POINTERS__].
22053 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22055 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22057 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22059 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22061 (__new_shmctl): Do not use __ptrvalue.
22062 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22063 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22065 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22067 (__libc_sigaction): Likewise.
22068 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22069 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22071 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22073 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22075 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22077 * string/mempcpy.c: Implement by calling memcpy.
22079 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22087 values in the mantissa.
22089 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22090 minimize writes to Z.
22091 (sub_magnitudes): Simplify code a bit.
22093 2013-02-12 Roland McGrath <roland@hack.frob.com>
22095 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22096 from the message. The linker prefixes all warnings with that already.
22098 2013-02-12 Andreas Schwab <schwab@suse.de>
22101 * posix/regexec.c (extend_buffers): Add parameter min_len.
22102 (check_matching): Pass minimum needed length.
22103 (clean_state_log_if_needed): Likewise.
22104 (get_subexp): Likewise.
22105 * posix/Makefile (tests): Add bug-regex34.
22106 (bug-regex34-ENV): Define.
22107 * posix/bug-regex34.c: New file.
22110 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22111 elements compare against the byte sequence of it, not its name.
22112 * posix/Makefile (tests): Add bug-regex35.
22113 (bug-regex35-ENV): Define.
22114 * posix/bug-regex35.c: New file.
22116 2013-02-11 Tom de Vries <tom@codesourcery.com>
22118 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22120 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22121 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22122 (CHECK_EOL): Add undef.
22124 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22126 * bits/stdlib-bsearch.h: New file.
22127 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22128 * stdlib/stdlib.h: Likewise.
22130 2013-02-11 Roland McGrath <roland@hack.frob.com>
22132 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22133 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22135 * manual/search.texi (Array Search Function): Add missing const in
22137 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22138 declaration to use rlim_t.
22139 (Basic Scheduling Functions): Remove erroneous const from
22140 sched_getparam prototype. Remove erroneous * from
22141 sched_get_priority_max and sched_get_priority_min prototypes.
22142 (Resource Usage): Fix summary @comment on vtimes to refer to
22143 sys/vtimes.h rather than vtimes.h.
22144 Add missing *s in vtimes prototype.
22145 (Limits on Resources): Fix ulimit prototype to return long int.
22146 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22147 prototypes to use long int rather than double.
22148 (BSD Random): Fix initstate and setstate to use char *, not void *.
22149 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22150 prototype to make second argument 'struct aiocb64 *const[]'.
22151 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22152 (Status of AIO Operations): Remove erroneous const in aio_return and
22153 aio_return64 prototypes.
22154 (Synchronizing I/O): Fix sync prototype to return void.
22155 * manual/startup.texi (Suboptions): Remove an erroneous const in
22156 getsubopt prototype.
22157 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22158 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22159 use size_t rather than int.
22160 (Scanning All Users): Likewise for getpwent_r.
22161 (Setting Groups): Add missing const to setgroups prototype.
22162 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22163 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22164 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22165 'const void *' rather than 'const char *'.
22166 (Host Address Functions): Likewise for inet_ntop.
22167 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22168 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22169 ssize_t for return value.
22170 (Sending Data): Likewise for send, sendto, sendmsg.
22171 (Socket Option Functions): Add a missing const in setsockopt prototype.
22172 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22173 use wchar_t for the argument.
22174 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22175 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22177 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22178 double/float/long double for second argument.
22179 Fix return types of significand, significandf, significandl.
22180 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22181 argument in fchmod prototype.
22182 (File Owner): Use uid_t and gid_t in fchown prototype.
22183 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22184 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22185 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22186 use 'const struct dirent **' as argument types to CMP function pointer
22188 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22189 (File Times): Fix summary magic @comment for struct utimbuf and utime
22190 to refer to utime.h, not time.h.
22191 * manual/string.texi (Argz Functions): Add missing const in
22192 argz_extract and argz_next prototypes.
22193 (Finding Tokens in a String): Likewise for basename.
22194 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22195 (Copying and Concatenation): Fix typo in wmemmove prototype.
22196 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22197 (Signal Stack): Remove erroneous const in sigstack prototype.
22198 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22200 (Simple Calendar Time): Likewise for stime.
22201 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22203 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22204 say sys/sysctl.h instead.
22205 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22206 and vsyslog prototypes.
22208 2013-02-11 Tom de Vries <tom@codesourcery.com>
22210 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22213 2013-02-11 Roland McGrath <roland@hack.frob.com>
22215 * misc/sys/mman.h: Fix typo in mremap comment.
22217 2013-02-08 Roland McGrath <roland@hack.frob.com>
22219 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22220 the '\0' terminator.
22222 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22225 * debug/segfault.c: Don't include <bp-checks.h>.
22226 * sysdeps/generic/bp-checks.h: Remove file.
22227 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22228 (__GETDENTS): Don't use CHECK_N.
22229 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22230 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22231 (__getgroups): Don't use CHECK_N.
22232 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22233 (setgroups): Don't use CHECK_N.
22234 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22235 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22236 (__libc_msgrcv): Don't use CHECK_N.
22237 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22238 (__libc_msgsnd): Don't use CHECK_N.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22241 (__libc_pread): Don't use CHECK_N.
22242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22243 include <bp-checks.h>.
22244 (__libc_pread64): Don't use CHECK_N.
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22246 include <bp-checks.h>.
22247 (__libc_pwrite): Don't use CHECK_N.
22248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22249 include <bp-checks.h>.
22250 (__libc_pwrite64): Don't use CHECK_N.
22251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22253 (__libc_pread): Don't use CHECK_N.
22254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22255 include <bp-checks.h>.
22256 (__libc_pread64): Don't use CHECK_N.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22258 include <bp-checks.h>.
22259 (__libc_pwrite): Don't use CHECK_N.
22260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22261 include <bp-checks.h>.
22262 (__libc_pwrite64): Don't use CHECK_N.
22263 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22264 (do_pread): Don't use CHECK_N.
22265 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22266 (do_pread64): Don't use CHECK_N.
22267 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22268 (do_pwrite): Don't use CHECK_N.
22269 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22270 (do_pwrite64): Don't use CHECK_N.
22271 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22272 (__libc_readv): Don't use CHECK_N.
22273 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22274 (semop): Don't use CHECK_N.
22275 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22277 (semtimedop): Don't use CHECK_N.
22278 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22279 (__libc_pread): Don't use CHECK_N.
22280 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22282 (__libc_pread64): Don't use CHECK_N.
22283 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22285 (__libc_pwrite): Don't use CHECK_N.
22286 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22288 (__libc_pwrite64): Don't use CHECK_N.
22289 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22291 (__libc_msgrcv): Don't use CHECK_N.
22292 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22293 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22294 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22295 (__libc_writev): Don't use CHECK_N.
22297 2013-02-08 Roland McGrath <roland@hack.frob.com>
22299 * string/strcpy.c: Removed unused variable.
22301 * Makeconfig (+sysdep-includes): Define with := rather than =.
22302 Use an existing include/ subdir of each sysdeps dir before it.
22304 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22306 * nscd/connection.c (register_traced_file): Comment function.
22307 [HAVE_INOTIFY] (union __inev): Define.
22308 [HAVE_INOTIFY] (inotify_check_files): New function.
22309 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22310 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22312 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22314 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22316 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22317 loaded if not already and that a failure is permanent.
22319 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22322 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22323 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22325 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22328 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22329 (CHECK_1_NULL_OK): Likewise.
22330 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22331 (__fxstat): Do not use CHECK_1.
22332 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22334 (___fxstat64): Do not use CHECK_1.
22335 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22337 (__fxstatat): Do not use CHECK_1.
22338 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22340 (__fxstatat64): Do not use CHECK_1.
22341 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22343 (__fxstat): Do not use CHECK_1.
22344 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22346 (__fxstatat): Do not use CHECK_1.
22347 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22349 (__getresgid): Do not use CHECK_1.
22350 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22352 (__getresuid): Do not use CHECK_1.
22353 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22355 (__lxstat): Do not use CHECK_1.
22356 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22358 (__old_msgctl): Do not use CHECK_1.
22359 (__new_msgctl): Likewise.
22360 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22362 (__new_setrlimit): Do not use CHECK_1.
22363 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22365 (__old_shmctl): Do not use CHECK_1.
22366 (__new_shmctl): Likewise.
22367 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22369 (__xstat): Do not use CHECK_1.
22370 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22371 (__lxstat): Do not use CHECK_1.
22372 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22374 (___lxstat64): Do not use CHECK_1.
22375 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22376 (__old_msgctl): Do not use CHECK_1.
22377 (__new_msgctl): Likewise.
22378 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22380 (__gettimeofday): Do not use CHECK_1.
22381 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22382 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22383 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22385 (__gettimeofday): Do not use CHECK_1.
22386 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22387 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22388 (__new_shmctl): Do not use CHECK_1.
22389 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22391 (do_sigtimedwait): Do not use CHECK_1.
22392 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22394 (do_sigwaitinfo): Do not use CHECK_1.
22395 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22397 (msgctl): Do not use CHECK_1.
22398 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22400 (shmctl): Do not use CHECK_1.
22401 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22402 (ustat): Do not use CHECK_1.
22403 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22405 (__fxstat): Do not use CHECK_1.
22406 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22408 (__fxstatat): Do not use CHECK_1.
22409 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22411 (__lxstat): Do not use CHECK_1.
22412 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22414 (__xstat): Do not use CHECK_1.
22415 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22416 (__xstat): Do not use CHECK_1.
22417 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22418 (___xstat64): Do not use CHECK_1.
22421 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22423 (CHECK_BOUNDS_HIGH): Likewise.
22424 * string/strcpy.c: Do not include <bp-checks.h>.
22425 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22427 2013-02-07 Roland McGrath <roland@hack.frob.com>
22429 * nscd/nscd-client.h (__nscd_drop_map_ref):
22430 Add __attribute__ ((unused)).
22431 * nis/nss-nisplus.h (niserr2nss): Likewise.
22433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22434 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22436 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22437 Remove inline keyword.
22438 * include/rounding-mode.h (round_away): Likewise.
22439 * libio/wfileops.c (adjust_wide_data): Likewise.
22440 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22441 (__m128i_strloadu_tolower): Likewise.
22442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22443 (__m128i_strloadu_tolower): Likewise.
22444 * time/mktime.c (ydhms_diff): Likewise.
22445 * locale/elem-hash.h (elem_hash): Likewise.
22446 * locale/setlocale.c (setdata): Likewise.
22447 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22448 (re_string_wchar_at): Likewise.
22449 (bitset_not, bitset_merge, bitset_mask): Likewise.
22450 [!(__GNUC__ > 3)] (inline): Remove macro.
22451 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22452 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22453 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22454 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22455 * string/memcmp.c (memcmp_bytes): Likewise.
22456 * locale/programs/locarchive.c (compute_hashval): Likewise.
22457 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22458 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22459 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22460 * nss/getent.c (print_rpc, print_protocols): Likewise.
22461 (print_passwd, print_group, print_aliases): Likewise.
22462 * nis/nss-nisplus.h (niserr2nss): Likewise.
22463 * nscd/connections.c (restart_p): Likewise.
22464 Change return type to bool.
22466 2013-02-05 Roland McGrath <roland@hack.frob.com>
22468 * Makeconfig (all-Depend-files): Add existing
22469 $(sorted-subdirs:=/Depend) files.
22470 (all-subdirs): Remove nss.
22471 * sysdeps/unix/inet/Subdirs: Add it here instead.
22472 * hesiod/Depend: New file.
22474 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22475 instead of calling alloca.
22477 * io/lseek.c (__lseek): Rename to __libc_lseek.
22478 Define __lseek as an alias.
22480 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22482 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22484 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22485 else clause and remove check for non-standard endianness.
22487 2013-02-04 David S. Miller <davem@davemloft.net>
22489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22491 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22494 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22495 (__ubp_memchr): Remove prototype.
22496 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22497 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22498 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22499 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22500 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22502 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22503 (__ubp_memchr): Likewise.
22504 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22505 (__ubp_memchr): Likewise.
22506 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22507 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22508 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22509 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22511 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22512 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22513 (__getcwd): Do not use CHECK_STRING.
22514 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22516 (__real_chown): Do not use CHECK_STRING.
22517 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22519 (fchownat): Do not use CHECK_STRING.
22520 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22522 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22524 (__lchown): Do not use CHECK_STRING.
22525 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22526 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22527 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22528 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22530 include <bp-checks.h>.
22531 (truncate64): Do not use CHECK_STRING.
22532 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22534 (__real_chown): Do not use CHECK_STRING.
22535 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22537 (__lchown): Do not use CHECK_STRING.
22538 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22540 (__chown): Do not use CHECK_STRING.
22541 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22543 (truncate64): Do not use CHECK_STRING.
22544 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22546 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22547 (__xmknod): Do not use CHECK_STRING.
22548 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22550 (__xmknodat): Do not use CHECK_STRING.
22551 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22552 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22554 2013-02-04 Andreas Schwab <schwab@suse.de>
22557 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22558 * include/netdb.h: Likewise for h_errno.
22559 * elf/tst-stackguard1.c: Include <tls.h>.
22561 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22563 * elf/link.h (struct link_map): Extend the l_addr comment.
22564 * include/link.h (struct link_map): Likewise.
22566 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22569 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22570 (BOUNDED_1): Remove macro.
22571 * debug/backtrace.c: Don't include <bp-checks.h>.
22572 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22573 (__backtrace): Likewise.
22574 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22576 (__backtrace): Don't use BOUNDED_1.
22577 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22579 (__backtrace): Don't use BOUNDED_1.
22580 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22581 (__backtrace): Don't use BOUNDED_1.
22582 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22583 (shmat): Don't use BOUNDED_N.
22585 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22588 * sysdeps/generic/bp-start.h: Remove file.
22589 * csu/libc-start.c: Don't include <bp-start.h>.
22590 (LIBC_START_MAIN): Set up __environ directly instead of using
22591 INIT_ARGV_and_ENVIRON.
22592 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22596 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22598 (CHECK_FCNTL): Likewise.
22599 (CHECK_N_PAGES): Likewise.
22602 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22604 (CHECK_SIGSET_NULL_OK): Likewise.
22605 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22607 (sigpending): Don't use CHECK_SIGSET.
22608 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22610 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22611 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22613 (do_sigsuspend): Don't use CHECK_SIGSET.
22614 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22616 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22617 (do_sigwait): Don't use CHECK_SIGSET.
22618 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22621 include <bp-checks.h>.
22622 (sigpending): Don't use CHECK_SIGSET.
22623 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22624 include <bp-checks.h>.
22625 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22626 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22628 (sigpending): Don't use CHECK_SIGSET.
22629 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22631 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22634 * sysdeps/generic/bp-semctl.h: Remove file.
22635 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22636 <bp-checks.h> and <bp-semctl.h>.
22637 (__old_semctl): Don't use CHECK_SEMCTL.
22638 (__new_semctl): Likewise.
22639 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22641 (__old_semctl): Don't use CHECK_SEMCTL.
22642 (__new_semctl): Likewise.
22643 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22644 <bp-checks.h> and <bp-semctl.h>.
22645 (__old_semctl): Don't use CHECK_SEMCTL.
22646 (__new_semctl): Likewise.
22647 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22648 <bp-checks.h> and <bp-semctl.h>.
22649 (semctl): Don't use CHECK_SEMCTL.
22652 * Makerules (elide-bp-thunks): Remove variable.
22653 (elide-routines.oS): Don't use $(elide-bp-thunks).
22654 (elide-routines.os): Likewise.
22655 (elide-routines.o): Likewise.
22656 (elide-routines.op): Likewise.
22657 (elide-routines.og): Likewise.
22658 (objects): Don't use $(bp-thunks).
22659 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22661 (common-generated): Do not add s-proto-bp.d.
22662 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22665 Do not generate makefile rules for bounded-pointer thunks.
22666 * sysdeps/generic/bp-thunks.h: Remove file.
22667 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22668 * sysdeps/unix/s-proto-bp.S: Likewise.
22671 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22672 parts of result separately when argument is not close to line from
22673 -i to i and one part of argument is small.
22674 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22675 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22676 * math/libm-test.inc (cacos_test): Add more tests.
22677 (casin_test): Likewise.
22678 (casinh_test): Likewise.
22679 * sysdeps/i386/fpu/libm-test-ulps: Update.
22680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22682 2013-01-31 David S. Miller <davem@davemloft.net>
22684 * po/de.po: Update from translation team.
22686 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22688 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22690 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22692 * configure.in (_AC_PROG_CC_C89): New definition.
22693 * configure: Regenerate.
22695 * configure.in (AC_PROG_CPP): New definition.
22696 * configure: Regenerate.
22698 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22700 * debug/tst-backtrace.h: New file.
22701 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22702 (ret): Remove variable.
22704 (FAIL): Remove macro.
22705 (NO_INLINE): Likewise.
22706 (fn1): Use match function instead of strstr.
22707 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22708 (ret): Remove variable.
22710 (FAIL): Remove macro.
22711 (NO_INLINE): Likewise.
22712 (fn): Use match function instead of strstr.
22713 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22714 (ret): Remove variable.
22716 (FAIL): Remove macro.
22717 (NO_INLINE): Likewise.
22718 (handle_signal): Use match function instead of strstr.
22719 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22720 (ret): Remove variable.
22722 (FAIL): Remove macro.
22723 (NO_INLINE): Likewise.
22724 (handle_signal): Use match function instead of strstr.
22726 2013-01-23 Roland McGrath <roland@hack.frob.com>
22728 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22730 2013-01-23 David S. Miller <davem@davemloft.net>
22732 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22733 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22734 argument of CAS if possible.
22735 * sysdeps/sparc/sparc64/bits/atomic.h
22736 (__arch_compare_and_exchange_val_32_acq): Likewise.
22737 (__arch_compare_and_exchange_val_64_acq): Likewise.
22739 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22741 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22742 * sysdeps/posix/ulimit.c: ... this.
22743 Include <limits.h>.
22744 * sysdeps/unix/bsd/ulimit.c: Remove file.
22746 2013-01-23 Adam Conrad <adconrad@0c3.net>
22748 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22749 (LDFLAGS-tst-array5): Likewise.
22751 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22754 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22755 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22756 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22757 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22759 2013-01-21 David S. Miller <davem@davemloft.net>
22761 * sysdeps/sparc/backtrace.c: New file.
22762 * sysdeps/sparc/sparc32/backtrace.h: New file.
22763 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22764 * sysdeps/sparc/sparc64/backtrace.h: New file.
22765 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22766 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22769 2013-01-21 Andreas Schwab <schwab@suse.de>
22772 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22775 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22781 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22782 Mark Mitchell <mark@codesourcery.com>
22783 Tom de Vries <tom@codesourcery.com>
22784 Paul Pluzhnikov <ppluzhnikov@google.com>
22786 * debug/tst-backtrace2.c: New file.
22787 * debug/tst-backtrace3.c: Likewise.
22788 * debug/tst-backtrace4.c: Likewise.
22789 * debug/tst-backtrace5.c: Likewise.
22790 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22791 (CFLAGS-tst-backtrace3.c): Likewise.
22792 (CFLAGS-tst-backtrace4.c): Likewise.
22793 (CFLAGS-tst-backtrace5.c): Likewise.
22794 (LDFLAGS-tst-backtrace2): Likewise.
22795 (LDFLAGS-tst-backtrace3): Likewise.
22796 (LDFLAGS-tst-backtrace4): Likewise.
22797 (LDFLAGS-tst-backtrace5): Likewise.
22798 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22799 tst-backtrace4 and tst-backtrace5.
22801 2013-01-18 Anton Blanchard <anton@samba.org>
22802 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22804 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22805 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22807 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22809 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22810 "+r" and remove output regs list as redundant. Add explicit inline
22811 asm to specify register of return val to work around compiler codegen
22812 bug. Remove (int) cast on return value. Add return type parameter to
22813 use in macro so that this macro does not truncate return value for
22815 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22816 pass to INTERNAL_VSYSCALL_NCS.
22817 (INLINE_VSYSCALL): Add 'long int' as return type to
22818 INTERNAL_VSYSCALL_NCS macro invocation.
22819 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22820 INTERNAL_VSYSCALL_NCS macro invocation.
22821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22823 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22826 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22827 Fix application of SIMD FP exception mask.
22829 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22830 mp_no from a power of two.
22831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22832 __mpexp_twomm1. Use __pow_mp.
22834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22837 2013-01-17 David S. Miller <davem@davemloft.net>
22839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22841 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22844 * include/complex.h: Condition contents on [!_COMPLEX_H].
22845 (__kernel_casinhf): New prototype.
22846 (__kernel_casinh): Likewise.
22847 (__kernel_casinhl): Likewise.
22848 * math/Makefile (libm_calls): Add k_casinh.
22849 * math/k_casinh.c: New file.
22850 * math/k_casinhf.c: Likewise.
22851 * math/k_casinhl.c: Likewise.
22852 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22853 finite nonzero arguments.
22854 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22855 finite nonzero arguments.
22856 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22857 finite nonzero arguments.
22858 * math/s_casinh.c: Do not include <float.h>.
22859 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22860 * math/s_casinhf.c: Do not include <float.h>.
22861 (__casinhf): Move code for finite nonzero arguments to
22863 * math/s_casinhl.c: Do not include <float.h>.
22864 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22866 (__casinhl): Move code for finite nonzero arguments to
22868 * math/libm-test.inc (cacos_test): Add more tests.
22869 * sysdeps/i386/fpu/libm-test-ulps: Update.
22870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22872 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22874 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22875 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22876 [!HAVE_MREMAP]: Remove [defined linux] case.
22877 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22879 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22881 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22883 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22885 * elf/elf.h (R_386_SIZE32): New relocation.
22886 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22888 (elf_machine_rela): Likewise.
22889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22890 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22892 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22894 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22895 (FP_FAST_FMA): Do not define.
22896 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22897 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22898 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22899 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22900 !_SOFT_FLOAT]: Likewise.
22901 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22902 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22904 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22905 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22906 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22908 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22909 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22912 2013-01-16 Andreas Schwab <schwab@suse.de>
22915 * include/stdlib.h (__mktemp): Add declaration.
22916 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22917 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22919 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22921 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22923 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22924 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22925 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22927 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22928 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22930 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22932 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22933 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22934 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22936 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22937 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22939 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22941 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22943 2013-01-15 David S. Miller <davem@davemloft.net>
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22946 trunc{,f} to libm-sysdep_routes.
22947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22957 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22958 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22959 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22960 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22961 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22962 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22965 nearbyint{,f} to libm-sysdep_routes.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22977 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22979 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22982 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22983 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22984 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22986 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22987 libc_feholdexcept and libc_fesetenv.
22989 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22991 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22993 2013-01-14 David S. Miller <davem@davemloft.net>
22995 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22996 (SPARC_ASM_VIS2_IFUNC): Likewise.
22997 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22999 use of 'siam' instruction.
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23033 routines to libm-sysdep_routines.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23037 fdim/fdimf to libm-sysdep_routines.
23038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23046 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23047 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23048 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23049 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23051 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23053 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23054 to optimize copies.
23056 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23061 local variable MPTWO.
23062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23065 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23067 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23070 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23072 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23074 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23076 * manual/pattern.texi (glob_t): Document gl_flags.
23077 (glob64_t): Likewise.
23079 2013-01-11 David S. Miller <davem@davemloft.net>
23081 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23082 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23083 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23084 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23085 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23086 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23087 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23088 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23089 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23090 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23091 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23092 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23093 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23095 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23096 sparc V9 rather than using V8 code.
23097 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23098 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23102 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23105 2013-01-11 Roland McGrath <roland@hack.frob.com>
23107 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23108 not in the main loop.
23109 * configure: Regenerated.
23111 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23113 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23114 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23116 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23117 [!__GLIBC_HAVE_LONG_LONG] case.
23118 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23119 condition to just #else.
23120 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23121 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23122 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23123 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23125 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23126 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23127 #elif condition to just #else.
23128 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23129 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23130 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23131 #elif condition to just #else.
23133 2013-01-11 Steve Ellcey <sellcey@mips.com>
23135 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23136 (EF_MIPS_ARCH_64): Fix value.
23137 (EF_MIPS_ARCH_32R2): New.
23138 (EF_MIPS_ARCH_64R2): New.
23140 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23142 * Makeconfig (+link-pie-before-libc): New.
23143 (+link-pie-after-libc): Likewise.
23144 (+link-pie-tests): Likewise.
23145 (+link-pie): Rewritten.
23146 (link-before-libc): Remove $(config-LDFLAGS).
23147 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23148 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23149 (config-LDFLAGS): Renamed to ...
23150 (rtld-LDFLAGS): This.
23151 (rtld-tests-LDFLAGS): New macro.
23152 (link-libc-rpath-link): Likewise.
23153 (link-libc-tests-rpath-link): Likewise.
23154 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23155 (link-libc): Prepand $(link-libc-rpath-link).
23156 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23157 (test-program-prefix): New macro.
23158 (test-via-rtld-prefix): Likewise.
23159 (test-program-cmd): Likewise.
23160 (host-test-program-cmd): Likewise.
23161 * Makefile ($(common-objpfx)testrun.sh): Replace
23162 $(run-program-prefix) with $(test-program-prefix).
23163 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23165 ($(common-objpfx)shlib.lds): Likewise.
23166 (build-module-helper): Likewise.
23167 ($(common-objpfx)format.lds): Likewise.
23168 * Rules (binaries-pie-tests): New.
23169 (binaries-pie-notests): Likewise.
23170 (binaries-pie): Rewritten.
23171 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23172 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23173 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23174 (make-test-out): Replace $(host-built-program-cmd) with
23175 $(host-test-program-cmd).
23176 * config.make.in (build-hardcoded-path-in-tests): New variable.
23177 * configure.in (--enable-hardcoded-path-in-tests): New configure
23179 (hardcoded_path_in_tests): New AC_SUBST.
23180 * configure: Regenerated.
23181 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23182 $(built-program-cmd) with $(test-program-cmd).
23183 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23184 (test_program_cmd): This.
23185 * elf/Makefile ($(objpfx)order.out): Run test with
23186 $(test-program-prefix).
23187 ($(objpfx)order2.out): Likewise.
23188 ($(objpfx)tst-initorder.out): Likewise.
23189 ($(objpfx)tst-initorder2.out): Likewise.
23190 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23191 $(test-program-cmd).
23192 ($(objpfx)tst-array1-static.out): Likewise.
23193 ($(objpfx)tst-array2.out): Likewise.
23194 ($(objpfx)tst-array3.out): Likewise.
23195 ($(objpfx)tst-array4.out): Likewise.
23196 ($(objpfx)tst-array5.out): Likewise.
23197 ($(objpfx)tst-array5-static.out): Likewise.
23198 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23199 $(test-program-cmd).
23200 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23201 $(run-program-prefix) with $(test-program-prefix).
23202 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23203 (test_program_prefix): This.
23204 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23205 $(run-program-prefix) with $(test-program-prefix).
23206 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23207 (test_program_prefix): This.
23208 * iconvdata/tst-tables.sh: Likewise.
23209 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23210 $(run-program-prefix) with $(test-program-prefix).
23211 ($(objpfx)tst-translit.out): Likewise.
23212 ($(objpfx)tst-gettext2.out): Likewise.
23213 ($(objpfx)tst-gettext4.out): Likewise.
23214 ($(objpfx)tst-gettext6.out): Likewise.
23215 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23216 (test_program_prefix): This.
23217 * intl/tst-gettext2.sh: Likewise.
23218 * intl/tst-gettext4.sh Likewise.
23219 * intl/tst-gettext6.sh: Likewise.
23220 * intl/tst-translit.sh: Likewise.
23221 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23222 with $(test-program-cmd).
23223 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23224 $(run-program-prefix) with $(test-program-prefix).
23225 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23226 (test_program_prefix): This.
23227 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23228 $(run-program-prefix) with $(test-program-prefix).
23229 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23230 (test_program_prefix): This.
23231 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23232 * posix/Makefile ($(objpfx)globtest.out): Replace
23233 $(run-via-rtld-prefix) and $(test-wrapper) with
23234 $(test-program-prefix) and $(test-via-rtld-prefix).
23235 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23236 $(test-program-prefix).
23237 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23238 $(host-test-program-cmd).
23239 (tst-spawn-ARGS): Likewise.
23240 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23241 $(test-program-prefix).
23242 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23243 (test_via_rtld_prefix): This.
23244 (test_wrapper): Renamed to ...
23245 (test_program_prefix): This.
23246 (run_program_prefix): Replaced by test_program_prefix.
23247 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23248 (test_program_prefix): This.
23249 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23250 with $(host-test-program-cmd).
23251 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23252 $(run-program-prefix) with $(test-program-prefix).
23253 ($(objpfx)tst-printf.out): Likewise.
23254 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23255 $(test-program-cmd).
23256 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23257 (test_program_prefix): This.
23258 * stdio-common/tst-unbputc.sh: Likewise.
23259 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23260 $(run-program-prefix) with $(test-program-prefix).
23261 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23262 (test_program_prefix): This.
23263 * string/Makefile ($(objpfx)tst-svc.out): Replace
23264 $(built-program-cmd) with $(test-program-cmd).
23266 2013-01-11 Andreas Jaeger <aj@suse.de>
23269 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23270 value. Sync with Linux 3.7.
23272 2013-01-10 David S. Miller <davem@davemloft.net>
23274 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23275 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23276 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23278 2013-01-10 Roland McGrath <roland@hack.frob.com>
23280 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23282 * configure: Regenerated.
23284 2013-01-10 David S. Miller <davem@davemloft.net>
23286 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23287 sparc V9 rather than using V8 code.
23288 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23289 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23291 2013-01-10 Roland McGrath <roland@hack.frob.com>
23293 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23294 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23295 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23296 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23297 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23298 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23299 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23300 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23301 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23302 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23303 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23304 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23305 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23306 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23307 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23308 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23309 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23310 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23311 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23312 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23313 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23314 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23315 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23316 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23317 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23318 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23319 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23321 2013-01-10 David S. Miller <davem@davemloft.net>
23323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23325 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23327 * posix/Makefile (tests-static): New variable.
23328 (tests): Add $(tests-static).
23329 (tst-exec-static-ARGS): New variable.
23330 (tst-spawn-static-ARGS): Likewise.
23331 * posix/tst-exec-static.c: New file.
23332 * posix/tst-spawn-static.c: Likewise.
23333 * posix/tst-exec.c: Support run directly.
23334 * posix/tst-spawn.c: Likewise.
23336 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23338 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23340 * math/bits/mathcalls.h (llrint): Likewise.
23341 (llround): Likewise.
23342 * stdlib/stdlib.h (struct drand48_data): Likewise.
23343 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23344 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23345 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23347 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23349 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23350 (elf_greg_t): Likewise.
23351 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23352 (__jmp_buf): Likewise.
23353 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23355 (llrint): Likewise, for all definitions.
23356 (llrintl): Likewise.
23358 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23359 Remove [__GNUC__] condition.
23360 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23361 condition to just [__USE_ISOC99].
23362 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23364 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23367 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23368 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23370 (_POSIX_V6_ILP32_OFF32): Likewise.
23371 (_XBS5_ILP32_OFF32): Likewise.
23372 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23373 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23375 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23377 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23380 doubles __mpexp_twomm1. Adjust usage.
23381 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23384 2013-01-10 Andreas Schwab <schwab@suse.de>
23387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23388 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23390 2013-01-09 David S. Miller <davem@davemloft.net>
23393 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23394 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23395 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23396 (TCP_FASTOPEN): Define.
23397 (tcp_repair_opt): New structure.
23398 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23400 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23401 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23402 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23403 (tcp_cookie_transactions): New structure.
23405 2013-01-09 Anton Blanchard <anton@samba.org>
23407 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23408 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23409 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23410 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23412 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23414 * include/features.h (__USE_ANSI): Remove.
23416 2013-01-09 Roland McGrath <roland@hack.frob.com>
23418 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23420 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23422 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23424 * sysdeps/s390/fpu/libm-test-ulps: Update.
23426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23428 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23432 (denorm): Likewise.
23433 (__mp_dbl): Likewise.
23434 (__dbl_mp): Likewise.
23435 (add_magnitudes): Likewise.
23436 (sub_magnitudes): Likewise.
23442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23446 (denorm): Likewise.
23447 (__mp_dbl): Likewise.
23448 (__dbl_mp): Likewise.
23449 (add_magnitudes): Likewise.
23450 (sub_magnitudes): Likewise.
23456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23460 (denorm): Likewise.
23461 (__mp_dbl): Likewise.
23462 (__dbl_mp): Likewise.
23463 (add_magnitudes): Likewise.
23464 (sub_magnitudes): Likewise.
23471 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23473 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23474 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23475 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23476 2 && __USE_EXTERN_INLINES]: Likewise.
23478 2013-01-08 Andreas Jaeger <aj@suse.de>
23481 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23483 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23484 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23486 2013-01-07 Anton Blanchard <anton@samba.org>
23488 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23489 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23490 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23491 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23492 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23493 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23494 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23495 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23497 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23498 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23499 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23502 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23503 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23505 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23506 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23508 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23509 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23510 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23511 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23512 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23513 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23514 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23515 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23517 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23518 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23520 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23521 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23522 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23523 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23524 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23525 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23526 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23527 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23528 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23530 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23532 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23534 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23535 (__MALLOC_PMT): Likewise.
23536 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23537 [__GNUC__], only on [_LIBC].
23538 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23539 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23540 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23541 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23542 forward declaration.
23543 (realloc_hook_ini): Likewise.
23544 (memalign_hook_ini): Likewise.
23545 (__libc_memalign): Do not use __MALLOC_PMT in variable
23547 (__libc_valloc): Likewise.
23548 (__libc_pvalloc): Likewise.
23549 (__libc_calloc): Likewise.
23550 (__posix_memalign): Likewise.
23553 * math/s_casinh.c: Include <float.h>.
23554 (__casinh): Do not do computation with squaring and square root
23555 for large arguments.
23556 * math/s_casinhf.c: Include <float.h>.
23557 (__casinhf): Do not do computation with squaring and square root
23558 for large arguments.
23559 * math/s_casinhl.c: Include <float.h>.
23560 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23561 (__casinhl): Do not do computation with squaring and square root
23562 for large arguments.
23563 * math/libm-test.inc (casin_test): Add more tests.
23564 (casinh_test): Likewise.
23565 * sysdeps/i386/fpu/libm-test-ulps: Update.
23566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23568 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23570 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23571 (__x86_64_raw_data_cache_size): Likewise.
23572 (__x86_64_data_cache_size_half): Likewise.
23573 (__x86_64_raw_data_cache_size_half): Likewise.
23574 (__x86_64_shared_cache_size): Likewise.
23575 (__x86_64_raw_shared_cache_size): Likewise.
23576 (__x86_64_shared_cache_size_half): Likewise.
23577 (__x86_64_raw_shared_cache_size_half): Likewise.
23578 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23580 (__x86_data_cache_size): This.
23581 (__x86_64_raw_data_cache_size): Renamed to ...
23582 (__x86_raw_data_cache_size): This.
23583 (__x86_64_data_cache_size_half): Renamed to ...
23584 (__x86_data_cache_size_half): This.
23585 (__x86_64_raw_data_cache_size_half): Renamed to ...
23586 (__x86_raw_data_cache_size_half): This.
23587 (__x86_64_shared_cache_size): Renamed to ...
23588 (__x86_shared_cache_size): This.
23589 (__x86_64_raw_shared_cache_size): Renamed to ...
23590 (__x86_raw_shared_cache_size): This.
23591 (__x86_64_shared_cache_size_half): Renamed to ...
23592 (__x86_shared_cache_size_half): This.
23593 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23594 (__x86_raw_shared_cache_size_half): This.
23595 * sysdeps/x86_64/memcpy.S: Updated.
23596 * sysdeps/x86_64/memset.S: Likewise.
23597 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23598 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23599 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23601 2013-01-04 David S. Miller <davem@davemloft.net>
23603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23605 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23607 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23608 1 to avoid redefinition warning.
23609 (__USE_GNU): Don't define.
23610 (init_signaling_nan): Protoize.
23612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23614 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23616 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23618 (__cpymn): Likewise.
23619 (norm): Remove commented code.
23620 (denorm): Likewise.
23621 (__mp_dbl): Likewise.
23623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23624 (__cpymn): Likewise.
23625 (norm): Remove commented code.
23626 (denorm): Likewise.
23627 (__mp_dbl): Likewise.
23630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23631 mp_no value for 1.0 and 2.0.
23632 (norm): Use RADIXI instead of radixi.d.
23633 (denorm): Likewise.
23634 (__mul): Use 0.0 instead of zero.d.
23635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23636 mp_no value for 1.0 and 2.0.
23637 (norm): Use RADIXI instead of radixi.d.
23638 (denorm): Likewise.
23639 (__mul): Use 0.0 instead of zero.d.
23641 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23644 * math/s_casinh.c (__casinh): Reduce finite argument to first
23645 quadrant then set signs of results at the end.
23646 * math/s_casinhf.c (__casinhf): Likewise.
23647 * math/s_casinhl.c (__casinhl): Likewise.
23648 * math/libm-test.inc (casin_test): Add more tests.
23649 (casinh_test): Likewise.
23650 * sysdeps/i386/fpu/libm-test-ulps: Update.
23651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23653 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23655 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23657 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23659 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23661 (denorm): Likewise.
23662 (__mp_dbl): Likewise.
23665 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23666 and adjust the header comment.
23668 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23669 variable name from declaration.
23671 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23674 Initialize COMMON_CPUID_INDEX_7 element.
23675 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23676 (CPUID_RTM): Likewise.
23677 (HAS_RTM): Likewise.
23678 (COMMON_CPUID_INDEX_7): New enum.
23680 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23683 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23684 size is zero, record memory as freed.
23686 2013-01-03 Andreas Jaeger <aj@suse.de>
23688 * po/ia.po: Add new Interlingua translation.
23690 2012-01-03 Allan McRae <allan@archlinux.org>
23692 * locale/programs/localedef.c: Fix description of '--posix' flag.
23694 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23696 * NEWS: Update dates in second copyright notice.
23697 * README: Update copyright dates in example.
23698 * manual/libc.texinfo: Update copyright dates.
23699 * scripts/test-installation.pl: Update copyright date in --version
23702 * hurd/ctty-input.c: Fix copyright notice formatting.
23703 * hurd/ctty-output.c: Likewise.
23704 * hurd/dtable.c: Likewise.
23705 * hurd/hurd-raise.c: Likewise.
23706 * hurd/hurdprio.c: Likewise.
23707 * hurd/msgportdemux.c: Likewise.
23708 * misc/sys/file.h: Likewise.
23709 * misc/sys/ioctl.h: Likewise.
23710 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23711 * sysdeps/mach/hurd/chdir.c: Likewise.
23712 * sysdeps/mach/hurd/fchdir.c: Likewise.
23713 * sysdeps/mach/hurd/rename.c: Likewise.
23714 * sysdeps/mach/hurd/rmdir.c: Likewise.
23715 * sysdeps/mach/hurd/seekdir.c: Likewise.
23716 * sysdeps/mach/hurd/setsid.c: Likewise.
23717 * sysdeps/posix/wait3.c: Likewise.
23719 * All files with FSF copyright notices: Update copyright dates
23720 using scripts/update-copyrights.
23721 * intl/plural.c: Regenerated.
23722 * locale/programs/charmap-kw.h: Likewise.
23723 * locale/programs/locfile-kw.h: Likewise.
23725 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23727 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23730 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23731 calculation loop and add branch prediction.
23733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23734 check access beyond bounds of m1np.
23736 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23738 (__inv): Remove local variable MPTWO to use the global
23740 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23741 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23743 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23744 MP3HALFS static const.
23746 2013-01-01 David S. Miller <davem@davemloft.net>
23748 * po/ca.po: Update from translation team.
23750 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23752 * scripts/update-copyrights: New file.
23753 * Makeconfig: Reformat copyright notice.
23754 * ctype/ctype.h: Likewise.
23755 * debug/swprintf_chk.c: Likewise.
23756 * elf/dl-cache.c: Likewise.
23757 * elf/dl-debug.c: Likewise.
23758 * elf/dl-object.c: Likewise.
23759 * grp/initgroups.c: Likewise.
23760 * hurd/Makefile: Likewise.
23761 * hurd/hurd/signal.h: Likewise.
23762 * hurd/hurdfault.c: Likewise.
23763 * hurd/hurdioctl.c: Likewise.
23764 * hurd/hurdlookup.c: Likewise.
23765 * hurd/intr-msg.c: Likewise.
23766 * iconv/gconv_open.c: Likewise.
23767 * libio/swprintf.c: Likewise.
23768 * locale/lc-ctype.c: Likewise.
23769 * locale/nl_langinfo.c: Likewise.
23770 * mach/Machrules: Likewise.
23771 * mach/Makefile: Likewise.
23772 * malloc/obstack.h: Likewise.
23773 * manual/Makefile: Likewise.
23774 * manual/tsort.awk: Likewise.
23775 * misc/bits/stab.def: Likewise.
23776 * nis/nis_print_group_entry.c: Likewise.
23777 * nis/nis_table.c: Likewise.
23778 * nis/nss_compat/compat-pwd.c: Likewise.
23779 * nis/nss_compat/compat-spwd.c: Likewise.
23780 * po/Makefile: Likewise.
23781 * posix/fnmatch.c: Likewise.
23782 * posix/regex.h: Likewise.
23783 * resolv/Makefile: Likewise.
23784 * resolv/nss_dns/dns-network.c: Likewise.
23785 * resolv/res_hconf.c: Likewise.
23786 * scripts/gen-sorted.awk: Likewise.
23787 * soft-fp/soft-fp.h: Likewise.
23788 * stdio-common/printf.h: Likewise.
23789 * stdlib/monetary.h: Likewise.
23790 * stdlib/random.c: Likewise.
23791 * stdlib/random_r.c: Likewise.
23792 * sysdeps/generic/Makefile: Likewise.
23793 * sysdeps/gnu/Makefile: Likewise.
23794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23796 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23802 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23804 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23805 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23806 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23807 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23808 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23810 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23814 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23815 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23816 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23822 * sysdeps/mach/hurd/errnos.awk: Likewise.
23823 * sysdeps/mach/hurd/fork.c: Likewise.
23824 * sysdeps/mach/hurd/getcwd.c: Likewise.
23825 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23826 * sysdeps/mach/hurd/mmap.c: Likewise.
23827 * sysdeps/mach/hurd/utimes.c: Likewise.
23828 * sysdeps/mach/hurd/xmknod.c: Likewise.
23829 * sysdeps/posix/profil.c: Likewise.
23830 * sysdeps/posix/readdir_r.c: Likewise.
23831 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23832 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23833 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23834 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23836 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23837 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23838 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23840 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23842 * sysdeps/pthread/lio_listio.c: Likewise.
23843 * sysdeps/sparc/dl-procinfo.h: Likewise.
23844 * sysdeps/unix/i386/sysdep.S: Likewise.
23845 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23846 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23847 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23848 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23850 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23851 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23852 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23853 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23854 * sysdeps/wordsize-32/divdi3.c: Likewise.
23855 * time/sys/time.h: Likewise.
23856 * wcsmbs/Makefile: Likewise.
23858 2013-01-01 David S. Miller <davem@davemloft.net>
23860 * po/fr.po: Update from translation team.
23862 * catgets/gencat.c: Update copyright year.
23863 * csu/version.c: Likewise.
23864 * debug/catchsegv.sh: Likewise.
23865 * debug/pcprofiledump.c: Likewise.
23866 * debug/xtrace.sh: Likewise.
23867 * elf/ldconfig.c: Likewise.
23868 * elf/ldd.bash.in: Likewise.
23869 * elf/pldd.c: Likewise.
23870 * elf/sotruss.ksh: Likewise.
23871 * elf/sprof.c: Likewise.
23872 * iconv/iconv_prog.c: Likewise.
23873 * iconv/iconvconfig.c: Likewise.
23874 * locale/programs/locale.c: Likewise.
23875 * locale/programs/localedef.c: Likewise.
23876 * login/programs/pt_chown.c: Likewise.
23877 * malloc/memusage.sh: Likewise.
23878 * malloc/memusagestat.c: Likewise.
23879 * malloc/mtrace.pl: Likewise.
23880 * nscd/nscd.c: Likewise.
23881 * nss/getent.c: Likewise.
23882 * nss/makedb.c: Likewise.
23883 * posix/getconf.c: Likewise.
23885 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23887 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23890 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23892 * math/bits/mathcalls.h (modf): Use __nonnull.
23894 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23896 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23897 (split): Use macro CN instead of the bare value.
23898 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23901 instead of the bare value.
23902 (power1): Likewise.
23904 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23908 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23910 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23912 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23914 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23915 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23917 2012-12-28 Andreas Jaeger <aj@suse.de>
23919 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23920 values are from Linux 3.7.
23922 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23923 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23925 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23927 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23932 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23933 variables with preprocessor constants.
23934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23935 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23936 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23938 2012-12-27 Bruno Haible <bruno@clisp.org>
23941 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23944 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23947 and use variable directly.
23948 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23950 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23952 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23955 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23957 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23958 include directive. Remove local variable MPONE.
23959 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23960 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23961 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23963 2012-12-25 David S. Miller <davem@davemloft.net>
23965 * version.h (RELEASE): Set to "development".
23966 (VERSION): Set to "2.17.90".
23967 * NEWS: Add 2.18 section.
23969 2012-12-21 David S. Miller <davem@davemloft.net>
23971 * po/hr.po: Update from translation team.
23973 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23975 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23977 2012-12-19 Steve Ellcey <sellcey@mips.com>
23979 * NEWS: Mention new memcpy for MIPS.
23981 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23983 * manual/contrib.texi (Contributors): Spelling correction.
23985 2012-12-15 David S. Miller <davem@davemloft.net>
23987 * po/ru.po: Update from translation team.
23989 2012-12-13 David S. Miller <davem@davemloft.net>
23991 * NEWS: Mention IFUNC testsuite enhancements.
23993 * po/pl.po: Update from translation team.
23994 * po/bg.po: Likewise.
23996 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23997 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23999 2012-12-11 David S. Miller <davem@davemloft.net>
24001 * po/sv.po: Update from translation team.
24003 * po/vi.po: Update from translation team.
24005 * po/cs.po: Update from translation team.
24007 * po/de.po: Update from translation team.
24008 * po/eo.po: Likewise.
24009 * po/nl.po: Likewise.
24011 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24014 * manual/argp.texi (Argp Helper Functions): Move node to follow
24015 Argp Parsing State.
24018 * manual/conf.texi (Limits on File System Capacity): Mention if
24019 terminating null is included in the max size.
24021 2012-12-10 Andreas Jaeger <aj@suse.de>
24023 * po/cs.po: Update from translation team.
24025 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24027 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24028 void pointer and cast to uintptr_t.
24029 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24031 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24032 * sysdeps/s390/s390-64/memset.S: Likewise.
24034 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24037 * menual/message.texi (Message Translation): Fix typos.
24038 (Helper programs for gettext): Likewise.
24040 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24043 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24046 2012-12-07 David S. Miller <davem@davemloft.net>
24048 * po/libc.pot: Update.
24050 2012-12-07 Richard Henderson <rth@redhat.com>
24053 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24054 normal/normal case to before the switch.
24055 (_FP_DIV): Likewise.
24057 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24058 Mike Frysinger <vapier@gentoo.org>
24060 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24061 check for __NR_fadvise64_64.
24063 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24065 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24066 0, not just to plain "0" as a statement.
24067 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24070 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24072 * NEWS: Use sourceware.org in Bugzilla URL.
24074 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24077 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24079 * stdio-common/tst-put-error.c (do_test): Add newline to the
24080 padded test to ensure flush.
24082 2012-12-05 Jeff Law <law@redhat.com>
24084 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24086 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24088 * README: Don't refer to ports add-on as distributed separately.
24089 Mention AArch64 in list of systems supported in the ports add-on.
24091 * LICENSES: Add more non-FSF copyright and license notices.
24093 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24096 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24098 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24099 10000 as width of padded output.
24101 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24103 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24105 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24106 variable LX with __attribute__ ((unused)).
24107 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24111 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24112 with __attribute__ ((unused)).
24114 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24116 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24118 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24120 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24121 (CFLAGS-nldbl-acos.c): New variable.
24122 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24123 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24124 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24125 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24126 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24127 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24128 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24129 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24130 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24131 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24132 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24133 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24134 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24135 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24136 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24137 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24138 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24139 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24140 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24141 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24142 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24143 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24144 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24145 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24146 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24147 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24148 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24149 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24150 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24151 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24152 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24153 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24154 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24155 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24156 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24157 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24158 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24159 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24160 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24161 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24162 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24163 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24164 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24165 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24166 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24167 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24168 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24169 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24170 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24171 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24172 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24173 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24174 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24175 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24176 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24177 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24178 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24179 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24180 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24181 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24182 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24183 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24184 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24185 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24186 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24187 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24188 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24189 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24190 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24191 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24192 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24193 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24194 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24195 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24196 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24197 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24198 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24199 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24200 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24201 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24202 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24203 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24204 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24205 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24206 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24207 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24208 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24209 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24210 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24211 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24212 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24213 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24214 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24215 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24216 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24217 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24218 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24221 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24225 whole low double instead of just low 47 bits when splitting values
24228 2012-12-03 Allan McRae <allan@archlinux.org>
24230 * manual/stdio.texi (Predefined Printf Handlers): Remove
24231 @hsep and @vsep usage.
24233 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24235 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24236 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24238 2012-12-03 Jeff Law <law@redhat.com>
24240 * time/sys/time.h (settimeofday): Do not mark TV argument
24243 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24245 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24246 when currently writing and seek to current position when not.
24247 * libio/Makefile (tests): Remove bug-fclose1.
24248 * libio/bug-fclose1.c: Delete.
24250 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24252 * manual/arith.texi (feenableexcept): Fix typo.
24253 (fedisableexcept): Likewise.
24255 2012-11-30 Roland McGrath <roland@hack.frob.com>
24257 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24258 second, differently-typed declaration, rather than a cast.
24260 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24262 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24263 * include/rpc/svc.h: ... here.
24265 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24268 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24269 depending n and resplen2 to catch cases where answer
24272 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24274 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24275 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24277 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24279 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24281 2012-11-29 Roland McGrath <roland@hack.frob.com>
24283 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24285 2012-11-28 Jeff Law <law@redhat.com>
24288 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24289 dataset_temporary. Track alloca usage into alloca_used.
24290 If dataset is large allocate and release it via malloc/free.
24292 2012-06-04 Florian Weimer <fweimer@redhat.com>
24295 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24297 2012-11-28 David S. Miller <davem@davemloft.net>
24299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24301 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24304 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24305 of pi/2 rounded to nearest to 64 bits.
24306 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24307 nearest to 64 bits.
24308 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24311 2012-11-28 Jeff Law <law@redhat.com>
24312 Martin Osvald <mosvald@redhat.com>
24315 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24316 * sunrpc/svc.c: Include time.h.
24317 (__svc_accept_failed): New function.
24318 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24319 any reason other than EINTR, call __svc_accept_failed.
24320 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24321 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24323 2012-11-28 Andreas Schwab <schwab@suse.de>
24325 * scripts/abilist.awk: Also handle indirect functions in .opd
24328 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24331 * sysdeps/x86/fpu/powl_helper.c: New file.
24332 * sysdeps/x86/fpu/Makefile: Likewise.
24333 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24335 (__ieee754_powl): Use __powl_helper for finite arguments except
24336 integer exponents below 8.
24337 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24339 (__ieee754_powl): Use __powl_helper for finite arguments except
24340 integer exponents below 8.
24341 * math/libm-test.inc (pow_test): Add more tests and enable some
24342 previously disabled tests.
24343 * sysdeps/i386/fpu/libm-test-ulps: Update.
24344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24346 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24347 Carlos O'Donell <carlos_odonell@mentor.com>
24349 * nss/makedb.c (is_prime): Assert that input is odd and greater
24350 than 4. Note that fact in a comment too.
24351 (next_prime): Add 4 to input.
24353 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24356 * libio/Makefile (tests): Add test case tst-fwrite-error.
24357 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24358 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24359 * libio/tst-fwrite-error.c: New test case.
24361 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24363 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24364 before casting to void *.
24365 * include/libc-internal.h (__pointer_type): New macro.
24366 (__integer_if_pointer_type_sub): Likewise.
24367 (__integer_if_pointer_type): Likewise.
24368 (cast_to_integer): Likewise.
24369 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24370 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24371 before casting to atomic64_t.
24372 (atomic_exchange_acq): Likewise.
24373 (__arch_exchange_and_add_body): Likewise.
24374 (__arch_add_body): Likewise.
24375 (atomic_add_negative): Likewise.
24376 (atomic_add_zero): Likewise.
24378 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24380 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24381 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24382 (add_fdes): Likewise.
24383 (linear_search_fdes): Likewise.
24384 (binary_search_unencoded_fdes): Likewise.
24386 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24388 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24390 2012-11-24 Adam Conrad <adconrad@0c3.net>
24392 * configure.in: Autodetect C++ header directories.
24393 * configure: Regenerated.
24395 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24397 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24399 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24403 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24405 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24406 LDBL_MANT_DIG == 106]: Disable some tests.
24407 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24409 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24413 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24414 input for small inputs. Return +/- pi/2 for large inputs.
24415 * math/libm-test.inc (atan_test): Add more tests.
24417 * sysdeps/generic/unwind-dw2-fde-glibc.c
24418 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24419 __attribute__ ((unused)).
24422 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24423 x * y if x and y are nonzero and z is zero.
24426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24427 nonzero exponents with absolute value below 0x1p-117 to +/-
24431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24432 up arguments below 2**-450, not just those below 2**-500.
24433 * math/libm-test.inc (hypot_test): Add another test.
24436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24437 Return a+b for ratio over 2**120, not 2**60.
24438 * math/libm-test.inc (hypot_test): Add another test.
24440 * math/libm-test.inc (clog_test): Use
24441 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24442 (clog10_test): Likewise.
24445 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24447 2012-11-22 Andreas Schwab <schwab@suse.de>
24449 * sysdeps/i386/fpu/libm-test-ulps: Update.
24451 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24453 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24454 printf output with newline.
24456 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24459 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24460 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24461 -z nodlopen, -z initfirst and -z execstack support.
24462 * configure: Regenerated.
24464 * elf/elf.h (DF_1_NODIRECT): New macro.
24465 (DF_1_IGNMULDEF): Likewise.
24466 (DF_1_NOKSYMS): Likewise.
24467 (DF_1_NOHDR): Likewise.
24468 (DF_1_EDITED): Likewise.
24469 (DF_1_NORELOC): Likewise.
24470 (DF_1_SYMINTPOSE): Likewise.
24471 (DF_1_GLOBAUDIT): Likewise.
24472 (DF_1_SINGLETON): Likewise.
24473 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24474 DT_1_SUPPORTED_MASK bits.
24475 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24477 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24479 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24481 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24483 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24486 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24487 (sendmmsg): Move declarations...
24488 * socket/sys/socket.h: ... here.
24489 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24490 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24492 * socket/recvmmsg.c: ... this new file.
24493 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24494 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24495 definition of __sendmmsg hidden.
24496 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24497 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24498 Move ENOSYS stub into and include it from...
24499 * socket/sendmmsg.c: ... this new file.
24500 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24501 (sysdep_routines): Move recvmmsg and sendmmsg...
24502 * socket/Makefile (routines): ... here.
24503 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24504 (GLIBC_PRIVATE): Add __sendmmsg.
24505 * include/sys/socket.h (__sendmmsg): Add declarations.
24506 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24509 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24511 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24512 variable I1 with __attribute__ ((unused)).
24513 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24515 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24517 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24518 DUMMY variables with __attribute__ ((unused)).
24520 * bits/byteswap.h: Include <bits/types.h>.
24521 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24523 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24525 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24526 string_t. Do not manually set errno.
24527 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24528 length with __strnlen. Make sure to both set errno and return it on
24531 2012-11-19 David S. Miller <davem@davemloft.net>
24533 With help from Joseph Myers.
24534 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24535 very large arguments properly.
24536 * math/libm-test.inc (atan_test): New tests.
24537 (atan2_test): New tests.
24538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24541 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24544 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24547 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24548 [POSIX] (EADDRNOTAVAIL): Likewise.
24549 [POSIX] (EAFNOSUPPORT): Likewise.
24550 [POSIX] (EALREADY): Likewise.
24551 [POSIX] (ECONNABORTED): Likewise.
24552 [POSIX] (ECONNREFUSED): Likewise.
24553 [POSIX] (ECONNRESET): Likewise.
24554 [POSIX] (EDESTADDRREQ): Likewise.
24555 [POSIX] (EDQUOT): Likewise.
24556 [POSIX] (EHOSTUNREACH): Likewise.
24557 [POSIX] (EIDRM): Likewise.
24558 [POSIX] (EISCONN): Likewise.
24559 [POSIX] (ELOOP): Likewise.
24560 [POSIX] (EMULTIHOP): Likewise.
24561 [POSIX] (ENETDOWN): Likewise.
24562 [POSIX] (ENETUNREACH): Likewise.
24563 [POSIX] (ENOBUFS): Likewise.
24564 [POSIX] (ENODATA): Likewise.
24565 [POSIX] (ENOLINK): Likewise.
24566 [POSIX] (ENOMSG): Likewise.
24567 [POSIX] (ENOPROTOOPT): Likewise.
24568 [POSIX] (ENOSR): Likewise.
24569 [POSIX] (ENOSTR): Likewise.
24570 [POSIX] (ENOTCONN): Likewise.
24571 [POSIX] (ENOTSOCK): Likewise.
24572 [POSIX] (EOPNOTSUPP): Likewise.
24573 [POSIX] (EOVERFLOW): Likewise.
24574 [POSIX] (EPROTO): Likewise.
24575 [POSIX] (EPROTONOSUPPORT): Likewise.
24576 [POSIX] (EPROTOTYPE): Likewise.
24577 [POSIX] (ESTALE): Likewise.
24578 [POSIX] (ETIME): Likewise.
24579 [POSIX] (ETXTBSY): Likewise.
24580 [POSIX] (EWOULDBLOCK): Likewise.
24581 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24582 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24583 [POSIX] (SEEK_CUR): Likewise.
24584 [POSIX] (SEEK_END): Likewise.
24585 [POSIX || UNIX98] (mode_t): Do not require.
24586 [POSIX] (off_t): Likewise.
24587 [POSIX] (pid_t): Likewise.
24588 [POSIX] (sys/stat.h): Do not allow header.
24589 [POSIX] (unistd.h): Likewise.
24590 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24591 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24592 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24593 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24595 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24596 sigevent): Specify elements.
24597 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24599 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24600 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24602 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24603 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24604 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24605 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24606 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24607 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24608 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24609 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24610 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24611 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24612 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24613 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24614 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24617 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24619 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24621 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24623 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24624 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24625 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24626 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24627 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24628 Specify lower bound on value.
24629 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24630 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24631 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24632 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24633 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24634 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24635 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24636 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24638 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24640 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24641 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24642 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24643 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24644 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24645 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24646 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24647 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24648 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24649 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24650 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24651 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24652 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24653 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24654 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24655 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24657 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24659 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24660 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24661 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24662 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24663 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24664 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24666 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24667 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24668 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24669 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24670 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24671 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24672 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24674 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24675 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24676 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24677 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24678 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24679 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24680 specify as optional.
24681 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24682 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24684 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24685 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24686 [XPG3] (NL_LANGMAX): Likewise.
24687 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24688 [POSIX || XPG3] (NL_NMAX): Likewise.
24689 [POSIX || XPG3] (NL_SETMAX): Likewise.
24690 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24691 [XPG3] (NZERO): Likewise.
24692 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24693 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24694 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24695 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24696 (REG_ERANGE): Expect.
24697 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24699 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24700 Use (void) in prototype.
24701 [POSIX] (*_t): Allow.
24702 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24703 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24704 (WRDE_BADVAL): Expect.
24706 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24708 [XPG3 || XPG4] (O_RSYNC): Likewise.
24709 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24711 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24712 [XPG3 || XPG4] (sigqueue): Likewise.
24713 [XPG3 || XPG4] (sigtimedwait): Likewise.
24714 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24715 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24716 [XPG3 || XPG4] (vsnprintf): Likewise.
24717 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24719 [XPG3 || XPG4] (blksize_t): Likewise.
24720 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24722 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24723 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24724 [XPG3 || XPG4] (struct itimerspec): Likewise.
24725 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24726 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24727 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24728 [XPG3 || XPG4] (clockid_t): Likewise.
24729 [XPG3 || XPG4] (timer_t): Likewise.
24730 [XPG3 || XPG4] (clock_getres): Likewise.
24731 [XPG3 || XPG4] (clock_gettime): Likewise.
24732 [XPG3 || XPG4] (clock_settime): Likewise.
24733 [XPG3 || XPG4] (nanosleep): Likewise.
24734 [XPG3 || XPG4] (timer_create): Likewise.
24735 [XPG3 || XPG4] (timer_delete): Likewise.
24736 [XPG3 || XPG4] (timer_gettime): Likewise.
24737 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24738 [XPG3 || XPG4] (timer_settime): Likewise.
24739 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24740 [XPG3 || XPG4] (getlogin_r): Likewise.
24741 [XPG3 || XPG4] (pread): Likewise.
24742 [XPG3 || XPG4] (pthread_atfork): Likewise.
24743 [XPG3 || XPG4] (pwrite): Likewise.
24746 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24749 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24751 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24752 finalizing MALLSTREAM.
24754 * sysdeps/mach/hurd/syncfs.c: New file.
24756 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24760 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24761 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24762 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24763 (_nss_dns_gethostbyname4_r): Likewise.
24764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24765 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24767 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24770 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24772 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24774 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24775 * elf/cache.c (print_entry): Print ",AArch64" for
24778 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24779 * elf/cache.c (print_entry): Print ",hard-float" for
24782 2012-11-18 David S. Miller <davem@davemloft.net>
24784 With help from Joseph Myers.
24785 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24787 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24789 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24790 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24792 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24793 * math/libm-test.inc (y0_test): New tests.
24794 (y1_test): New tests.
24795 * sysdeps/i386/fpu/libm-test-ulps: Update.
24796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24799 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24801 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24803 * configure: Regenerated.
24805 2012-11-17 David S. Miller <davem@davemloft.net>
24808 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24809 nonzero exponents with absolute value below 0x1p-128 to +/-
24812 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24814 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24816 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24818 * posix/getconf-speclist.c: New file.
24819 * posix/posix-envs.def: Likewise.
24820 * posix/confstr.c (START_ENV_GROUP): New macro.
24821 (END_ENV_GROUP): Likewise.
24822 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24823 (KNOWN_PRESENT_ENV_STRING): Likewise.
24824 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24825 (UNKNOWN_ENVIRONMENT): Likewise.
24826 (confstr): Include posix-envs.def instead of handling
24827 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24828 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24829 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24830 (END_ENV_GROUP): Likewise.
24831 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24832 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24833 (UNKNOWN_ENVIRONMENT): Likewise.
24834 (__sysconf): Include posix-envs.def instead of handling associated
24835 cases directly here.
24836 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24837 preprocessing getconf-speclist.c rather than running getconf or
24838 generating empty file.
24840 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24842 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24844 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24847 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24849 2012-11-16 David S. Miller <davem@davemloft.net>
24851 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24852 smaller than LDBL_EPSILON/2.0L, just return xm1.
24854 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24856 * elf/tst-array1.c (init): Set constructor priority to 1000.
24857 (fini): Set destructor priority to 1000.
24858 * elf/tst-array2dep.c: Likewise.
24860 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24863 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24864 (_IO_new_file_xsputn): Also return EOF if none of the input
24865 data was written when overflow failed.
24866 * libio/iopadn.c (_IO_padn): Likewise.
24867 * libio/iowpadn.c (_IO_wpadn): Likewise.
24868 * stdio-common/tst-put-error.c: Add copyright notice.
24869 (do_test): Add case for printing padded string.
24870 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24871 _IO_padn returned error.
24872 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24873 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24876 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24878 * libio/libioP.h: Add comment note that the references to C++
24879 bits are now obsolete.
24881 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24883 * math/libm-test.inc (check_complex): Use asprintf.
24885 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24887 * debug/pcprofiledump.c (print_version): Update copyright year.
24888 * malloc/memusagestat.c (print_version): Likewise.
24890 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24893 * elf/Makefile (tests): Add tst-audit8.
24894 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24895 ($(objpfx)tst-audit8.out): New target.
24896 (tst-audit8-ENV): New variable.
24897 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24898 audit if l_reloc_result is NULL.
24899 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24900 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24901 * elf/tst-audit8.c: New file.
24903 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24905 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24906 * misc/Makefile (CFLAGS-select.c): Define.
24907 * posix/Makefile (CFLAGS-pause.c): Define.
24909 2012-11-13 David S. Miller <davem@davemloft.net>
24911 * crypt/Makefile: Move test targets after toplevel Rules
24912 inclusion. Grab any necessary sysdep routines when linking.
24913 * crypt/md5.c (md5_process_block): Remove define, we will always
24914 name it __md5_process_block.
24915 (md5_finish_ctx): Update md5_process_block call.
24916 (md5_stream): Likewise.
24917 (md5_process_bytes): Likewise.
24918 (md5_process_block): Rename to __md5_process_block and move to ...
24919 * crypt/md5-block.c: ... here.
24920 * crypt/sha256.c (sha256_process_block): Move to ...
24921 * crypt/sha256-block.c: ... here.
24922 * crypt/sha512.c (sha512_process_block): Move to ...
24923 * crypt/sha512-block.c: ... here.
24924 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24926 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24927 * sysdeps/sparc/sparc64/multiarch/Makefile
24928 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24930 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24931 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24933 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24934 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24935 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24936 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24937 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24938 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24939 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24940 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24941 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24943 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24944 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24946 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24948 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24950 * timezone/tzselect.ksh: Update from tzcode git revision
24951 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24952 * timezone/zdump.c: Likewise.
24953 * timezone/zic.c: Likewise.
24954 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24955 in TZVERSION setting, not $(PKGVERSION).
24956 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24957 REPORT_BUGS_TO settings.
24960 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24963 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24965 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24966 detection to immediately after _FP_ROUND().
24967 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24970 2012-11-11 David S. Miller <davem@davemloft.net>
24972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24974 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24975 __close rather than their public counterparts.
24977 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24979 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24981 [UNIX98] (sem_timedwait): Do not expect.
24982 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24983 [XPG4 || UNIX98] (sockatmark): Do not expect.
24984 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24985 (clock_getcpuclockid): Do not expect.
24986 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24987 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24989 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24990 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24991 [UNIX98] (vwscanf): Likewise.
24992 [UNIX98] (vswscanf): Likewise.
24994 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24996 * timezone/version.h: Remove file.
24997 * timezone/README: Do not refer to version.h.
24998 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24999 $(objpfx)version.h.
25000 ($(objpfx)zdump.o): Likewise.
25001 ($(objpfx)version.h): New target.
25003 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25005 * timezone/README: Don't mention modification to tzselect.ksh.
25006 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25007 work on unmodified tzselect.ksh. Substitute version numbers in
25010 * Makefile (format-me): Remove.
25011 (INSTALL): Adjust indentation. Use commands directly instead of
25012 using $(format-me).
25014 * aclocal.m4 (ACX_PKGVERSION): New macro.
25015 (ACX_BUGURL): Likewise.
25016 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25017 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25018 (REPORT_BUGS_TO): Likewise.
25019 * configure: Regenerated.
25020 * config.h.in (PKGVERSION): New macro.
25021 (REPORT_BUGS_TO): Likewise.
25022 * config.make.in (PKGVERSION): New variable.
25023 (PKGVERSION_TEXI): Likewise.
25024 (REPORT_BUGS_TO): Likewise.
25025 (REPORT_BUGS_TEXI): Likewise.
25026 * Makefile (format-me): Use -I$(common-objpfx)manual.
25027 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25028 ($(common-objpfx)manual/%): New target.
25029 (manual/%): Remove target.
25030 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25031 (print_version): Use PKGVERSION.
25032 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25033 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25034 and REPORT_BUGS_TO.
25035 ($(objpfx)xtrace): Likewise.
25036 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25037 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25038 (print_version): Use PKGVERSION.
25039 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25040 (do_version): Use PKGVERSION.
25041 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25043 (common-ldd-rewrite): Likewise.
25044 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25045 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25046 (print_version): Use PKGVERSION.
25047 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25048 * elf/pldd.c (argp_program_bug_address): Remove variable.
25049 (more_help): New function.
25050 (argp): Use more_help.
25051 (print_version): Use PKGVERSION.
25052 * elf/sln.c (main): Use PKGVERSION.
25053 (usage): Use REPORT_BUGS_TO.
25054 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25055 (top level): Use PKGVERSION.
25056 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25057 (print_version): Use PKGVERSION.
25058 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25059 (print_version): Use PKGVERSION.
25060 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25061 (print_version): Use PKGVERSION.
25062 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25063 (print_version): Use PKGVERSION.
25064 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25065 (print_version): Use PKGVERSION.
25066 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25067 (print_version): Use PKGVERSION.
25068 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25070 ($(objpfx)memusage): Likewise.
25071 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25072 (do_version): Use PKGVERSION.
25073 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25074 (print_version): Use PKGVERSION.
25075 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25076 ($PKGVERSION): New variable.
25077 ($REPORT_BUGS_TO): Likewise.
25078 (usage): Use $REPORT_BUGS_TO.
25079 (top level): Use $PKGVERSION.
25080 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25081 ($(objpfx)pkgvers.texi): New rule.
25082 ($(objpfx)stamp-pkgvers): Likewise.
25083 * manual/install.texi: Include pkgvers.texi.
25084 (--with-pkgversion): Document new configure option.
25085 (--with-bugurl): Likewise.
25086 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25087 than necessarily for this particular distribution. Use
25088 REPORT_BUGS_TO for where to report bugs.
25089 * INSTALL: Regenerated.
25090 * manual/libc.texinfo: Include pkgvers.texi.
25091 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25092 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25093 (print_version): Use PKGVERSION.
25094 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25095 (print_version): Use PKGVERSION.
25096 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25097 (print_version): Use PKGVERSION.
25098 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25099 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25101 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25102 (print_version): Use PKGVERSION.
25103 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25104 (print_version): Use PKGVERSION.
25105 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25108 * timezone/checktab.awk: Update from tzcode 2012i.
25109 * timezone/ialloc.c: Likewise.
25110 * timezone/private.h: Likewise.
25111 * timezone/scheck.c: Likewise.
25112 * timezone/tzfile.h: Likewise.
25113 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25114 (TZVERSION): Hardcode tzcode version number.
25115 * timezone/zdump.c: Update from tzcode 2012i.
25116 * timezone/zic.c: Likewise.
25117 * timezone/version.h: New file.
25118 * timezone/README: Describe version.h. Update upstream location.
25121 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25122 (mktemp): Enable declaration.
25123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25140 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25141 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25142 for copies of such integer values.
25143 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25144 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25146 2012-11-09 Andreas Jaeger <aj@suse.de>
25148 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25149 definitions and declarations that are provided by
25150 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25152 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25154 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25155 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25156 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25159 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25161 * elf/elf.h: Update comment before AArch64 relocations.
25163 2012-11-07 David S. Miller <davem@davemloft.net>
25165 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25166 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25167 (__start_context): Declare.
25168 (__makecontext_ret): Delete.
25169 (__makecontext): Hook up __start_context instead of
25171 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25172 (sysdep_routines): Add __start_context when in stdlib.
25174 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25176 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25177 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25178 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25180 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25181 (READELF): New variable. Use it instead of hardcoded "readelf".
25183 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25185 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25186 * sysdeps/x86/Makefile: Here.
25187 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25188 * sysdeps/x86/tst-xmmymm.sh: This.
25190 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25192 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25194 [UNIX98] (pthread_barrier_t): Do not expect.
25195 [UNIX98] (pthread_barrierattr_t): Likewise.
25196 [UNIX98] (pthread_spinlock_t): Likewise.
25197 [UNIX98] (pthread_barrier_destroy): Likewise.
25198 [UNIX98] (pthread_barrier_init): Likewise.
25199 [UNIX98] (pthread_barrier_wait): Likewise.
25200 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25201 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25202 [UNIX98] (pthread_barrierattr_init): Likewise.
25203 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25204 [UNIX98] (pthread_getcpuclockid): Likewise.
25205 [UNIX98] (pthread_mutex_timedlock): Likewise.
25206 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25207 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25208 [UNIX98] (pthread_sigmask): Likewise.
25209 [UNIX98] (pthread_spin_destroy): Likewise.
25210 [UNIX98] (pthread_spin_init): Likewise.
25211 [UNIX98] (pthread_spin_lock): Likewise.
25212 [UNIX98] (pthread_spin_trylock): Likewise.
25213 [UNIX98] (pthread_spin_unlock): Likewise.
25214 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25216 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25217 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25218 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25219 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25220 [XPG3 || XPG4] (pthread_key_t): Likewise.
25221 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25222 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25223 [XPG3 || XPG4] (pthread_once_t): Likewise.
25224 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25225 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25226 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25227 [XPG3 || XPG4] (pthread_t): Likewise.
25229 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25231 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25233 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25234 Change function return type to int.
25236 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25237 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25238 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25239 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25240 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25241 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25242 [!POSIX] (posix_madvise): Likewise.
25243 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25245 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25246 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25247 (mode_t): Likewise.
25248 (posix_mem_offset): Likewise.
25249 (posix_typed_mem_get_info): Likewise.
25250 (posix_typed_mem_open): Likewise.
25252 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25253 Change condition to [XOPEN2K8].
25255 * conform/conformtest.pl: Preprocess allow-header data with -x c
25256 instead of from stdin.
25257 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25258 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25259 [C99-based standards] (cerfc): Likewise.
25260 [C99-based standards] (cexp2): Likewise.
25261 [C99-based standards] (cexpm1): Likewise.
25262 [C99-based standards] (clog10): Likewise.
25263 [C99-based standards] (clog1p): Likewise.
25264 [C99-based standards] (clog2): Likewise.
25265 [C99-based standards] (clgamma): Likewise.
25266 [C99-based standards] (ctgamma): Likewise.
25267 [C99-based standards] (cerff): Likewise.
25268 [C99-based standards] (cerfcf): Likewise.
25269 [C99-based standards] (cexp2f): Likewise.
25270 [C99-based standards] (cexpm1f): Likewise.
25271 [C99-based standards] (clog10f): Likewise.
25272 [C99-based standards] (clog1pf): Likewise.
25273 [C99-based standards] (clog2f): Likewise.
25274 [C99-based standards] (clgammaf): Likewise.
25275 [C99-based standards] (ctgammaf): Likewise.
25276 [C99-based standards] (cerfl): Likewise.
25277 [C99-based standards] (cerfcl): Likewise.
25278 [C99-based standards] (cexp2l): Likewise.
25279 [C99-based standards] (cexpm1l): Likewise.
25280 [C99-based standards] (clog10l): Likewise.
25281 [C99-based standards] (clog1pl): Likewise.
25282 [C99-based standards] (clog2l): Likewise.
25283 [C99-based standards] (clgammal): Likewise.
25284 [C99-based standards] (ctgammal): Likewise.
25285 * conform/data/inttypes.h-data [C99-based standards]: Include
25286 stdint.h-data. Remove all expectations for stdint.h contents.
25287 [C99-based standards] (PRI*): Do not allow.
25288 [C99-based standards] (SCN*): Likewise.
25289 [C99-based standards] (*_t): Likewise.
25290 [C99-based-standards] (PRId8): Expect macro.
25291 [C99-based-standards] (PRIi8): Likewise.
25292 [C99-based-standards] (PRIo8): Likewise.
25293 [C99-based-standards] (PRIu8): Likewise.
25294 [C99-based-standards] (PRIx8): Likewise.
25295 [C99-based-standards] (PRIX8): Likewise.
25296 [C99-based-standards] (SCNd8): Likewise.
25297 [C99-based-standards] (SCNi8): Likewise.
25298 [C99-based-standards] (SCNo8): Likewise.
25299 [C99-based-standards] (SCNu8): Likewise.
25300 [C99-based-standards] (SCNx8): Likewise.
25301 [C99-based-standards] (PRIdLEAST8): Likewise.
25302 [C99-based-standards] (PRIiLEAST8): Likewise.
25303 [C99-based-standards] (PRIoLEAST8): Likewise.
25304 [C99-based-standards] (PRIuLEAST8): Likewise.
25305 [C99-based-standards] (PRIxLEAST8): Likewise.
25306 [C99-based-standards] (PRIXLEAST8): Likewise.
25307 [C99-based-standards] (SCNdLEAST8): Likewise.
25308 [C99-based-standards] (SCNiLEAST8): Likewise.
25309 [C99-based-standards] (SCNoLEAST8): Likewise.
25310 [C99-based-standards] (SCNuLEAST8): Likewise.
25311 [C99-based-standards] (SCNxLEAST8): Likewise.
25312 [C99-based-standards] (PRIdFAST8): Likewise.
25313 [C99-based-standards] (PRIiFAST8): Likewise.
25314 [C99-based-standards] (PRIoFAST8): Likewise.
25315 [C99-based-standards] (PRIuFAST8): Likewise.
25316 [C99-based-standards] (PRIxFAST8): Likewise.
25317 [C99-based-standards] (PRIXFAST8): Likewise.
25318 [C99-based-standards] (SCNdFAST8): Likewise.
25319 [C99-based-standards] (SCNiFAST8): Likewise.
25320 [C99-based-standards] (SCNoFAST8): Likewise.
25321 [C99-based-standards] (SCNuFAST8): Likewise.
25322 [C99-based-standards] (SCNxFAST8): Likewise.
25323 [C99-based-standards] (PRId16): Likewise.
25324 [C99-based-standards] (PRIi16): Likewise.
25325 [C99-based-standards] (PRIo16): Likewise.
25326 [C99-based-standards] (PRIu16): Likewise.
25327 [C99-based-standards] (PRIx16): Likewise.
25328 [C99-based-standards] (PRIX16): Likewise.
25329 [C99-based-standards] (SCNd16): Likewise.
25330 [C99-based-standards] (SCNi16): Likewise.
25331 [C99-based-standards] (SCNo16): Likewise.
25332 [C99-based-standards] (SCNu16): Likewise.
25333 [C99-based-standards] (SCNx16): Likewise.
25334 [C99-based-standards] (PRIdLEAST16): Likewise.
25335 [C99-based-standards] (PRIiLEAST16): Likewise.
25336 [C99-based-standards] (PRIoLEAST16): Likewise.
25337 [C99-based-standards] (PRIuLEAST16): Likewise.
25338 [C99-based-standards] (PRIxLEAST16): Likewise.
25339 [C99-based-standards] (PRIXLEAST16): Likewise.
25340 [C99-based-standards] (SCNdLEAST16): Likewise.
25341 [C99-based-standards] (SCNiLEAST16): Likewise.
25342 [C99-based-standards] (SCNoLEAST16): Likewise.
25343 [C99-based-standards] (SCNuLEAST16): Likewise.
25344 [C99-based-standards] (SCNxLEAST16): Likewise.
25345 [C99-based-standards] (PRIdFAST16): Likewise.
25346 [C99-based-standards] (PRIiFAST16): Likewise.
25347 [C99-based-standards] (PRIoFAST16): Likewise.
25348 [C99-based-standards] (PRIuFAST16): Likewise.
25349 [C99-based-standards] (PRIxFAST16): Likewise.
25350 [C99-based-standards] (PRIXFAST16): Likewise.
25351 [C99-based-standards] (SCNdFAST16): Likewise.
25352 [C99-based-standards] (SCNiFAST16): Likewise.
25353 [C99-based-standards] (SCNoFAST16): Likewise.
25354 [C99-based-standards] (SCNuFAST16): Likewise.
25355 [C99-based-standards] (SCNxFAST16): Likewise.
25356 [C99-based-standards] (PRId32): Likewise.
25357 [C99-based-standards] (PRIi32): Likewise.
25358 [C99-based-standards] (PRIo32): Likewise.
25359 [C99-based-standards] (PRIu32): Likewise.
25360 [C99-based-standards] (PRIx32): Likewise.
25361 [C99-based-standards] (PRIX32): Likewise.
25362 [C99-based-standards] (SCNd32): Likewise.
25363 [C99-based-standards] (SCNi32): Likewise.
25364 [C99-based-standards] (SCNo32): Likewise.
25365 [C99-based-standards] (SCNu32): Likewise.
25366 [C99-based-standards] (SCNx32): Likewise.
25367 [C99-based-standards] (PRIdLEAST32): Likewise.
25368 [C99-based-standards] (PRIiLEAST32): Likewise.
25369 [C99-based-standards] (PRIoLEAST32): Likewise.
25370 [C99-based-standards] (PRIuLEAST32): Likewise.
25371 [C99-based-standards] (PRIxLEAST32): Likewise.
25372 [C99-based-standards] (PRIXLEAST32): Likewise.
25373 [C99-based-standards] (SCNdLEAST32): Likewise.
25374 [C99-based-standards] (SCNiLEAST32): Likewise.
25375 [C99-based-standards] (SCNoLEAST32): Likewise.
25376 [C99-based-standards] (SCNuLEAST32): Likewise.
25377 [C99-based-standards] (SCNxLEAST32): Likewise.
25378 [C99-based-standards] (PRIdFAST32): Likewise.
25379 [C99-based-standards] (PRIiFAST32): Likewise.
25380 [C99-based-standards] (PRIoFAST32): Likewise.
25381 [C99-based-standards] (PRIuFAST32): Likewise.
25382 [C99-based-standards] (PRIxFAST32): Likewise.
25383 [C99-based-standards] (PRIXFAST32): Likewise.
25384 [C99-based-standards] (SCNdFAST32): Likewise.
25385 [C99-based-standards] (SCNiFAST32): Likewise.
25386 [C99-based-standards] (SCNoFAST32): Likewise.
25387 [C99-based-standards] (SCNuFAST32): Likewise.
25388 [C99-based-standards] (SCNxFAST32): Likewise.
25389 [C99-based-standards] (PRId64): Likewise.
25390 [C99-based-standards] (PRIi64): Likewise.
25391 [C99-based-standards] (PRIo64): Likewise.
25392 [C99-based-standards] (PRIu64): Likewise.
25393 [C99-based-standards] (PRIx64): Likewise.
25394 [C99-based-standards] (PRIX64): Likewise.
25395 [C99-based-standards] (SCNd64): Likewise.
25396 [C99-based-standards] (SCNi64): Likewise.
25397 [C99-based-standards] (SCNo64): Likewise.
25398 [C99-based-standards] (SCNu64): Likewise.
25399 [C99-based-standards] (SCNx64): Likewise.
25400 [C99-based-standards] (PRIdLEAST64): Likewise.
25401 [C99-based-standards] (PRIiLEAST64): Likewise.
25402 [C99-based-standards] (PRIoLEAST64): Likewise.
25403 [C99-based-standards] (PRIuLEAST64): Likewise.
25404 [C99-based-standards] (PRIxLEAST64): Likewise.
25405 [C99-based-standards] (PRIXLEAST64): Likewise.
25406 [C99-based-standards] (SCNdLEAST64): Likewise.
25407 [C99-based-standards] (SCNiLEAST64): Likewise.
25408 [C99-based-standards] (SCNoLEAST64): Likewise.
25409 [C99-based-standards] (SCNuLEAST64): Likewise.
25410 [C99-based-standards] (SCNxLEAST64): Likewise.
25411 [C99-based-standards] (PRIdFAST64): Likewise.
25412 [C99-based-standards] (PRIiFAST64): Likewise.
25413 [C99-based-standards] (PRIoFAST64): Likewise.
25414 [C99-based-standards] (PRIuFAST64): Likewise.
25415 [C99-based-standards] (PRIxFAST64): Likewise.
25416 [C99-based-standards] (PRIXFAST64): Likewise.
25417 [C99-based-standards] (SCNdFAST64): Likewise.
25418 [C99-based-standards] (SCNiFAST64): Likewise.
25419 [C99-based-standards] (SCNoFAST64): Likewise.
25420 [C99-based-standards] (SCNuFAST64): Likewise.
25421 [C99-based-standards] (SCNxFAST64): Likewise.
25422 [C99-based-standards] (PRIdMAX): Likewise.
25423 [C99-based-standards] (PRIiMAX): Likewise.
25424 [C99-based-standards] (PRIoMAX): Likewise.
25425 [C99-based-standards] (PRIuMAX): Likewise.
25426 [C99-based-standards] (PRIxMAX): Likewise.
25427 [C99-based-standards] (PRIXMAX): Likewise.
25428 [C99-based-standards] (SCNdMAX): Likewise.
25429 [C99-based-standards] (SCNiMAX): Likewise.
25430 [C99-based-standards] (SCNoMAX): Likewise.
25431 [C99-based-standards] (SCNuMAX): Likewise.
25432 [C99-based-standards] (SCNxMAX): Likewise.
25433 [C99-based-standards] (PRIdPTR): Likewise.
25434 [C99-based-standards] (PRIiPTR): Likewise.
25435 [C99-based-standards] (PRIoPTR): Likewise.
25436 [C99-based-standards] (PRIuPTR): Likewise.
25437 [C99-based-standards] (PRIxPTR): Likewise.
25438 [C99-based-standards] (PRIXPTR): Likewise.
25439 [C99-based-standards] (SCNdPTR): Likewise.
25440 [C99-based-standards] (SCNiPTR): Likewise.
25441 [C99-based-standards] (SCNoPTR): Likewise.
25442 [C99-based-standards] (SCNuPTR): Likewise.
25443 [C99-based-standards] (SCNxPTR): Likewise.
25444 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25446 * conform/data/stdint.h-data: Update comments to clarify
25448 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25450 [C99-based standards] (INT8_MAX): Likewise.
25451 [C99-based standards] (INT16_MIN): Likewise.
25452 [C99-based standards] (INT16_MAX): Likewise.
25453 [C99-based standards] (INT32_MIN): Likewise.
25454 [C99-based standards] (INT32_MAX): Likewise.
25455 [C99-based standards] (INT64_MIN): Likewise.
25456 [C99-based standards] (INT64_MAX): Likewise.
25457 [C99-based standards] (UINT8_MAX): Likewise.
25458 [C99-based standards] (UINT16_MAX): Likewise.
25459 [C99-based standards] (UINT32_MAX): Likewise.
25460 [C99-based standards] (UINT64_MAX): Likewise.
25461 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25462 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25463 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25464 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25465 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25466 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25467 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25468 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25469 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25470 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25471 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25472 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25473 [C99-based standards] (INT_FAST8_MIN): Likewise.
25474 [C99-based standards] (INT_FAST8_MAX): Likewise.
25475 [C99-based standards] (INT_FAST16_MIN): Likewise.
25476 [C99-based standards] (INT_FAST16_MAX): Likewise.
25477 [C99-based standards] (INT_FAST32_MIN): Likewise.
25478 [C99-based standards] (INT_FAST32_MAX): Likewise.
25479 [C99-based standards] (INT_FAST64_MIN): Likewise.
25480 [C99-based standards] (INT_FAST64_MAX): Likewise.
25481 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25482 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25483 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25484 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25485 [C99-based standards] (INTPTR_MIN): Likewise.
25486 [C99-based standards] (INTPTR_MAX): Likewise.
25487 [C99-based standards] (UINTPTR_MAX): Likewise.
25488 [C99-based standards] (INTMAX_MIN): Likewise.
25489 [C99-based standards] (INTMAX_MAX): Likewise.
25490 [C99-based standards] (UINTMAX_MAX): Likewise.
25491 [C99-based standards] (PTRDIFF_MIN): Likewise.
25492 [C99-based standards] (PTRDIFF_MAX): Likewise.
25493 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25494 [C99-based standards] (SIZE_MAX): Likewise.
25495 [C99-based standards] (WCHAR_MAX): Likewise.
25496 [C99-based standards] (WINT_MAX): Likewise.
25497 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25498 constraint on value.
25499 [C99-based standards] (WCHAR_MIN): Likewise.
25500 [C99-based standards] (WINT_MIN): Likewise.
25501 [C99-based standards] (*_t): Allow.
25502 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25503 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25504 Include math.h-data and complex.h-data. Remove all expectations
25505 of math.h and complex.h contents.
25506 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25508 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25509 (struct tm): Expect tag.
25510 [C99-based-standards] (wcstof): Expect function.
25511 [C99-based-standards] (wcstold): Likewise.
25512 [C99-based-standards] (wcstoll): Likewise.
25513 [C99-based-standards] (wcstoull): Likewise.
25514 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25515 macro-int-constant. Specify type.
25516 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25517 constraint on value.
25518 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25520 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25522 [ISO C standards]: Do not allow headers.
25523 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25524 wcs[abcdefghijklmnopqrstuvwxyz]*.
25525 [ISO C standards] (*_t): Do not allow.
25526 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25528 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25529 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25531 [ISO C standards]: Do not allow headers.
25532 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25533 is[abcdefghijklmnopqrstuvwxyz]*.
25534 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25535 to[abcdefghijklmnopqrstuvwxyz]*.
25536 [ISO C standards] (*_t): Do not allow.
25537 * conform/data/stdalign.h-data: New file.
25538 * conform/data/stdbool.h-data: Likewise.
25539 * conform/data/stdnoreturn.h-data: Likewise.
25541 2012-11-07 Roland McGrath <roland@hack.frob.com>
25544 * manual/filesys.texi (Directory Entries): Typo fix.
25545 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25547 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25549 * elf/elf.h (EM_AARCH64): New macro.
25550 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25551 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25552 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25553 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25554 (R_AARCH64_TLSDESC): Likewise.
25555 (NT_ARM_TLS): Likewise.
25556 (NT_ARM_HW_BREAK): Likewise.
25557 (NT_ARM_HW_WATCH): Likewise.
25559 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25562 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25563 (__ieee754_powl): Saturate nonzero exponents with absolute value
25564 below 0x1p-79 to +/- 0x1p-79.
25565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25566 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25567 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25568 nonzero exponents with absolute value below 0x1p-32 to +/-
25570 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25571 (__ieee754_powl): Saturate nonzero exponents with absolute value
25572 below 0x1p-79 to +/- 0x1p-79.
25573 * math/libm-test.inc (pow_test): Add more tests.
25575 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25577 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25578 _dl_s390_cap_flags with kernel. Increase string length.
25579 (_dl_s390_platforms): Add z196 and zEC12.
25581 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25583 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25584 Change XOPEN21K to XOPEN2K.
25586 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25588 * string/memmove.c: Use memcpy when possible.
25590 2012-11-06 Andreas Jaeger <aj@suse.de>
25592 * po/eo.po: Update from translation team.
25594 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25598 exponent and small x and y exponents, scale x or y up. Increase
25599 by 2 the exponent used in scaling up.
25600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25602 * math/libm-test.inc (fma_test): Add more tests.
25603 (fma_test_towardzero): Likewise.
25604 (fma_test_downward): Likewise.
25605 (fma_test_upward): Likewise.
25607 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25610 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25614 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25615 namespace for names of struct fields.
25616 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25618 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25619 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25621 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25624 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25626 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25628 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25632 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25635 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25639 definitely overflow as x * y not x * y + z.
25640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25642 * math/libm-test.inc (fma_test): Add more tests.
25643 (fma_test_towardzero): Likewise.
25644 (fma_test_downward): Likewise.
25645 (fma_test_upward): Likewise.
25647 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25651 * include/stub-tag.h: Remove file.
25652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25654 * manual/maint.texi (Porting): Don't reference it.
25655 * Makerules ($(objpfx)stubs): Likewise.
25656 * dirent/closedir.c: Don't include <stub-tag.h>.
25657 * dirent/dirfd.c: Likewise.
25658 * dirent/fdopendir.c: Likewise.
25659 * dirent/getdents.c: Likewise.
25660 * dirent/getdents64.c: Likewise.
25661 * dirent/opendir.c: Likewise.
25662 * dirent/readdir.c: Likewise.
25663 * dirent/readdir64.c: Likewise.
25664 * dirent/readdir64_r.c: Likewise.
25665 * dirent/readdir_r.c: Likewise.
25666 * dirent/rewinddir.c: Likewise.
25667 * dirent/seekdir.c: Likewise.
25668 * dirent/telldir.c: Likewise.
25669 * gmon/profil.c: Likewise.
25670 * grp/setgroups.c: Likewise.
25671 * inet/if_index.c: Likewise.
25672 * io/access.c: Likewise.
25673 * io/chdir.c: Likewise.
25674 * io/chmod.c: Likewise.
25675 * io/chown.c: Likewise.
25676 * io/close.c: Likewise.
25677 * io/dup.c: Likewise.
25678 * io/dup2.c: Likewise.
25679 * io/dup3.c: Likewise.
25680 * io/euidaccess.c: Likewise.
25681 * io/faccessat.c: Likewise.
25682 * io/fchdir.c: Likewise.
25683 * io/fchmod.c: Likewise.
25684 * io/fchmodat.c: Likewise.
25685 * io/fchown.c: Likewise.
25686 * io/fchownat.c: Likewise.
25687 * io/fcntl.c: Likewise.
25688 * io/flock.c: Likewise.
25689 * io/fstatfs.c: Likewise.
25690 * io/fstatfs64.c: Likewise.
25691 * io/fstatvfs.c: Likewise.
25692 * io/fstatvfs64.c: Likewise.
25693 * io/futimens.c: Likewise.
25694 * io/fxstat.c: Likewise.
25695 * io/fxstat64.c: Likewise.
25696 * io/fxstatat.c: Likewise.
25697 * io/fxstatat64.c: Likewise.
25698 * io/getcwd.c: Likewise.
25699 * io/isatty.c: Likewise.
25700 * io/lchmod.c: Likewise.
25701 * io/lchown.c: Likewise.
25702 * io/link.c: Likewise.
25703 * io/linkat.c: Likewise.
25704 * io/lseek.c: Likewise.
25705 * io/lseek64.c: Likewise.
25706 * io/lxstat64.c: Likewise.
25707 * io/mkdir.c: Likewise.
25708 * io/mkdirat.c: Likewise.
25709 * io/mkfifo.c: Likewise.
25710 * io/mkfifoat.c: Likewise.
25711 * io/open.c: Likewise.
25712 * io/open64.c: Likewise.
25713 * io/openat.c: Likewise.
25714 * io/openat64.c: Likewise.
25715 * io/pipe.c: Likewise.
25716 * io/pipe2.c: Likewise.
25717 * io/poll.c: Likewise.
25718 * io/posix_fadvise.c: Likewise.
25719 * io/posix_fadvise64.c: Likewise.
25720 * io/posix_fallocate.c: Likewise.
25721 * io/posix_fallocate64.c: Likewise.
25722 * io/read.c: Likewise.
25723 * io/readlink.c: Likewise.
25724 * io/readlinkat.c: Likewise.
25725 * io/rmdir.c: Likewise.
25726 * io/sendfile.c: Likewise.
25727 * io/sendfile64.c: Likewise.
25728 * io/statfs.c: Likewise.
25729 * io/statfs64.c: Likewise.
25730 * io/statvfs.c: Likewise.
25731 * io/statvfs64.c: Likewise.
25732 * io/symlink.c: Likewise.
25733 * io/symlinkat.c: Likewise.
25734 * io/ttyname.c: Likewise.
25735 * io/ttyname_r.c: Likewise.
25736 * io/umask.c: Likewise.
25737 * io/unlink.c: Likewise.
25738 * io/unlinkat.c: Likewise.
25739 * io/utime.c: Likewise.
25740 * io/utimensat.c: Likewise.
25741 * io/write.c: Likewise.
25742 * io/xmknod.c: Likewise.
25743 * io/xmknodat.c: Likewise.
25744 * io/xstat.c: Likewise.
25745 * io/xstat64.c: Likewise.
25746 * login/getpt.c: Likewise.
25747 * login/grantpt.c: Likewise.
25748 * login/unlockpt.c: Likewise.
25749 * math/e_acoshl.c: Likewise.
25750 * math/e_acosl.c: Likewise.
25751 * math/e_asinl.c: Likewise.
25752 * math/e_atan2l.c: Likewise.
25753 * math/e_atanhl.c: Likewise.
25754 * math/e_coshl.c: Likewise.
25755 * math/e_expl.c: Likewise.
25756 * math/e_fmodl.c: Likewise.
25757 * math/e_gammal_r.c: Likewise.
25758 * math/e_hypotl.c: Likewise.
25759 * math/e_j0l.c: Likewise.
25760 * math/e_j1l.c: Likewise.
25761 * math/e_jnl.c: Likewise.
25762 * math/e_lgammal_r.c: Likewise.
25763 * math/e_log10l.c: Likewise.
25764 * math/e_log2l.c: Likewise.
25765 * math/e_logl.c: Likewise.
25766 * math/e_powl.c: Likewise.
25767 * math/e_rem_pio2l.c: Likewise.
25768 * math/e_sinhl.c: Likewise.
25769 * math/e_sqrtl.c: Likewise.
25770 * math/fclrexcpt.c: Likewise.
25771 * math/fedisblxcpt.c: Likewise.
25772 * math/feenablxcpt.c: Likewise.
25773 * math/fegetenv.c: Likewise.
25774 * math/fegetexcept.c: Likewise.
25775 * math/fegetround.c: Likewise.
25776 * math/feholdexcpt.c: Likewise.
25777 * math/fesetenv.c: Likewise.
25778 * math/fesetround.c: Likewise.
25779 * math/feupdateenv.c: Likewise.
25780 * math/fgetexcptflg.c: Likewise.
25781 * math/fraiseexcpt.c: Likewise.
25782 * math/fsetexcptflg.c: Likewise.
25783 * math/ftestexcept.c: Likewise.
25784 * math/k_cosl.c: Likewise.
25785 * math/k_rem_pio2l.c: Likewise.
25786 * math/k_sinl.c: Likewise.
25787 * math/k_tanl.c: Likewise.
25788 * math/s_asinhl.c: Likewise.
25789 * math/s_atanl.c: Likewise.
25790 * math/s_cbrtl.c: Likewise.
25791 * math/s_erfl.c: Likewise.
25792 * math/s_expm1l.c: Likewise.
25793 * math/s_log1pl.c: Likewise.
25794 * math/s_tanhl.c: Likewise.
25795 * misc/acct.c: Likewise.
25796 * misc/brk.c: Likewise.
25797 * misc/chflags.c: Likewise.
25798 * misc/chroot.c: Likewise.
25799 * misc/fchflags.c: Likewise.
25800 * misc/fgetxattr.c: Likewise.
25801 * misc/flistxattr.c: Likewise.
25802 * misc/fremovexattr.c: Likewise.
25803 * misc/fsetxattr.c: Likewise.
25804 * misc/fsync.c: Likewise.
25805 * misc/ftruncate.c: Likewise.
25806 * misc/futimes.c: Likewise.
25807 * misc/futimesat.c: Likewise.
25808 * misc/getdomain.c: Likewise.
25809 * misc/getdtsz.c: Likewise.
25810 * misc/gethostid.c: Likewise.
25811 * misc/gethostname.c: Likewise.
25812 * misc/getloadavg.c: Likewise.
25813 * misc/getpagesize.c: Likewise.
25814 * misc/getsysstats.c: Likewise.
25815 * misc/getxattr.c: Likewise.
25816 * misc/gtty.c: Likewise.
25817 * misc/ioctl.c: Likewise.
25818 * misc/lgetxattr.c: Likewise.
25819 * misc/listxattr.c: Likewise.
25820 * misc/llistxattr.c: Likewise.
25821 * misc/lremovexattr.c: Likewise.
25822 * misc/lsetxattr.c: Likewise.
25823 * misc/lutimes.c: Likewise.
25824 * misc/madvise.c: Likewise.
25825 * misc/mincore.c: Likewise.
25826 * misc/mlock.c: Likewise.
25827 * misc/mlockall.c: Likewise.
25828 * misc/mmap.c: Likewise.
25829 * misc/mprotect.c: Likewise.
25830 * misc/msync.c: Likewise.
25831 * misc/munlock.c: Likewise.
25832 * misc/munlockall.c: Likewise.
25833 * misc/munmap.c: Likewise.
25834 * misc/preadv.c: Likewise.
25835 * misc/preadv64.c: Likewise.
25836 * misc/ptrace.c: Likewise.
25837 * misc/pwritev.c: Likewise.
25838 * misc/pwritev64.c: Likewise.
25839 * misc/readv.c: Likewise.
25840 * misc/reboot.c: Likewise.
25841 * misc/remap_file_pages.c: Likewise.
25842 * misc/removexattr.c: Likewise.
25843 * misc/revoke.c: Likewise.
25844 * misc/select.c: Likewise.
25845 * misc/setdomain.c: Likewise.
25846 * misc/setegid.c: Likewise.
25847 * misc/seteuid.c: Likewise.
25848 * misc/sethostid.c: Likewise.
25849 * misc/sethostname.c: Likewise.
25850 * misc/setregid.c: Likewise.
25851 * misc/setreuid.c: Likewise.
25852 * misc/setxattr.c: Likewise.
25853 * misc/sstk.c: Likewise.
25854 * misc/stty.c: Likewise.
25855 * misc/swapoff.c: Likewise.
25856 * misc/swapon.c: Likewise.
25857 * misc/sync.c: Likewise.
25858 * misc/syncfs.c: Likewise.
25859 * misc/syscall.c: Likewise.
25860 * misc/truncate.c: Likewise.
25861 * misc/ualarm.c: Likewise.
25862 * misc/usleep.c: Likewise.
25863 * misc/ustat.c: Likewise.
25864 * misc/utimes.c: Likewise.
25865 * misc/vhangup.c: Likewise.
25866 * misc/writev.c: Likewise.
25867 * posix/_exit.c: Likewise.
25868 * posix/alarm.c: Likewise.
25869 * posix/execve.c: Likewise.
25870 * posix/fexecve.c: Likewise.
25871 * posix/fork.c: Likewise.
25872 * posix/fpathconf.c: Likewise.
25873 * posix/getaddrinfo.c: Likewise.
25874 * posix/getegid.c: Likewise.
25875 * posix/geteuid.c: Likewise.
25876 * posix/getgid.c: Likewise.
25877 * posix/getgroups.c: Likewise.
25878 * posix/getlogin.c: Likewise.
25879 * posix/getlogin_r.c: Likewise.
25880 * posix/getpgid.c: Likewise.
25881 * posix/getpid.c: Likewise.
25882 * posix/getppid.c: Likewise.
25883 * posix/getresgid.c: Likewise.
25884 * posix/getresuid.c: Likewise.
25885 * posix/getsid.c: Likewise.
25886 * posix/getuid.c: Likewise.
25887 * posix/glob64.c: Likewise.
25888 * posix/nanosleep.c: Likewise.
25889 * posix/pathconf.c: Likewise.
25890 * posix/pause.c: Likewise.
25891 * posix/posix_madvise.c: Likewise.
25892 * posix/pread.c: Likewise.
25893 * posix/pread64.c: Likewise.
25894 * posix/pwrite.c: Likewise.
25895 * posix/pwrite64.c: Likewise.
25896 * posix/sched_getaffinity.c: Likewise.
25897 * posix/sched_getp.c: Likewise.
25898 * posix/sched_gets.c: Likewise.
25899 * posix/sched_primax.c: Likewise.
25900 * posix/sched_primin.c: Likewise.
25901 * posix/sched_rr_gi.c: Likewise.
25902 * posix/sched_setaffinity.c: Likewise.
25903 * posix/sched_setp.c: Likewise.
25904 * posix/sched_sets.c: Likewise.
25905 * posix/sched_yield.c: Likewise.
25906 * posix/setgid.c: Likewise.
25907 * posix/setlogin.c: Likewise.
25908 * posix/setpgid.c: Likewise.
25909 * posix/setresgid.c: Likewise.
25910 * posix/setresuid.c: Likewise.
25911 * posix/setsid.c: Likewise.
25912 * posix/setuid.c: Likewise.
25913 * posix/sleep.c: Likewise.
25914 * posix/spawni.c: Likewise.
25915 * posix/sysconf.c: Likewise.
25916 * posix/times.c: Likewise.
25917 * posix/wait.c: Likewise.
25918 * posix/wait3.c: Likewise.
25919 * posix/wait4.c: Likewise.
25920 * posix/waitpid.c: Likewise.
25921 * resolv/gai_sigqueue.c: Likewise.
25922 * resource/getpriority.c: Likewise.
25923 * resource/getrlimit.c: Likewise.
25924 * resource/getrusage.c: Likewise.
25925 * resource/nice.c: Likewise.
25926 * resource/setpriority.c: Likewise.
25927 * resource/setrlimit.c: Likewise.
25928 * resource/ulimit.c: Likewise.
25929 * rt/aio_cancel.c: Likewise.
25930 * rt/aio_fsync.c: Likewise.
25931 * rt/aio_read.c: Likewise.
25932 * rt/aio_sigqueue.c: Likewise.
25933 * rt/aio_suspend.c: Likewise.
25934 * rt/aio_write.c: Likewise.
25935 * rt/clock_getres.c: Likewise.
25936 * rt/clock_gettime.c: Likewise.
25937 * rt/clock_nanosleep.c: Likewise.
25938 * rt/clock_settime.c: Likewise.
25939 * rt/lio_listio.c: Likewise.
25940 * rt/mq_close.c: Likewise.
25941 * rt/mq_getattr.c: Likewise.
25942 * rt/mq_notify.c: Likewise.
25943 * rt/mq_open.c: Likewise.
25944 * rt/mq_receive.c: Likewise.
25945 * rt/mq_send.c: Likewise.
25946 * rt/mq_setattr.c: Likewise.
25947 * rt/mq_timedreceive.c: Likewise.
25948 * rt/mq_timedsend.c: Likewise.
25949 * rt/mq_unlink.c: Likewise.
25950 * rt/shm_open.c: Likewise.
25951 * rt/shm_unlink.c: Likewise.
25952 * rt/timer_create.c: Likewise.
25953 * rt/timer_delete.c: Likewise.
25954 * rt/timer_getoverr.c: Likewise.
25955 * rt/timer_gettime.c: Likewise.
25956 * rt/timer_settime.c: Likewise.
25957 * setjmp/__longjmp.c: Likewise.
25958 * setjmp/setjmp.c: Likewise.
25959 * signal/kill.c: Likewise.
25960 * signal/killpg.c: Likewise.
25961 * signal/raise.c: Likewise.
25962 * signal/sigaction.c: Likewise.
25963 * signal/sigaltstack.c: Likewise.
25964 * signal/sigblock.c: Likewise.
25965 * signal/sigignore.c: Likewise.
25966 * signal/sigintr.c: Likewise.
25967 * signal/signal.c: Likewise.
25968 * signal/sigpause.c: Likewise.
25969 * signal/sigpending.c: Likewise.
25970 * signal/sigqueue.c: Likewise.
25971 * signal/sigreturn.c: Likewise.
25972 * signal/sigset.c: Likewise.
25973 * signal/sigsetmask.c: Likewise.
25974 * signal/sigstack.c: Likewise.
25975 * signal/sigsuspend.c: Likewise.
25976 * signal/sigtimedwait.c: Likewise.
25977 * signal/sigvec.c: Likewise.
25978 * signal/sigwait.c: Likewise.
25979 * signal/sigwaitinfo.c: Likewise.
25980 * signal/sysv_signal.c: Likewise.
25981 * socket/accept.c: Likewise.
25982 * socket/accept4.c: Likewise.
25983 * socket/bind.c: Likewise.
25984 * socket/connect.c: Likewise.
25985 * socket/getpeername.c: Likewise.
25986 * socket/getsockname.c: Likewise.
25987 * socket/getsockopt.c: Likewise.
25988 * socket/isfdtype.c: Likewise.
25989 * socket/listen.c: Likewise.
25990 * socket/recv.c: Likewise.
25991 * socket/recvfrom.c: Likewise.
25992 * socket/recvmsg.c: Likewise.
25993 * socket/send.c: Likewise.
25994 * socket/sendmsg.c: Likewise.
25995 * socket/sendto.c: Likewise.
25996 * socket/setsockopt.c: Likewise.
25997 * socket/shutdown.c: Likewise.
25998 * socket/sockatmark.c: Likewise.
25999 * socket/socket.c: Likewise.
26000 * socket/socketpair.c: Likewise.
26001 * stdio-common/ctermid.c: Likewise.
26002 * stdio-common/cuserid.c: Likewise.
26003 * stdio-common/remove.c: Likewise.
26004 * stdio-common/rename.c: Likewise.
26005 * stdio-common/renameat.c: Likewise.
26006 * stdio-common/tempname.c: Likewise.
26007 * stdlib/getcontext.c: Likewise.
26008 * stdlib/makecontext.c: Likewise.
26009 * stdlib/setcontext.c: Likewise.
26010 * stdlib/swapcontext.c: Likewise.
26011 * stdlib/system.c: Likewise.
26012 * streams/fattach.c: Likewise.
26013 * streams/fdetach.c: Likewise.
26014 * streams/getmsg.c: Likewise.
26015 * streams/getpmsg.c: Likewise.
26016 * streams/putmsg.c: Likewise.
26017 * streams/putpmsg.c: Likewise.
26018 * sysdeps/unix/bsd/getpt.c: Likewise.
26019 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26020 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26021 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26024 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26025 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26026 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26027 * sysvipc/msgctl.c: Likewise.
26028 * sysvipc/msgget.c: Likewise.
26029 * sysvipc/msgrcv.c: Likewise.
26030 * sysvipc/msgsnd.c: Likewise.
26031 * sysvipc/semctl.c: Likewise.
26032 * sysvipc/semget.c: Likewise.
26033 * sysvipc/semop.c: Likewise.
26034 * sysvipc/semtimedop.c: Likewise.
26035 * sysvipc/shmat.c: Likewise.
26036 * sysvipc/shmctl.c: Likewise.
26037 * sysvipc/shmdt.c: Likewise.
26038 * sysvipc/shmget.c: Likewise.
26039 * termios/tcdrain.c: Likewise.
26040 * termios/tcflow.c: Likewise.
26041 * termios/tcflush.c: Likewise.
26042 * termios/tcgetattr.c: Likewise.
26043 * termios/tcgetpgrp.c: Likewise.
26044 * termios/tcsendbrk.c: Likewise.
26045 * termios/tcsetattr.c: Likewise.
26046 * termios/tcsetpgrp.c: Likewise.
26047 * time/adjtime.c: Likewise.
26048 * time/clock.c: Likewise.
26049 * time/getitimer.c: Likewise.
26050 * time/gettimeofday.c: Likewise.
26051 * time/setitimer.c: Likewise.
26052 * time/settimeofday.c: Likewise.
26053 * time/stime.c: Likewise.
26054 * time/time.c: Likewise.
26056 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26058 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26061 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26063 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26065 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26069 FE_TONEAREST before applying Dekker multiplication and Knuth
26070 addition. Clear inexact exceptions and check for exact zero
26071 results afterwards.
26072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26073 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26075 * math/libm-test.inc (fma_test): Add more tests.
26076 (fma_test_towardzero): Likewise.
26077 (fma_test_downward): Likewise.
26078 (fma_test_upward): Likewise.
26079 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26081 (libc_fesetround): New macro.
26082 (libc_fesetroundf): Likewise.
26083 (libc_fesetroundl): Likewise.
26084 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26086 (libc_fesetround_387): Likewise.
26087 (libc_fesetroundf): New macro.
26088 (libc_fesetround): Likewise.
26089 (libc_fesetroundl): Likewise.
26090 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26092 (libc_fesetroundf): New macro.
26093 (libc_fesetround): Likewise.
26094 (libc_fesetroundl): Likewise.
26095 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26096 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26097 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26099 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26100 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26102 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26103 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26105 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26109 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26110 integer constant usable in #if and use that to give value to enum
26112 (FE_DIVBYZERO): Likewise.
26113 (FE_UNDERFLOW): Likewise.
26114 (FE_OVERFLOW): Likewise.
26115 (FE_INVALID): Likewise.
26116 (FE_INVALID_SNAN): Likewise.
26117 (FE_INVALID_ISI): Likewise.
26118 (FE_INVALID_IDI): Likewise.
26119 (FE_INVALID_ZDZ): Likewise.
26120 (FE_INVALID_IMZ): Likewise.
26121 (FE_INVALID_COMPARE): Likewise.
26122 (FE_INVALID_SOFTWARE): Likewise.
26123 (FE_INVALID_SQRT): Likewise.
26124 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26125 (FE_TONEAREST): Likewise.
26126 (FE_TOWARDZERO): Likewise.
26127 (FE_UPWARD): Likewise.
26128 (FE_DOWNWARD): Likewise.
26129 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26130 (FE_DIVBYZERO): Likewise.
26131 (FE_OVERFLOW): Likewise.
26132 (FE_UNDERFLOW): Likewise.
26133 (FE_INEXACT): Likewise.
26134 (FE_TONEAREST): Likewise.
26135 (FE_DOWNWARD): Likewise.
26136 (FE_UPWARD): Likewise.
26137 (FE_TOWARDZERO): Likewise.
26138 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26139 (FE_UNDERFLOW): Likewise.
26140 (FE_OVERFLOW): Likewise.
26141 (FE_DIVBYZERO): Likewise.
26142 (FE_INVALID): Likewise.
26143 (FE_TONEAREST): Likewise.
26144 (FE_TOWARDZERO): Likewise.
26145 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26146 (FE_OVERFLOW): Likewise.
26147 (FE_UNDERFLOW): Likewise.
26148 (FE_DIVBYZERO): Likewise.
26149 (FE_INEXACT): Likewise.
26150 (FE_TONEAREST): Likewise.
26151 (FE_TOWARDZERO): Likewise.
26152 (FE_UPWARD): Likewise.
26153 (FE_DOWNWARD): Likewise.
26154 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26155 (FE_DIVBYZERO): Likewise.
26156 (FE_OVERFLOW): Likewise.
26157 (FE_UNDERFLOW): Likewise.
26158 (FE_INEXACT): Likewise.
26159 (FE_TONEAREST): Likewise.
26160 (FE_DOWNWARD): Likewise.
26161 (FE_UPWARD): Likewise.
26162 (FE_TOWARDZERO): Likewise.
26164 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26166 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26168 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26170 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26171 commands. Quote $PWD.
26172 (blacklist_exports): Don't use remove_newlines. Replace "declare
26174 (remove_newlines): Remove.
26176 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26178 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26179 * stdlib/stdlib.h (atof): Moved to ...
26180 * include/bits/stdlib-float.h: Here. New file.
26181 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26182 * stdlib/bits/stdlib-float.h: New file.
26183 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26188 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26190 * conform/conformtest.pl (@headers): Add fenv.h.
26191 * conform/data/fenv.h-data: New file.
26192 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26193 include of <math/fenv.h>.
26195 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26196 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26197 && !UNIX98]. Enables tests for XOPEN2K8.
26198 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26199 POSIX2008]: Likewise.
26201 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26202 (struct rusage): Do not expect type or its members.
26205 * math/math.h (FP_NAN): Define macro to integer constant usable in
26206 #if and use that to give value to enum constant.
26207 (FP_INFINITE): Likewise.
26208 (FP_ZERO): Likewise.
26209 (FP_SUBNORMAL): Likewise.
26210 (FP_NORMAL): Likewise.
26212 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26214 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26215 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26218 2012-11-02 Roland McGrath <roland@hack.frob.com>
26220 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26221 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26222 autoconf-time if not.
26223 * configure.in: Remove AC_PREREQ.
26225 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26227 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26228 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26229 of the internal implementation.
26231 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26233 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26234 except include of <misc/sys/syslog.h>.
26236 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26239 function returns with a NULL context exit with zero.
26241 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26243 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26245 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26247 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26248 (run_program_cmd): This.
26249 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26250 (tst_langinfo): New variable. Use it.
26252 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26254 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26255 floating point opcodes.
26257 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26259 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26262 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26264 * sysdeps/mach/hurd/powerpc: Remove directory.
26265 * sysdeps/mach/powerpc: Likewise.
26267 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26269 * scripts/check-local-headers.sh: Ignore c++ headers.
26271 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26273 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26274 __libc_cleanup_region_start argument.
26276 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26281 x * y using scaling, not as x * y + z.
26282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26283 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26284 * math/libm-test.inc (fma_test): Add more tests.
26285 (fma_test_towardzero): Likewise.
26286 (fma_test_downward): Likewise.
26287 (fma_test_upward): Likewise.
26289 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26291 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26293 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26295 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26298 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26300 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26302 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26309 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26312 Fix the order of the list for glibc 2.17.
26313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26316 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26320 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26323 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26324 for low part of x being zero before using __atanl (y).
26325 * math/libm-test.inc (atan2_test): Add another test.
26327 * manual/install.texi (Configuring and compiling): Document
26328 general use of test-wrapper and test-wrapper-env.
26329 * INSTALL: Regenerated.
26331 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26332 (__fma): Do not extract and scale down low bits on after-rounding
26333 systems when result rounded to normal precision would have normal
26335 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26336 (__fmal): Do not extract and scale down low bits on after-rounding
26337 systems when result rounded to normal precision would have normal
26339 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26340 (__fmal): Do not extract and scale down low bits on after-rounding
26341 systems when result rounded to normal precision would have normal
26343 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26345 (fma_test): Add more tests.
26346 (fma_test_towardzero): Likewise.
26347 (fma_test_downward): Likewise.
26348 (fma_test_upward): Likewise.
26350 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26352 * sysdeps/i386/tininess.h: Renamed to ...
26353 * sysdeps/x86/tininess.h: This.
26354 * sysdeps/x86_64/tininess.h: Removed.
26356 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26358 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26359 input. Use $(build-program-cmd).
26360 ($(objpfx)tst-array1-static.out): Likewise.
26361 ($(objpfx)tst-array2.out): Likewise.
26362 ($(objpfx)tst-array3.out): Likewise.
26363 ($(objpfx)tst-array4.out): Likewise.
26364 ($(objpfx)tst-array5.out): Likewise.
26365 ($(objpfx)tst-array5-static.out): Likewise.
26367 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26369 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26372 * nss/nsswitch.h (nss_interface_function): Provide new
26373 macro for use with NSS functions.
26374 * grp/initgroups.c: Use new macro.
26375 * nss/getXXbyYY.c: Likewise.
26376 * nss/getXXbyYY_r.c: Likewise.
26377 * nss/getXXent.c: Likewise.
26378 * nss/getXXent_r.c: Likewise.
26379 * sysdeps/posix/getaddrinfo.c: Likewise.
26381 2012-10-30 Andreas Jaeger <aj@suse.de>
26383 * po/ru.po: Update Russion translation from translation project.
26385 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26390 result and shift together with sticky bit instead of replicating
26391 round-to-nearest rounding.
26392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26394 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26395 missing underflow exceptions.
26396 (fma_test_towardzero): Add more tests.
26397 (fma_test_downward): Likewise.
26398 (fma_test_upward): Likewise.
26401 * sysdeps/generic/tininess.h: New file.
26402 * sysdeps/i386/tininess.h: Likewise.
26403 * sysdeps/sh/tininess.h: Likewise.
26404 * sysdeps/x86_64/tininess.h: Likewise.
26405 * stdlib/tst-strtod-underflow.c: Likewise.
26406 * stdlib/tst-tininess.c: Likewise.
26407 * stdlib/strtod_l.c: Include <tininess.h>.
26408 (round_and_return): Do not set errno for exact underflow cases.
26409 Force an underflow exception when setting errno for underflow.
26410 Determine underflow based on rounding to normal precision if
26411 TININESS_AFTER_ROUNDING.
26412 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26413 ERANGE for exact underflow cases.
26414 * stdlib/Makefile (tests): Add tst-tininess and
26415 tst-strtod-underflow.
26416 ($(objpfx)tst-tininess): Use $(link-libm).
26417 ($(objpfx)tst-strtod-underflow): Likewise.
26419 2012-10-30 Andreas Jaeger <aj@suse.de>
26422 * elf/Makefile (tests): Remove conditional for have-initfini-array
26423 since this is now always required and the variable does not exist
26425 (tests-static): Likewise.
26426 (modules-names): Likewise.
26428 * po/eo.po: Add Esperanto translation from translation project.
26430 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26431 merged with constructor/destructor.
26432 (init_array): Likewise.
26433 * elf/tst-array2dep.c (fini_array): Likewise.
26434 (init_array): Likewise.
26436 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26438 * manual/message.texi: Delete @cartouche tags.
26440 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26442 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26444 * sysdeps/mach/hurd/fsync.c: Likewise.
26446 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26447 [_POSIX_REALTIME_SIGNALS]: Change condition to
26448 [_POSIX_REALTIME_SIGNALS > 0].
26450 2012-10-27 Andreas Jaeger <aj@suse.de>
26452 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26453 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26455 [__WORDSIZE != 64]: Likewise.
26457 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26459 * iconvdata/tst-table.sh: Remove ${SHELL}.
26460 * iconvdata/tst-tables.sh: Likewise.
26462 2012-10-25 David S. Miller <davem@davemloft.net>
26464 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26465 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26470 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26471 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26472 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26475 2012-10-25 Roland McGrath <roland@hack.frob.com>
26477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26478 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26481 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26482 Jim Blandy <jimb@codesourcery.com>
26484 * scripts/cross-test-ssh.sh: New file.
26485 * manual/install.texi (Configuring and compiling): Document use of
26487 * INSTALL: Regenerated.
26489 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26491 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26494 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26496 * Makeconfig (run-program-prefix): Fix comment.
26498 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26499 Jim Blandy <jimb@codesourcery.com>
26501 * Makeconfig (test-wrapper): New variable,
26502 (test-wrapper-env): Likewise.
26503 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26504 (run-built-tests): Define to yes.
26505 (run-program-prefix): Use $(test-wrapper).
26506 (built-program-cmd): Likewise.
26507 * Rules (make-test-out): Use $(test-wrapper-env) and
26508 $(host-built-program-cmd).
26509 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26510 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26512 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26513 $(test-wrapper-env) to tst-rtld-load-self.sh.
26514 ($(objpfx)order2.out): Use $(test-wrapper).
26515 ($(objpfx)tst-initorder.out): Likewise.
26516 ($(objpfx)tst-initorder2.out): Likewise.
26517 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26518 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26519 (test_wrapper_env): New variable. Use it to run ld.so.
26520 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26521 Use it to run ld.so.
26522 (test_wrapper_env): Likewise.
26523 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26524 $(test-wrapper) to run-iconv-test.sh.
26525 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26526 (ICONV): Use $test_wrapper.
26527 * posix/Makefile ($(objpfx)globtest.out): Pass
26528 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26529 globtest.sh, not $(run-program-prefix).
26530 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26531 (test_wrapper): Likewise.
26532 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26533 set together with run_via_rtld_prefix.
26534 (run_program_prefix): Define in terms of test_wrapper and
26535 run_via_rtld_prefix.
26537 2012-10-24 Roland McGrath <roland@hack.frob.com>
26539 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26540 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26544 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26545 Declare __clock_getres, __clock_gettime, __clock_settime,
26546 __clock_nanosleep, and __clock_getcpuclockid.
26547 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26548 Remove librt_hidden_def (clock_gettime).
26549 * sysdeps/unix/clock_gettime.c: Likewise.
26550 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26551 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26552 * rt/clock_getres.c: Define __clock_getres as an alias.
26553 * sysdeps/posix/clock_getres.c: Likewise.
26554 * rt/clock_settime.c: Define __clock_settime as an alias.
26555 * sysdeps/unix/clock_settime.c: Likewise.
26556 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26557 * sysdeps/unix/clock_nanosleep.c: Likewise.
26558 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26559 * rt/clock-compat.c: New file.
26560 * rt/Makefile (librt-routines): Add clock-compat and move
26561 $(clock-routines) to ...
26562 (routines): ... here, new variable.
26563 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26564 Don't add get_clockfreq here.
26565 * rt/Versions (libc: GLIBC_2.17): New version set.
26566 Add clock_* symbols here.
26567 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26569 (GLIBC_2.17): Add clock_* symbols.
26570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26581 * NEWS: Mention the move.
26583 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26584 Use __open, __read, __close rather than their public counterparts.
26585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26586 (__get_clockfreq_via_cpuinfo): Likewise.
26587 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26588 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26590 * config.h.in (HAVE_IFUNC): New #undef.
26591 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26593 * configure: Regenerated.
26595 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26597 * configure.in: Move READELF check to start of file.
26598 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26599 libc_cv_asm_gnu_indirect_function in the process.
26600 * configure: Regenerated.
26602 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26604 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26605 send the output to /dev/null.
26606 (libc_cv_cc_with_libunwind): Likewise.
26607 (libc_cv_as_noexecstack): Likewise.
26608 * configure: Regenerate.
26610 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26612 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26614 * posix/globtest.sh (TMPDIR): Do not set.
26615 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26616 (testout): Likewise.
26618 2012-10-24 Andreas Jaeger <aj@suse.de>
26620 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26621 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26622 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26623 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26624 posix_fadvise64, posix_fallocate64.
26626 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26627 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26628 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26630 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26632 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26635 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26636 <bits/fcntl-linux.h>.
26637 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26640 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26641 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26642 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26643 [__WORDSIZE != 64]: Likewise.
26645 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26647 * Makeconfig (run-built-tests): New variable.
26648 * Rules [$(cross-compiling) = yes]: Change condition to
26649 [$(run-built-tests) = no].
26650 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26651 to [$(run-built-tests) = yes].
26652 * elf/Makefile [$(cross-compiling) = no]: Likewise
26653 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26654 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26655 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26656 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26657 * io/Makefile [$(cross-compiling) = no]: Likewise.
26658 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26659 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26660 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26661 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26662 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26663 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26664 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26665 * string/Makefile [$(cross-compiling) = no]: Likewise.
26667 * posix/Makefile ($(objpfx)globtest.out): Pass
26668 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26669 $(rtld-installed-name).
26670 * posix/globtest.sh (elf_objpfx): Remove variable.
26671 (rtld_installed_name): Likewise.
26672 (library_path): Likewise.
26673 (run_program_prefix): New variable. Use for running globtest
26676 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26677 Joseph Myers <joseph@codesourcery.com>
26679 * Makeconfig (host-built-program-cmd): New variable.
26680 * elf/Makefile (tst-stackguard1-ARGS): Use
26681 $(host-built-program-cmd).
26682 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26683 (tst-spawn-ARGS): Likewise.
26684 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26686 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26687 Jim Blandy <jimb@codesourcery.com>
26689 * Makeconfig (run-via-rtld-prefix): New variable.
26690 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26691 (built-program-cmd): Likewise.
26693 2012-10-22 Andreas Jaeger <aj@suse.de>
26695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26696 __O_RSYNC if it exists, otherwise to O_SYNC.
26698 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26699 Joseph Myers <joseph@codesourcery.com>
26701 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26703 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26705 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26708 2012-10-22 Andreas Jaeger <aj@suse.de>
26710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26715 bits/fcntl-linux.h.
26717 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26718 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26725 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26726 Joseph Myers <joseph@codesourcery.com>
26728 * config.make.in (NM): New variable.
26730 2012-10-21 Andreas Jaeger <aj@suse.de>
26732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26733 definitions and declarations that are provided by
26734 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26736 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26739 * elf/Makefile (tests-static): Add tst-leaks1-static.
26740 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26741 ($(objpfx)tst-leaks1-static): New rule.
26742 ($(objpfx)tst-leaks1-static-mem): Likewise.
26743 (tst-leaks1-static-ENV): New macro.
26744 * elf/dl-open.c (dl_open_worker): Check the main application
26745 only if SHARED is defined.
26746 * elf/tst-leaks1-static.c: New file.
26748 2012-10-20 Andreas Jaeger <aj@suse.de>
26750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26751 generic values for Linux.
26752 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26753 and declarations that are provided by <bits/fcntl-linux.h> and
26754 include <bits/fcntl-linux.h>.
26755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26758 2012-10-20 Roland McGrath <roland@hack.frob.com>
26760 * io/fcntl.h: Move include of <bits/types.h> to the top and
26761 include it unconditionally.
26763 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26765 * wcsmbs/Makefile (tests-ifunc): New variable.
26766 (tests): Add $(tests-ifunc).
26767 * wcsmbs/test-wcschr-ifunc.c: New file.
26768 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26769 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26770 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26771 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26772 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26774 * string/Makefile (tests-ifunc): New variable.
26775 (tests): Add $(tests-ifunc).
26776 * string/test-memccpy.c (TEST_NAME): New macro.
26777 * string/test-memchr.c (TEST_NAME): Likewise.
26778 * string/test-memcmp.c (TEST_NAME): Likewise.
26779 * string/test-memcpy.c (TEST_NAME): Likewise.
26780 * string/test-memmem.c (TEST_NAME): Likewise.
26781 * string/test-memmove.c (TEST_NAME): Likewise.
26782 * string/test-memset.c (TEST_NAME): Likewise.
26783 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26784 * string/test-stpcpy.c (TEST_NAME): Likewise.
26785 * string/test-stpncpy.c (TEST_NAME): Likewise.
26786 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26787 * string/test-strcasestr.c (TEST_NAME): Likewise.
26788 * string/test-strcat.c (TEST_NAME): Likewise.
26789 * string/test-strchr.c (TEST_NAME): Likewise.
26790 * string/test-strcmp.c(TEST_NAME): Likewise.
26791 * string/test-strcpy.c (TEST_NAME): Likewise.
26792 * string/test-strcspn.c (TEST_NAME): Likewise.
26793 * string/test-strlen.c (TEST_NAME): Likewise.
26794 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26795 * string/test-strncmp.c (TEST_NAME): Likewise.
26796 * string/test-strncpy.c (TEST_NAME): Likewise.
26797 * string/test-strnlen.c (TEST_NAME): Likewise.
26798 * string/test-strpbrk.c (TEST_NAME): Likewise.
26799 * string/test-strrchr.c (TEST_NAME): Likewise.
26800 * string/test-strspn.c (TEST_NAME): Likewise.
26801 * string/test-strstr.c (TEST_NAME): Likewise.
26802 * string/test-bcopy-ifunc.c: New file.
26803 * string/test-bzero-ifunc.c: Likewise.
26804 * string/test-memccpy-ifunc.c: Likewise.
26805 * string/test-memchr-ifunc.c: Likewise.
26806 * string/test-memcmp-ifunc.c: Likewise.
26807 * string/test-memcpy-ifunc.c: Likewise.
26808 * string/test-memmem-ifunc.c: Likewise.
26809 * string/test-memmove-ifunc.c: Likewise.
26810 * string/test-mempcpy-ifunc.c: Likewise.
26811 * string/test-memset-ifunc.c: Likewise.
26812 * string/test-rawmemchr-ifunc.c: Likewise.
26813 * string/test-stpcpy-ifunc.c: Likewise.
26814 * string/test-stpncpy-ifunc.c: Likewise.
26815 * string/test-strcasecmp-ifunc.c: Likewise.
26816 * string/test-strcasestr-ifunc.c: Likewise.
26817 * string/test-strcat-ifunc.c: Likewise.
26818 * string/test-strchr-ifunc.c: Likewise.
26819 * string/test-strchrnul-ifunc.c: Likewise.
26820 * string/test-strcmp-ifunc.c: Likewise.
26821 * string/test-strcpy-ifunc.c: Likewise.
26822 * string/test-strcspn-ifunc.c: Likewise.
26823 * string/test-strlen-ifunc.c: Likewise.
26824 * string/test-strncasecmp-ifunc.c: Likewise.
26825 * string/test-strncat-ifunc.c: Likewise.
26826 * string/test-strncmp-ifunc.c: Likewise.
26827 * string/test-strncpy-ifunc.c: Likewise.
26828 * string/test-strnlen-ifunc.c: Likewise.
26829 * string/test-strpbrk-ifunc.c: Likewise.
26830 * string/test-strrchr-ifunc.c: Likewise.
26831 * string/test-strspn-ifunc.c: Likewise.
26832 * string/test-strstr-ifunc.c: Likewise.
26834 * debug/Makefile (tests-ifunc): New variable.
26835 (tests): Add $(tests-ifunc).
26836 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26837 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26838 * debug/test-stpcpy_chk-ifunc.c: New file.
26839 * debug/test-strcpy_chk-ifunc.c: Likewise.
26841 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26844 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26845 header is not read in.
26847 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26849 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26850 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26851 directly. Pass built executable to script as
26852 $(built-program-cmd).
26853 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26854 $testprogram without using LD_LIBRARY_PATH and $ldso.
26856 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26857 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26858 $(rtld-installed-name).
26859 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26860 (rtld_installed_name): Likewise.
26861 (library_path): Likewise.
26862 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26863 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26864 $(run-program-prefix) to tst-tables.sh.
26865 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26866 it to run tst-table-from and tst-table-to.
26867 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26868 Pass it to tst-table.sh.
26869 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26870 $(run-program-prefix) to tst-gettext.sh.
26871 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26873 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26875 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26876 to run tst-gettext.
26877 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26878 to run tst-gettext2.
26879 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26880 to run tst-translit.
26881 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26882 $(run-program-prefix) to tst-mtrace.sh.
26883 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26885 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26886 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26887 $(rtld-installed-name).
26888 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26889 (rtld_installed_name): Likewise.
26890 (run_program_prefix): New variable. Use it to run wordexp-test.
26892 * Makeconfig (ARCH): Remove all definitions.
26893 (machine): Likewise.
26894 [ARCH]: Remove conditional code.
26895 [!objdir]: Give error.
26896 [!objdir] (objpfx): Remove.
26897 [!objdir] (common-objpfx): Likewise.
26898 [!objdir] (common-objdir): Likewise.
26899 * configure.in (config_makefile): Remove. Hardcode Makefile in
26900 AC_CONFIG_FILES call.
26901 * configure: Regenerated.
26904 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26906 (testout): Likewise.
26908 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26909 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26910 $(rtld-installed-name).
26911 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26912 (rtld_installed_name): Likwise.
26913 (runit): Remove function.
26914 (run_getconf): New variable, Use it for running getconf binary.
26916 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26919 * string/test-memmem.c (check_result): New function.
26920 (do_one_test): Use it.
26921 (check1): New function.
26922 (test_main): Use it.
26924 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26926 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26928 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26930 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26931 (_G_LSEEK64): Likewise.
26932 (_G_MMAP64): Likewise.
26933 (_G_FSTAT64): Likewise.
26934 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26935 (_G_LSEEK64): Likewise.
26936 (_G_MMAP64): Likewise.
26937 (_G_FSTAT64): Likewise.
26938 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26939 unconditional. Call __mmap64 directly.
26940 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26941 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26942 __lseek64 directly.
26943 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26944 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26946 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26947 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26948 __lseek64 directly.
26949 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26950 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26951 __lseek64 directly.
26952 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26953 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26954 __lseek64 directly.
26955 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26956 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26957 __fxstat64 directly.
26958 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26959 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26961 (freopen64) [!_G_OPEN64]: Remove conditional code.
26962 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26964 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26965 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26967 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26968 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26970 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26971 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26973 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26974 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26976 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26977 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26979 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26980 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26982 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26984 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26987 * manual/memory.texi (Malloc Tunable Parameters): Add note
26988 about free list pointers overwriting some perturb bytes.
26989 Wording suggested by Roland McGrath.
26991 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26993 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26994 (lgamma_test): Likewise.
26995 (tgamma_test): Likewise.
26997 2012-10-16 Florian Weimer <fweimer@redhat.com>
27000 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27001 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27003 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27005 * NEWS: Mention BZ #14716.
27006 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27007 when removing AVAILABLE1_USES_J macro.
27009 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27011 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27012 (__bswap_64): __uint64_t for unsigned 64-bit int.
27014 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27016 * include/string.h (memmem): Declare libc hidden alias.
27017 * string/memmem.c (memmem): Define libc hidden alias.
27018 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27019 __read, __close instead of open, read, close.
27021 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27024 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27026 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27027 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27028 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27030 (__rawmemchr_sse2): Likewise.
27031 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27032 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27033 (__strchr_sse2): Likewise.
27034 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27035 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27036 (__strcasecmp_sse2): Likewise.
27037 (__strncasecmp_sse2): Likewise.
27038 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27039 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27040 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27041 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27042 (__strrchr_sse2): Likewise.
27043 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27045 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27046 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27047 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27048 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27049 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27051 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27052 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27053 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27054 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27055 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27056 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27057 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27058 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27059 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27060 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27061 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27062 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27063 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27064 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27065 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27066 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27067 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27068 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27069 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27070 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27071 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27072 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27073 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27074 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27076 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27078 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27079 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27080 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27081 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27083 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27085 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27086 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27087 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27088 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27090 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27091 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27092 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27100 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27101 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27102 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27103 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27104 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27106 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27107 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27108 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27109 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27111 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27112 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27113 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27115 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27116 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27117 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27118 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27119 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27120 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27121 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27122 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27123 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27124 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27125 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27126 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27127 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27128 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27129 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27130 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27132 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27133 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27134 * include/ifunc-impl-list.h: New file.
27135 * misc/ifunc-impl-list.c: Likewise.
27136 * misc/Makefile (routines): Add ifunc-impl-list.
27137 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27138 * string/test-string.h: Include <ifunc-impl-list.h>.
27139 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27140 TEST_NAME]: New variables.
27141 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27143 (test_init): Call __libc_ifunc_impl_list to initialize
27144 func_list if TEST_IFUNC and TEST_NAME are defined.
27146 * string/Makefile (strop-tests): Add bcopy and bzero.
27147 * string/test-bcopy.c: New file.
27148 * string/test-bzero.c: Likewise.
27149 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27151 * string/test-memset.c: Support bzero test if TEST_BZERO is
27153 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27155 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27157 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27160 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27162 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27163 * configure: Regenerated.
27165 * Makeconfig (+link-static-before-libc): Don't include
27166 $(link-static-libc).
27168 * libio/libio.h (_IO_pos_t): Remove.
27170 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27172 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27175 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27177 * crypt/crypt-entry.c: Include fips-private.h.
27178 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27179 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27180 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27181 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27183 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27185 * crypt/crypt-private.h: Include stdbool.h.
27186 (_ufc_setup_salt_r): Return bool.
27187 * crypt/crypt-entry.c: Include errno.h.
27188 (__crypt_r): Return NULL with EINVAL for bad salt.
27189 * crypt/crypt_util.c (bad_for_salt): New.
27190 (_ufc_setup_salt_r): Check that salt is long enough and within
27191 the specified alphabet.
27192 * crypt/badsalttest.c: New file.
27193 * crypt/Makefile (tests): Add it.
27194 ($(objpfx)badsalttest): New.
27196 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27198 * NEWS: Add entry for BZ #14602.
27200 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27202 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27204 * math/libm-test.inc: Update comment listing what functions and
27206 (isgreater_test): New function.
27207 (isgreaterequal_test): Likewise.
27208 (isless_test): Likewise.
27209 (islessequal_test): Likewise.
27210 (islessgreater_test): Likewise.
27211 (isunordered_test): Likewise.
27212 (main): Call the new functions.
27214 2012-10-09 Roland McGrath <roland@hack.frob.com>
27216 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27217 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27218 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27219 * sysdeps/i386/configure: Regenerated.
27220 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27221 * sysdeps/mach/configure: Regenerated.
27222 * sysdeps/mach/hurd/configure: Regenerated.
27223 * sysdeps/powerpc/configure: Regenerated.
27224 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27225 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27226 * sysdeps/s390/s390-32/configure: Regenerated.
27227 * sysdeps/s390/s390-64/configure: Regenerated.
27228 * sysdeps/sh/configure: Regenerated.
27229 * sysdeps/sparc/configure: Regenerated.
27230 * sysdeps/unix/sysv/linux/configure: Regenerated.
27231 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27232 * sysdeps/x86_64/configure: Regenerated.
27234 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27235 defined. Don't check if MAP is NULL.
27237 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27239 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27240 (_G_stat64): Likewise.
27241 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27242 (_G_stat64): Likewise.
27243 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27244 instead of struct _G_stat64.
27245 * libio/fileops.c (mmap_remap_check): Likewise.
27246 (decide_maybe_mmap): Likewise.
27247 (_IO_new_file_seekoff): Likewise.
27248 (_IO_file_stat): Likewise.
27249 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27251 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27252 instead of struct _G_stat64.
27253 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27255 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27258 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27260 (CHECK_EOL): New macro.
27261 (two_way_short_needle): Check beginning of haystack for EOL. Use
27263 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27264 Replace with CHECK_EOL.
27265 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27266 Replace with CHECK_EOL.
27268 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27270 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27272 * math/libm-test.inc: Update comment listing what functions and
27274 (finite_test): New function.
27275 (isinf_test): Likewise.
27276 (isnan_test): Likewise.
27277 (fpclassify_test): Test subnormal input.
27278 (isfinite_test): Likewise.
27279 (isnormal_test): Likewise.
27280 (main): Call the new functions.
27282 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27285 * Makerules (%.dynsym): Force C locale when running
27286 $(OBJDUMP) --dynamic-syms.
27288 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27290 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27293 2012-10-06 David S. Miller <davem@davemloft.net>
27295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27296 upper 32-bits of the length value in %o2 since we use branch-on-register
27297 tests which consider the entire 64-bit register.
27299 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27301 * string/test-strstr.c (check2): Add a test for page boundary.
27303 2012-10-05 David S. Miller <davem@davemloft.net>
27305 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27306 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27308 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27310 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27311 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27312 and bzero when HWCAP_SPARC_CRYPTO is present.
27314 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27317 * string/test-strstr.c (check2): New function.
27318 (test_main): Call check2.
27320 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27322 * string/bug-strcasestr1.c (do_test): Moved to ...
27323 * string/test-strcasestr.c (check1): Here. New function.
27324 (do_one_test): Break out result checking code into ...
27325 (check_result): This. New function.
27326 (do_one_test): Call check_result.
27327 (test_main): Call check1.
27328 * string/bug-strchr1.c (do_test): Moved to ...
27329 * string/test-strchr.c (check1): Here. New function.
27330 (do_one_test): Break out result checking code into ...
27331 (check_result): This. New function.
27332 (do_one_test): Call check_result.
27333 (test_main): Call check1.
27334 * string/bug-strstr1.c (main): Moved to ...
27335 * string/test-strstr.c (check1): Here. New function.
27336 (do_one_test): Break out result checking code into ...
27337 (check_result): This. New function.
27338 (do_one_test): Call check_result.
27339 (test_main): Call check1.
27340 * string/bug-strcasestr1.c: Removed.
27341 * string/bug-strchr1.c: Likewise.
27342 * string/bug-strstr1.c: Likewise.
27344 * elf/Makefile (dl-routines): Add hwcaps.
27345 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27346 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27347 (_dl_important_hwcaps): Moved to ...
27348 * elf/dl-hwcaps.c: Here. New file.
27349 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27352 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27353 if IS_IN_rtld isn't defined.
27355 * elf/dl-support.c (_dl_sysinfo_map): New.
27356 Include "get-dynamic-info.h" and "setup-vdso.h".
27357 (_dl_non_dynamic_init): Call setup_vdso.
27358 * elf/dynamic-link.h: Don't include <assert.h>.
27359 (elf_get_dynamic_info): Moved to ...
27360 * elf/get-dynamic-info.h: Here. New file.
27361 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27362 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27363 * elf/setup-vdso.h: Here. New file.
27364 * elf/rtld.c: Include "setup-vdso.h".
27365 (dl_main): Call setup_vdso.
27367 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27369 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27370 creal in comment listing functions tested. List finite, isinf,
27371 isnan, isless, islessequal, isgreater, isgreaterequal,
27372 islessgreater, isunordered, lgamma_r and pow10 as functions and
27373 macros not tested. Mention which functions not tested are aliases
27374 for other functions. Fix typo. Note that signs of NaNs are not
27377 * scripts/config.guess: Update from config.git.
27378 * scripts/config.sub: Likewise.
27380 2012-10-04 Roland McGrath <roland@hack.frob.com>
27382 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27383 * misc/madvise.c (madvise): Renamed to __madvise.
27384 Make madvise a weak alias.
27385 * include/sys/mman.h: Declare __madvise.
27386 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27387 * sysdeps/unix/syscalls.list
27388 (madvise): Make __madvise the strong name, and madvise a weak alias.
27389 * sysdeps/unix/sysv/linux/syscalls.list
27390 (madvise, mmap): Remove redundant entries.
27391 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27392 * malloc/malloc.c (mtrim): Likewise.
27393 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27395 2012-10-03 Roland McGrath <roland@hack.frob.com>
27397 * sysdeps/mach/hurd/dl-cache.c: File removed.
27398 * config.h.in (USE_LDCONFIG): New #undef.
27399 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27400 * configure: Regenerated.
27401 * elf/Makefile (dl-routines): Add dl-cache only under
27402 [$(use-ldconfig) = yes].
27403 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27404 cache on [USE_LDCONFIG].
27405 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27407 * elf/rtld.c (dl_main): Likewise.
27409 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27411 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27412 _SC_LEVEL4_CACHE_LINESIZE.
27414 2012-10-03 Roland McGrath <roland@hack.frob.com>
27416 * sysdeps/unix/bsd/confstr.h: File removed.
27418 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27420 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27423 2012-10-02 Roland McGrath <roland@hack.frob.com>
27425 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27426 Make 'mapoff' field ElfW(Off) rather than off_t.
27428 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27430 * nscd/Makefile: Remove nscd-cflags and all its users.
27431 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27432 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27435 * malloc.c (malloc_printerr): Clarify error message.
27437 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27441 Set bit_FMA_Usable if FMA is supported.
27442 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27444 (bit_FMA4_Usable): Updated.
27445 (index_FMA_Usable): New macro.
27446 (CPUID_FMA): Likewise
27447 (HAS_FMA): Defined with bit_FMA_Usable.
27449 2012-10-01 Roland McGrath <roland@hack.frob.com>
27451 * bits/types.h (__swblk_t): Type removed.
27452 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27453 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27455 (__SWBLK_T_TYPE): Likewise.
27456 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27457 (__SWBLK_T_TYPE): Likewise.
27458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27459 (__SWBLK_T_TYPE): Likewise.
27460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27461 (__SWBLK_T_TYPE): Likewise.
27463 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27464 Honza Horak <hhorak@redhat.com>
27466 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27467 (xdr_mapname): Use YPMAXMAP as maxsize.
27468 (xdr_peername): Use YPMAXPEER as maxsize.
27469 (xdr_keydat): Use YPAXRECORD as maxsize.
27470 (xdr_valdat): Use YPMAXRECORD as maxsize.
27472 2012-10-01 Roland McGrath <roland@hack.frob.com>
27474 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27476 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27477 * csu/init-first.c: ... here.
27478 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27479 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27480 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27481 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27482 * sysdeps/i386/init-first.c: File removed.
27483 * sysdeps/sh/init-first.c: File removed.
27485 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27489 if x * y might underflow to zero and z is zero.
27490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27492 * math/libm-test.inc (min_subnorm_value): New variable.
27493 (fma_test): Add more tests.
27494 (fma_test_towardzero): Likewise.
27495 (fma_test_downward): Likewise
27496 (fma_test_upward): Likewise.
27497 (initialize): Set min_subnorm_value.
27499 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27504 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27505 mode for addition resulting in exact zero.
27506 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27509 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27511 * math/libm-test.inc (fma_test): Add more tests.
27512 (fma_test_towardzero): New function.
27513 (fma_test_downward): Likewise.
27514 (fma_test_upward): Likewise.
27515 (main): Call the new functions.
27517 2012-09-28 David S. Miller <davem@davemloft.net>
27519 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27521 2012-09-28 Roland McGrath <roland@hack.frob.com>
27523 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27524 instead of SIGALRM.
27526 * sysdeps/gnu/_G_config.h: Moved to ...
27527 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27528 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27529 * sysdeps/generic/_G_config.h: ... here.
27531 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27533 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27535 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27536 Conditionalize target on [libnss_test1.so-version].
27538 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27540 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27541 (elfobjdir): Move out of conditionals.
27543 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27544 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27545 (__nss_lookup_function): Conditionalize label remove_from_tree on
27546 [!DO_STATIC_NSS || SHARED], matching its only use.
27548 2012-09-28 David S. Miller <davem@davemloft.net>
27550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27551 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27553 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27555 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27557 when HWCAP_SPARC_CRYPTO is present.
27559 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27561 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27563 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27566 * stdio-common/vfprintf.c (process_string_arg): Revert
27569 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27571 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27573 * stdio-common/tst-sprintf.c: Include <locale.h>
27574 (main): Test sprintf's handling of incomplete multibyte
27577 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27579 * elf/dl-runtime.c (VERSYMIDX): Removed.
27580 * elf/dl-version.c (VERSYMIDX): Likewise.
27581 * elf/do-rel.h (VERSYMIDX): Likewise.
27582 (VALIDX): Likewise.
27583 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27584 * elf/rtld.c (VALIDX): Likewise.
27585 (ADDRIDX): Likewise.
27586 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27587 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27588 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27589 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27590 (VALIDX): Likewise.
27591 (ADDRIDX): Likewise.
27593 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27595 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27597 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27600 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27602 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27603 addresses are in the same scope as 192.0.2/24.
27604 * posix/gai.conf: Document new scope table defaults.
27606 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27609 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27610 for ftell. Compute offsets from write pointers instead.
27611 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27613 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27616 * libio/Makefile (tests): New test case tst-fseek.
27617 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27618 combination works in wide mode.
27619 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27620 state when the external buffer state changes.
27622 2012-09-27 David S. Miller <davem@davemloft.net>
27625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27626 pass reloc->r_addend in as the 'high' argument to
27627 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27631 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27633 * rt/tst-aio2.c: Include <pthread.h>.
27634 * rt/tst-aio3.c: Likewise.
27636 2012-09-27 Steve Ellcey <sellcey@mips.com>
27638 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27640 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27642 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27643 contents on [SHARED].
27645 2012-09-26 Marek Polacek <polacek@redhat.com>
27649 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27650 for C++ and GCC <4.3 as well as for non GCC compilers.
27652 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27656 2012-09-25 Roland McGrath <roland@hack.frob.com>
27658 * Makefile.in (all, install): Declare with .PHONY.
27659 Reported by Michael Hope <michael.hope@linaro.org>.
27661 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27663 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27664 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27666 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27668 (sydep_routines): Add the new and the internal functions.
27669 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27670 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27672 (GLIBC_2.17): Add the new function.
27673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27674 (GLIBC_2.17): Likewise.
27675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27676 (GLIBC_2.17): Likewise.
27677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27678 (GLIBC_2.17): Likewise.
27679 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27681 2012-09-25 Alan Modra <amodra@gmail.com>
27683 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27684 Add release barrier before setting once_control to say
27685 initialisation is done. Add hints on lwarx. Use macro in
27687 (clear_once_control): Add release barrier.
27689 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27692 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27694 * math/s_clog10.c (__clog10): Likewise.
27695 * math/s_clog10f.c (__clog10f): Likewise.
27696 * math/s_clog10l.c (__clog10l): Likewise.
27697 * math/s_clogf.c (__clogf): Likewise.
27698 * math/s_clogl.c (__clogl): Likewise.
27699 * math/Makefile (libm-calls): Add x2y2m1.
27700 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27701 (__x2y2m1): Likewise.
27702 (__x2y2m1l): Likewise.
27703 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27704 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27707 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27708 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27709 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27710 * sysdeps/i386/fpu/libm-test-ulps: Update.
27711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27714 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27715 int as type of variable DEPTH.
27716 (glob): Use size_t instead of int as type of variables NEWCOUNT
27719 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27721 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27722 Add s_sincosf-sse2.
27723 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27724 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27725 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27726 macros for using routine as __sincosf_ia32.
27727 Use macro for function declaration and weak_alias.
27728 * sysdeps/i386/fpu/libm-test-ulps: Update.
27730 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27733 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27734 subnormal argument.
27735 * math/s_cexpf.c (__cexpf): Likewise.
27736 * math/s_csinf.c (__csinf): Likewise.
27737 * math/s_csinhf.c (__csinhf): Likewise.
27738 * math/s_ctanf.c (__ctanf): Likewise.
27739 * math/s_ctanhf.c (__ctanhf): Likewise.
27740 * math/s_ccosh.c (__ccoshf): Likewise.
27741 * math/s_cexp.c (__cexpl): Likewise.
27742 * math/s_csin.c (__csin): Likewise.
27743 * math/s_csinh.c (__csinh): Likewise.
27744 * math/s_ctan.c (__ctan): Likewise.
27745 * math/s_ctanh.c (ctanh): Likewise.
27746 * math/s_ccoshl.c (__ccoshl): Likewise.
27747 * math/s_cexpl.c (__cexpl): Likewise.
27748 * math/s_csinl.c (__csinl): Likewise.
27749 * math/s_csinhl.c (__csinhl): Likewise.
27750 * math/s_ctanl.c (__ctanl): Likewise.
27751 * math/s_ctanhl.c (__ctanhl): Likewise.
27753 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27755 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27756 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27757 (_IO_off_t): Define to __off_t, not _G_off_t.
27758 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27759 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27760 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27761 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27762 type of __dummy and __dummy2 fields.
27763 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27764 (_G_ssize_t): Likewise.
27765 (_G_off_t): Likewise.
27766 (_G_pid_t): Likewise.
27767 (_G_uid_t): Likewise.
27768 (_G_wchar_t): Likewise.
27769 (_G_wint_t): Likewise.
27770 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27771 (_G_ssize_t): Likewise.
27772 (_G_off_t): Likewise.
27773 (_G_pid_t): Likewise.
27774 (_G_uid_t): Likewise.
27775 (_G_wchar_t): Likewise.
27776 (_G_wint_t): Likewise.
27777 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27778 (_G_ssize_t): Likewise.
27779 (_G_off_t): Likewise.
27780 (_G_pid_t): Likewise.
27781 (_G_uid_t): Likewise.
27782 (_G_wchar_t): Likewise.
27783 (_G_wint_t): Likewise.
27785 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27787 * malloc/arena.c: Include malloc-sysdep.h.
27788 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27789 is sufficient to shrink the heap or an unmap is needed.
27790 * sysdeps/generic/malloc-sysdep.h: New file. Define
27791 new function check_may_shrink_heap.
27792 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27793 new function check_may_shrink_heap.
27795 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27797 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27800 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27802 * catgets/test-gencat.sh: Add "set -e".
27803 * elf/tst-pathopt.sh: Likewise.
27804 * grp/tst_fgetgrent.sh: Likewise.
27805 * iconvdata/run-iconv-test.sh: Likewise.
27806 * intl/tst-gettext.sh: Likewise.
27807 * intl/tst-gettext2.sh: Likewise.
27808 * intl/tst-gettext4.sh: Likewise.
27809 * intl/tst-gettext6.sh: Likewise.
27810 * intl/tst-translit.sh: Likewise.
27811 * io/ftwtest-sh: Likewise.
27812 * libio/test-freopen.sh: Likewise.
27813 * malloc/tst-mtrace.sh: Likewise.
27814 * posix/globtest.sh: Likewise.
27815 * posix/tst-getconf.sh: Likewise.
27816 * posix/wordexp-tst.sh: Likewise.
27817 * stdio-common/tst-printf.sh: Likewise.
27818 * stdio-common/tst-unbputc.sh: Likewise.
27819 * stdlib/tst-fmtmsg.sh: Likewise.
27820 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27821 * catgets/Makefile: Do not specify -e option when running
27822 testsuite shell scripts.
27823 * elf/Makefile: Likewise.
27824 * grp/Makefile: Likewise.
27825 * iconvdata/Makefile: Likewise.
27826 * intl/Makefile: Likewise.
27827 * io/Makefile: Likewise.
27828 * libio/Makefile: Likewise.
27829 * malloc/Makefile: Likewise.
27830 * posix/Makefile: Likewise.
27831 * stdio-common/Makefile: Likewise.
27832 * stdlib/Makefile: Likewise.
27833 * sysdeps/x86_64/Makefile: Likewise.
27835 * io/ftwtest-sh: Add copyright header.
27836 * posix/globtest.sh: Likewise.
27837 * posix/tst-getconf.sh: Likewise.
27838 * posix/wordexp-tst.sh: Likewise.
27839 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27841 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27844 * Makeconfig (+link): Defined as $(+link-static) if
27845 $(build-shared) isn't yes.
27846 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27848 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27850 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27853 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27854 new chunk size with MALLOC_ALIGN_MASK.
27856 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27859 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27861 (__printf_fphex): Determine rounding using get_rounding_mode and
27863 * stdio-common/tst-printf-round.c (struct hex_test): New
27865 (hex_tests): New variable.
27866 (test_hex_in_one_mode): New function.
27867 (do_test): Also run tests for hex float output.
27869 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27871 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27872 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27873 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27874 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27875 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27876 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27877 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27878 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27880 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27882 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27883 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27884 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27885 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27887 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27890 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27892 * elf/tst-rtld-load-self.sh: New test.
27893 * elf/Makefile: Run it.
27895 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27897 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27898 (tst-writev-ENV): Remove.
27899 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27901 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27903 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27905 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27907 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27909 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27911 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27912 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27913 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27916 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27919 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27920 * config.make.in (have-cpp-asm-debuginfo): Removed.
27921 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27922 * configure: Regenerated.
27924 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27927 * stdio-common/printf_fp.c: Include <stdbool.h> and
27929 (___printf_fp): Determine rounding using get_rounding_mode and
27931 * stdio-common/tst-printf-round.c: New file.
27932 * stdio-common/Makefile (tests): Add tst-printf-round.
27933 (link-libm): New variable.
27934 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27936 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27939 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27940 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27942 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27945 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27947 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27948 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27949 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27950 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27952 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27955 * include/rounding-mode.h: New file.
27956 * sysdeps/generic/get-rounding-mode.h: Likewise.
27957 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27958 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27959 (MAX_VALUE): New macro.
27960 (MIN_VALUE): Likewise.
27961 (overflow_value): New function.
27962 (underflow_value): Likewise.
27963 (round_and_return): Use overflow_value and underflow_value to
27964 determine return values in overflow and underflow cases. Use
27965 round_away to determine rounding depending on rounding mode.
27966 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27967 determine return values in overflow and underflow cases.
27968 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27969 (struct test_results): New structure.
27970 (struct test): Use struct test_results to store expected results
27971 for all rounding modes.
27972 (TEST): Include expected results for all rounding modes.
27973 (test_in_one_mode): New function.
27974 (do_test): Use test_in_one_mode to compute and check results.
27975 Check results for all rounding modes.
27976 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27979 2012-12-09 Allan McRae <allan@archlinux.org>
27981 * sysdeps/i386/fpu/libm-test-ulps: Update
27983 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27985 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27986 (_G_int32_t): Likewise.
27987 (_G_uint16_t): Likewise.
27988 (_G_uint32_t): Likewise.
27989 (_G_HAVE_BOOL): Likewise.
27990 (_G_HAVE_ATEXIT): Likewise.
27991 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27992 (_G_HAVE_IO_FILE_OPEN): Likewise.
27993 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27994 (_G_int32_t): Likewise.
27995 (_G_uint16_t): Likewise.
27996 (_G_uint32_t): Likewise.
27997 (_G_HAVE_BOOL): Likewise.
27998 (_G_HAVE_ATEXIT): Likewise.
27999 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28000 (_G_HAVE_IO_FILE_OPEN): Likewise.
28001 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28002 (_G_int32_t): Likewise.
28003 (_G_uint16_t): Likewise.
28004 (_G_uint32_t): Likewise.
28005 (_G_HAVE_BOOL): Likewise.
28006 (_G_HAVE_ATEXIT): Likewise.
28007 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28008 (_G_HAVE_IO_FILE_OPEN): Likewise.
28010 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28012 * csu/libc-tls.c: Update copyright years.
28014 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28016 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28017 [!_G_USING_THUNKS]: Remove conditional code.
28018 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28019 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28021 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28022 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28023 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28024 (_G_VTABLE_LABEL_PREFIX): Likewise.
28025 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28026 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28027 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28028 (_G_VTABLE_LABEL_PREFIX): Likewise.
28029 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28030 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28031 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28032 (_G_VTABLE_LABEL_PREFIX): Likewise.
28033 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28035 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28037 * libio/Makefile: Include ../Makeconfig before tests.
28038 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28039 only if $(build-shared) is yes.
28041 * iconv/gconv_db.c: Update copyright years.
28043 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28045 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28046 unwind info if defined PIC. Fix special cases description.
28047 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28049 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28051 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28053 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28055 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28057 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28060 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28061 (LDLIBS-tst-chk4): This.
28062 (LDFLAGS-tst-chk5): Renamed to ...
28063 (LDLIBS-tst-chk5): This.
28064 (LDFLAGS-tst-chk6): Renamed to ...
28065 (LDLIBS-tst-chk6): This.
28066 (LDFLAGS-tst-lfschk4): Renamed to ...
28067 (LDLIBS-tst-lfschk4): This.
28068 (LDFLAGS-tst-lfschk5): Renamed to ...
28069 (LDLIBS-tst-lfschk5): This.
28070 (LDFLAGS-tst-lfschk6): Renamed to ...
28071 (LDLIBS-tst-lfschk6): This.
28073 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28074 on $(common-objpfx)soversions.mk.
28076 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28079 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28082 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28084 * malloc/arena.c (arena_get_retry): New function that gets
28085 another arena for the caller to try its request on.
28086 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28087 current arena cannot fulfill the request.
28088 (__libc_memalign): Likewise.
28089 (__libc_memalign): Likewise.
28090 (__libc_pvalloc): Likewise.
28091 (__libc_calloc): Likewise.
28093 2012-09-05 John Tobey <john.tobey@gmail.com>
28096 * manual/arith.texi (Operations on Complex): Fix description
28097 of carg branch cut.
28099 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28102 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28106 * manual/memory.texi (Memory): Make order of menu items match
28109 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28111 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28112 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28113 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28115 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28117 * csu/libc-tls.c (static_dtv): Renamed to ...
28118 (_dl_static_dtv): This. Make it global.
28119 (_dl_initial_dtv): Removed.
28120 (__libc_setup_tls): Updated.
28121 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28122 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28125 2012-09-06 Petr Machata <pmachata@redhat.com>
28127 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28128 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28129 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28130 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28132 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28135 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28136 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28139 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28142 * Makeconfig (link-static-before-libc): Replace $(+prector)
28144 (link-static-after-libc): Replace $(+postctor) with
28146 (link-bounded): Replace $(+prector)/$(+postctor) with
28147 $(+prectorT)/$(+postctorT).
28148 (+prectorT): New macro.
28149 (+postctorT): Likewise.
28151 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28153 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28154 (round_str): Handle values above the maximum for IBM long double
28156 * stdlib/tst-strtod-round.c (tests): Regenerated.
28158 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28160 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28162 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28163 zarch_nohighgprs around the zarch optimized routines.
28164 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28165 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28166 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28169 2012-09-05 David S. Miller <davem@davemloft.net>
28171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28173 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28174 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28175 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28176 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28179 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28181 * malloc/arena.c: Fold copyright years.
28182 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28184 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28186 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28188 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28190 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28192 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28194 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28195 change internal state upon failure.
28197 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28199 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28200 * malloc/memusage.c (mmap): Likewise.
28201 (mmap64, mremap): Likewise. Adjust name in comment.
28203 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28205 * libio/fileops.c: Fix typos in comments.
28206 * libio/oldfileops.c: Likewise.
28207 * libio/wfileops.c: Likewise.
28209 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28212 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28213 (tst-malloc-usable-ENV): Set environment for test case.
28214 * malloc/hooks.c (malloc_check_get_size): New function to get
28216 * malloc/malloc.c (musable): Use malloc_check_get_size.
28217 * malloc/tst-malloc-usable.c: New test case.
28219 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28221 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28223 2012-09-05 Allan McRae <allan@archlinux.org>
28226 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28227 determine header location.
28228 * configure: Regenerated.
28230 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28232 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28234 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28235 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28237 (test): Regenerate.
28239 2012-09-04 David S. Miller <davem@davemloft.net>
28241 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28242 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28243 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28245 2012-09-04 Florian Weimer <fweimer@redhat.com>
28247 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28250 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28252 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28255 * libio/iogetdelim.c: Include <limits.h>.
28256 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28257 + len + 1 would overflow.
28259 2012-09-03 Andreas Jaeger <aj@suse.de>
28261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28262 * sysdeps/i386/fpu/libm-test-ulps: Update.
28264 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28266 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28267 Add s_sinf-sse2, s_conf-sse2.
28269 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28270 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28271 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28272 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28274 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28275 for using routine as __sinf_ia32.
28276 Use macro for function declaration and weak_alias.
28277 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28278 for using routine as __cosf_ia32.
28279 Use macro for function declaration and weak_alias.
28281 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28282 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28284 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28285 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28288 * math/libm-test.inc (cos_test): Add more test cases.
28289 (sin_test): Likewise.
28290 (sincos_test): Likewise.
28292 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28294 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28295 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28297 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28299 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28302 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28303 first element of the GOT.
28304 (elf_machine_load_address): Return the difference between
28305 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28307 2012-09-01 Allan McRae <allan@archlinux.org>
28310 * configure.in (AWK): Require gawk version 3.0 or later.
28311 * configure: Regenerated.
28313 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28315 * sysdeps/unix/sysv/linux/kernel-features.h
28316 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28318 [__NR_clock_getres]: Make code unconditional.
28319 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28320 (clock_getcpuclockid): Remove code left unreachable by removal of
28322 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28323 code unconditional.
28324 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28325 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28326 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28327 Make code unconditional.
28328 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28329 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28330 * sysdeps/unix/sysv/linux/clock_settime.c
28331 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28333 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28336 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28339 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28340 scripts/test-installation.pl.
28342 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28343 and $ld_so_version if it is set.
28345 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28348 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28349 failure if reading from procfs failed.
28350 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28352 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28354 * sysdeps/unix/sysv/linux/kernel-features.h
28355 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28356 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28357 Remove conditional code.
28358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28359 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28360 Remove conditional code.
28361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28362 * sysdeps/unix/sysv/linux/i386/fxstat.c
28363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28365 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28366 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28368 * sysdeps/unix/sysv/linux/i386/lxstat.c
28369 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28371 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28372 Remove conditional code.
28373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28374 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28375 Remove conditional code.
28376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28377 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28378 <kernel-features.h>.
28379 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28381 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28382 Remove conditional code.
28383 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28384 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28385 Remove conditional.
28387 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28390 * NEWS: Add fixed bug number.
28392 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28395 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28396 underflowing exponent in case of negative sign.
28397 * stdlib/tst-strtod-round-data: Add more tests.
28398 * stdlib/tst-strtod-round.c (tests): Regenerated.
28401 * stdlib/strtod_l.c (NDIG): Remove.
28402 (HEXNDIG): Likewise.
28403 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28404 smallest representable value.
28405 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28406 lie within an exact representation of 1/2 ulp of the result.
28407 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28409 (TENS_P9_IDX): Define unconditionally.
28410 (TENS_P9_SIZE): Likewise.
28411 (TENS_P10_IDX): Likewise.
28412 (TENS_P10_SIZE): Likewise.
28413 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28414 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28415 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28416 entries for 10^2^13 and 10^2^14.
28417 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28418 (TENS_P13_IDX): Define.
28419 (TENS_P13_SIZE): Likewise.
28420 (TENS_P14_IDX): Likewise.
28421 (TENS_P14_SIZE): Likewise.
28422 (_fpioconst_pow10): Change array size to
28423 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28425 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28426 1024]: Add entries for 10^2^13 and 10^2^14.
28427 [LAST_POW10 > _LAST_POW10]: Remove #error.
28428 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28429 (_fpioconst_pow10): Change array size to
28430 FPIOCONST_POW10_ARRAY_SIZE.
28431 * stdlib/gen-fpioconst.c: New file.
28432 * stdlib/gen-tst-strtod-round.c: Likewise.
28433 * stdlib/tst-strtod-round-data: Likewise.
28434 * stdlib/tst-strtod-round.c: Likewise.
28435 * stdlib/Makefile (tests): Add tst-strtod-round.
28438 * stdlib/strtod_l.c: Include <stdint.h>.
28439 (NDEBUG): Do not define.
28440 (round_and_return): Change EXPONENT parameter to type intmax_t.
28441 Rearrange calculations to avoid internal overflow possibilities.
28442 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28443 Rearrange calculations to avoid internal overflow possibilities.
28444 Assert that number fits inside MPNSIZE limbs.
28445 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28446 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28447 calculations and add assertions to avoid internal overflow
28448 possibilities. Add casts to avoid signed/unsigned operations.
28449 * stdlib/tst-strtod-overflow.c: New file.
28450 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28452 2012-08-25 Marek Polacek <polacek@redhat.com>
28454 * time/time.h: Fix some typos in comments.
28456 2012-08-23 Roland McGrath <roland@hack.frob.com>
28458 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28459 * posix/tst-rfc3484-2.c: Likewise.
28460 * posix/tst-rfc3484-3.c: Likewise.
28462 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28464 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28465 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28467 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28469 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28470 #include of fxstatat64.c.
28472 2012-08-22 Roland McGrath <roland@hack.frob.com>
28474 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28475 * shadow/getspent_r.c: Likewise.
28476 * shadow/getspnam.c: Likewise.
28477 * shadow/getspnam_r.c: Likewise.
28478 * gshadow/getsgent.c: Likewise.
28479 * gshadow/getsgent_r.c: Likewise.
28480 * gshadow/getsgnam.c: Likewise.
28481 * gshadow/getsgnam_r.c: Likewise.
28482 * inet/getnetbyad.c: Likewise.
28483 * inet/getnetbyad_r.c: Likewise.
28484 * inet/getnetbynm.c: Likewise.
28485 * inet/getnetbynm_r.c: Likewise.
28486 * inet/getnetent.c: Likewise.
28487 * inet/getnetent_r.c: Likewise.
28488 * inet/getproto.c: Likewise.
28489 * inet/getproto_r.c: Likewise.
28490 * inet/getprtent.c: Likewise.
28491 * inet/getprtent_r.c: Likewise.
28492 * inet/getprtname.c: Likewise.
28493 * inet/getprtname_r.c: Likewise.
28494 * inet/getrpcbyname.c: Likewise.
28495 * inet/getrpcbyname_r.c: Likewise.
28496 * inet/getrpcbynumber.c: Likewise.
28497 * inet/getrpcbynumber_r.c: Likewise.
28498 * inet/getrpcent.c: Likewise.
28499 * inet/getrpcent_r.c: Likewise.
28500 * inet/getaliasent.c: Likewise.
28501 * inet/getaliasent_r.c: Likewise.
28502 * inet/getaliasname.c: Likewise.
28503 * inet/getaliasname_r.c: Likewise.
28504 * nscd/getgrgid_r.c: Likewise.
28505 * nscd/getgrnam_r.c: Likewise.
28506 * nscd/gethstbyad_r.c: Likewise.
28507 * nscd/gethstbynm3_r.c: Likewise.
28508 * nscd/getpwnam_r.c: Likewise.
28509 * nscd/getpwuid_r.c: Likewise.
28510 * nscd/getsrvbynm_r.c: Likewise.
28511 * nscd/getsrvbypt_r.c: Likewise.
28512 * nscd/gai.c: Likewise.
28514 * configure.in (build_nscd): New substituted variable, set
28515 by --disable-build-nscd and defaults to $use_nscd.
28516 * configure: Regenerated.
28517 * config.make.in (build-nscd): New substituted variable.
28518 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28519 Change conditional to require [$(build-nscd) = yes] as well.
28520 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28523 * configure.in (use_nscd): New substituted variable, set by
28524 --disable-nscd. If enabled, define USE_NSCD.
28525 * configure: Regenerated.
28526 * config.h.in: Add USE_NSCD.
28527 * config.make.in (use-nscd): New substituted variable.
28528 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28529 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28530 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28531 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28532 (CFLAGS-getgrnam_r.c): Likewise.
28533 (CFLAGS-initgroups.c): Likewise.
28534 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28535 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28537 * inet/getnetgrent_r.c
28538 (nscd_setnetgrent): New function, broken out of ...
28539 (setnetgrent): ... here. Call it.
28540 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28541 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28542 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28543 * nscd/Makefile (routines, aux): Move definitions after include of
28544 Makeconfig. Conditionalize on [$(use-nscd) != no].
28545 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28546 Conditionalize on [USE_NSCD].
28547 (is_nscd, nscd_init_cb): Likewise.
28548 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28549 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28550 * nss/nss_db/db-init.c: Likewise.
28551 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28553 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28554 (make_request): Use it.
28555 (cache_valid_p): New function.
28556 (__check_pf): Use it.
28557 * NEWS: Add item for --disable-nscd.
28559 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28561 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28562 to support sed >= 4.2.1-20-ga9bf076.
28563 * configure: Regenerated.
28565 2012-08-22 Roland McGrath <roland@hack.frob.com>
28567 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28568 Conditionalize whole body on [IREL].
28570 2012-08-22 Jeff Law <law@redhat.com>
28573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28574 if the family is PF_UNSPEC.
28576 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28578 * Makerules (lib-version): Rename from V.
28579 (install-lib-nosubdir): Change V to lib-version.
28581 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28584 * powerpc32/power6/wcschr.c: New file.
28585 * powerpc32/power6/wcscpy.c: New file.
28586 * powerpc32/power6/wcsrchr.c: New file.
28587 * powerpc64/power6/wcschr.c: New file.
28588 * powerpc64/power6/wcscpy.c: New file.
28589 * powerpc64/power6/wcsrchr.c: New file.
28591 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28593 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28594 (two_way_short_needle): Use it.
28595 * string/strstr.c (AVAILABLE1_USES_J): Define.
28596 * string/strcasestr.c: Likewise.
28598 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28600 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28603 * NEWS: Add an entry.
28604 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28605 define their defaults.
28606 (two_way_short_needle): Detect end-of-string on-the-fly.
28607 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28608 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28609 * string/bug-strcasestr1.c: New test.
28610 * string/Makefile: Run it.
28612 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28615 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28616 the first character.
28618 2012-08-21 Roland McGrath <roland@hack.frob.com>
28620 * csu/elf-init.c (__libc_csu_irel): Function removed.
28621 * csu/libc-start.c (apply_irel): New function.
28622 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28624 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28626 * sysdeps/unix/sysv/linux/kernel-features.h
28627 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28628 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28629 <kernel-features.h>.
28630 [__NR_fadvise64_64]: Make code unconditional.
28631 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28632 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28633 !__NR_fadvise64_64)]: Likewise.
28634 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28635 !__NR_fadvise64_64))]: Likewise.
28636 [__NR_fadvise64]: Make code unconditional.
28637 [!__NR_fadvise64]: Remove conditional code.
28638 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28639 <kernel-features.h>.
28640 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28642 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28645 not include <kernel-features.h>.
28646 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28648 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28650 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28651 include <kernel-features.h>.
28652 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28654 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28657 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28659 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28660 slight instruction rearrangements per scrollpipe analysis.
28661 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28663 2012-08-20 Roland McGrath <roland@hack.frob.com>
28665 * manual/syslog.texi (syslog; vsyslog, closelog):
28666 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28667 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28669 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28670 DSOCAPS to match condition on defining it.
28672 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28674 * sysdeps/unix/sysv/linux/kernel-features.h
28675 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28680 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28681 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28683 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28684 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28686 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28687 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28689 * sysdeps/unix/sysv/linux/kernel-features.h
28690 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28691 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28693 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28694 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28695 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28696 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28697 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28698 Make code unconditional.
28699 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28700 (__mmap64) [!__NR_mmap2]: Likewise.
28701 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28702 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28703 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28704 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28705 [__NR_mmap2]: Make code unconditional.
28706 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28707 (__mmap64) [!__NR_mmap2]: Likewise.
28709 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28711 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28713 2012-08-18 Andreas Jaeger <aj@suse.de>
28715 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28717 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28719 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28720 * include/unistd.h (__have_sock_cloexec): Likewise.
28721 (__have_pipe2): Likewise.
28722 (__have_dup3): Likewise.
28724 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28727 * include/unistd.h (__have_pipe2): Change define into an extern int.
28728 (__have_dup3): Likewise.
28729 * socket/have_sock_cloexec.c: Include fcntl.h.
28730 (__have_pipe2): New variable.
28731 (__have_dup3): Likewise.
28733 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28735 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28737 2012-08-17 Marek Polacek <polacek@redhat.com>
28739 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28740 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28742 2012-08-17 Roland McGrath <roland@hack.frob.com>
28744 * configure.in: Add AC_SUBST for sysheaders.
28745 * configure: Regenerated.
28746 * config.make.in (sysheaders): New substituted variable.
28748 * sysdeps/unix/mkfifo.c: Moved ...
28749 * sysdeps/posix/mkfifo.c: ... here.
28750 * sysdeps/unix/mkfifoat.c: Moved ...
28751 * sysdeps/posix/mkfifoat.c: ... here.
28753 * sysdeps/unix/utime.c: Moved ...
28754 * sysdeps/posix/utime.c: ... here.
28756 * sysdeps/unix/time.c: Moved ...
28757 * sysdeps/posix/time.c: ... here.
28758 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28759 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28761 * sysdeps/unix/nice.c: Moved ...
28762 * sysdeps/posix/nice.c: ... here.
28764 * sysdeps/unix/alarm.c: Moved ...
28765 * sysdeps/posix/alarm.c: ... here.
28767 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28769 2012-08-17 Jeff Law <law@redhat.com>
28771 * intl/Makefile (codeset_mo): New variable.
28772 ($(codeset_mo)): New target.
28773 (tst-codeset.out): Depend on that. Remove explicit rule.
28774 (tst-gettext3.out, tst-gettext5.out): Likewise.
28775 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28776 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28777 * intl/tst-codeset.sh: Remove.
28778 * intl/tst-gettext3.sh: Likewise.
28779 * intl/tst-gettext5.sh: Likewise.
28781 2012-08-17 Roland McGrath <roland@hack.frob.com>
28783 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28784 * sysdeps/unix/syscalls.list: ... here.
28786 * sysdeps/posix/getaddrinfo.c
28787 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28788 (gaiconf_init, gaiconf_reload): Use them.
28789 [!_STATBUF_ST_NSEC]
28790 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28791 Define using time_t rather than struct timespec.
28793 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28794 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28796 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28798 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28799 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28802 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28803 __libc_cleanup_push argument.
28805 * bits/param.h: New file.
28806 * misc/sys/param.h: New file.
28807 * include/sys/param.h: New file.
28808 * misc/Makefile (headers): Add bits/param.h.
28809 * sysdeps/generic/sys/param.h: File removed.
28810 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28811 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28812 * sysdeps/mach/hurd/bits/param.h: New file.
28813 * sysdeps/mach/hurd/sys/param.h: File removed.
28815 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28818 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28820 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28821 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28824 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28825 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28826 rather than -D_IO_MTSAFE_IO conditionally.
28827 * stdio-common/Makefile (CPPFLAGS): Likewise.
28828 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28829 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28830 Use $(libio-mtsafe).
28831 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28832 of -D_IO_MTSAFE_IO.
28833 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28834 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28835 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28836 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28837 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28838 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28839 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28840 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28841 (CFLAGS-fread_u_chk.c): Likewise.
28842 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28843 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28844 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28845 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28846 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28847 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28848 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28849 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28850 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28852 * libio/Makefile: Test [$(libc-reentrant) = yes]
28853 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28856 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28857 * sysdeps/pthread/configure: File removed.
28858 * sysdeps/pthread/Makeconfig: New file.
28859 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28860 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28862 2012-08-16 Gary Benson <gbenson@redhat.com>
28864 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28865 unmapping the first object in a namespace.
28867 2012-08-16 Roland McGrath <roland@hack.frob.com>
28869 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28870 (__internal_setnetgrent): ... this. Add internal_function to
28871 definition. Add libc_hidden_def.
28872 (setnetgrent): Update caller.
28873 (internal_endnetgrent): Renamed to ...
28874 (__internal_endnetgrent): ... this. Add internal_function to
28875 definition. Add libc_hidden_def.
28876 (endnetgrent): Update caller.
28877 (internal_getnetgrent_r): Renamed to ...
28878 (__internal_getnetgrent_r): ... this. Add internal_function to
28879 definition. Add libc_hidden_def.
28880 (__getnetgrent_r): Update caller.
28881 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28883 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28885 * stdlib/longlong.h: Update from GCC.
28887 2012-08-16 Roland McGrath <roland@hack.frob.com>
28889 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28890 on _QL, which is set by umul_ppmm but never used.
28891 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28892 variables, which are set by GMP macros but never used.
28893 * stdio-common/_itowa.c (_itowa): Likewise.
28894 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28895 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28897 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28899 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28900 struct La_sh_regs is not constant.
28901 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28902 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28903 and struct La_sparc64_regs are not constant.
28905 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28907 * sysdeps/unix/sysv/linux/kernel-features.h
28908 (__ASSUME_POSIX_TIMERS): Remove.
28909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28911 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28912 Make code unconditional.
28913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28914 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28915 Make code unconditional.
28916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28917 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28918 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28920 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28921 Make code unconditional.
28922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28923 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28924 (__libc_missing_posix_timers): Remove.
28926 2012-08-15 Roland McGrath <roland@hack.frob.com>
28928 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28929 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28931 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28933 * elf/dl-sym.c: Include <stdlib.h>.
28935 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28936 constants, which avoids warnings in 32-bit builds.
28938 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28939 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28941 * misc/lseek.c: File moved to ...
28942 * io/lseek.c: ... here.
28944 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28946 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28947 shifting LEN more than 31 bits at once.
28949 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28952 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28953 segmentation fault for a case of two empty input strings.
28954 * string/test-strncasecmp.c (check1): Renamed to...
28955 (bz12205): ...this.
28956 (bz14195): Add new testcase for two empty input strings and N > 0.
28957 (test_main): Call new testcase, adapt for renamed function.
28959 2012-08-15 Andreas Jaeger <aj@suse.de>
28962 * crypt/md5test2.c: New test, based on test supplied by Serge
28963 Belyshev <belyshev@depni.sinp.msu.ru>.
28964 * crypt/Makefile (xtests): Add md5test-giant..
28965 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28967 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28970 * crypt/md5.c (md5_process_block): Don't assume the buffer
28971 length is less than 2**32.
28972 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28973 length is less than 2**64.
28975 2012-08-15 Roland McGrath <roland@hack.frob.com>
28977 * string/str-two-way.h: Include <sys/param.h>.
28978 (MAX): Macro removed.
28980 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28981 Move #define and #undef of memmove to just before and after
28982 including <string.h>.
28984 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28985 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28986 and after including <string.h>. Move declarations of
28987 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28988 to before #include "string/memmove.c".
28990 * include/dirent.h: Declare __getdirentries.
28992 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28993 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28995 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28997 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28998 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28999 * sysdeps/i386/configure: Regenerated.
29000 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29001 STABS_CURRENT_FILE, and STABS_FUN.
29002 (END): Remove call to STABS_FUN_END.
29003 (STABS_CURRENT_FILE1): Delete.
29004 (STABS_CURRENT_FILE): Likewise.
29005 (STABS_FUN): Likewise.
29006 (STABS_FUN_END): Likewise.
29007 (STABS_FUN2): Likewise.
29008 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29009 * sysdeps/x86_64/configure: Regenerated.
29011 2012-08-14 Roland McGrath <roland@hack.frob.com>
29013 * elf/dl-open.c: Include <atomic.h>.
29014 * elf/dl-lookup.c: Likewise.
29016 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29018 * sysdeps/unix/sysv/linux/kernel-features.h
29019 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29020 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29022 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29024 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29025 condition on __ASSUME_CLONE_THREAD_FLAGS.
29027 2012-08-14 Andreas Jaeger <aj@suse.de>
29029 * sysdeps/i386/fpu/libm-test-ulps: Update.
29031 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29033 * include/atomic.h (atomic_exchange_and_add): Split into ...
29034 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29037 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29041 2012-08-13 Jeff Law <law@redhat.com>
29043 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29044 null byte in the output string.
29046 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29048 * sysdeps/unix/sysv/linux/kernel-features.h
29049 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29050 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29051 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29052 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29053 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29054 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29055 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29057 2012-08-09 Jeff Law <law@redhat.com>
29060 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29061 When avoid_arena is set, don't retry in the that arena. Pick the
29062 next one, whatever it might be.
29063 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29064 (arena_lock): Pass in new parameter to arena_get2.
29065 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29067 (__libc_malloc): Unify retrying after main arena failure with
29068 __libc_memalign version.
29069 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29071 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29074 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29075 to __redirect_strstr.
29076 (__strstr_sse42): Use typeof __redirect_strstr.
29077 (__strstr_ia32): Likewise.
29078 (__libc_strstr): New prototype.
29079 (strstr): Renamed to ...
29080 (__libc_strstr): This.
29081 (strstr): New strong alias of __libc_strstr.
29082 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29083 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29086 (__libc_time): New prototype.
29087 (time_ifunc): Replace time with __libc_time.
29088 (time): New strong alias and hidden definition of __libc_time.
29089 (__GI_time): Remove strong alias.
29090 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29091 Include <stddef.h>.
29092 (memmove): Redefined to __redirect_memmove.
29093 (__memmove_sse2): Use typeof __redirect_memmove.
29094 (__memmove_ssse3): Likewise.
29095 (__memmove_ssse3_back): Likewise.
29096 (__libc_memmove): New prototype.
29097 (memmove): Renamed to ...
29098 (__libc_memmove): This.
29099 (memmove): New strong alias of __libc_memmove.
29101 2012-08-08 Mark Salter <msalter@redhat.com>
29104 (R_MN10300_TLS_GD): Define.
29105 (R_MN10300_TLS_LD): Likewise.
29106 (R_MN10300_TLS_LDO): Likewise.
29107 (R_MN10300_TLS_GOTIE): Likewise.
29108 (R_MN10300_TLS_IE): Likewise.
29109 (R_MN10300_TLS_LE): Likewise.
29110 (R_MN10300_TLS_DTPMOD): Likewise.
29111 (R_MN10300_TLS_DTPOFF): Likewise.
29112 (R_MN10300_TLS_TPOFF): Likewise.
29113 (R_MN10300_SYM_DIFF): Likewise.
29114 (R_MN10300_ALIGN): Likewise.
29115 (R_MN10300_NUM): Update.
29117 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29119 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29122 2012-08-08 Roland McGrath <roland@hack.frob.com>
29124 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29126 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29127 sysdeps/unix -> sysdeps/posix move.
29128 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29130 2012-08-07 Allan McRae <allan@archlinux.org>
29133 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29134 (SUNOS_CPP): Likewise.
29135 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29137 (open_input): Call CPP using execvp.
29139 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29141 * sysdeps/unix/sysv/linux/kernel-features.h
29142 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29143 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29144 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29145 (__ASSUME_WAITID_SYSCALL): Likewise.
29146 * sysdeps/unix/sysv/linux/dl-execstack.c
29147 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29148 code unconditional.
29149 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29151 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29152 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29153 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29155 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29157 [__ASSUME_WAITID_SYSCALL]: Likewise.
29158 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29160 2012-08-07 Roland McGrath <roland@hack.frob.com>
29162 * sysdeps/unix/closedir.c: Renamed to ...
29163 * sysdeps/posix/closedir.c: ... here.
29164 * sysdeps/unix/dirfd.c: Renamed to ...
29165 * sysdeps/posix/dirfd.c: ... here.
29166 * sysdeps/unix/dirstream.h: Renamed to ...
29167 * sysdeps/posix/dirstream.h: ... here.
29168 * sysdeps/unix/fdopendir.c: Renamed to ...
29169 * sysdeps/posix/fdopendir.c: ... here.
29170 * sysdeps/unix/opendir.c: Renamed to ...
29171 * sysdeps/posix/opendir.c: ... here.
29172 * sysdeps/unix/readdir.c: Renamed to ...
29173 * sysdeps/posix/readdir.c: ... here.
29174 * sysdeps/unix/readdir_r.c: Renamed to ...
29175 * sysdeps/posix/readdir_r.c: ... here.
29176 * sysdeps/unix/rewinddir.c: Renamed to ...
29177 * sysdeps/posix/rewinddir.c: ... here.
29178 * sysdeps/unix/seekdir.c: Renamed to ...
29179 * sysdeps/posix/seekdir.c: ... here.
29180 * sysdeps/unix/telldir.c: Renamed to ...
29181 * sysdeps/posix/telldir.c: ... here.
29182 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29183 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29184 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29185 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29187 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29188 * bits/fcntl.h: ... here.
29190 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29192 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29193 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29194 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29195 (struct flock): Move l_start, l_len to the beginning.
29196 Use __pid_t for l_pid.
29197 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29198 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29199 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29200 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29201 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29202 [__USE_LARGEFILE64] (struct flock64): New type.
29203 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29205 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29206 * bits/dirent.h: ... here.
29208 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29209 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29211 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29213 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29214 Change from 2.6.0 to 2.6.16.
29215 * sysdeps/unix/sysv/linux/configure: Regenerated.
29216 * sysdeps/unix/sysv/linux/kernel-features.h
29217 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29218 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29220 (__ASSUME_UTIMES): Likewise.
29221 (__ASSUME_CLONE_STOPPED): Remove.
29222 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29223 architectures, not kernel version.
29224 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29225 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29226 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29227 (__ASSUME_WAITID_SYSCALL): Likewise.
29228 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29229 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29230 * README: State 2.6.16 as minimum Linux kernel version. Do not
29231 refer to older versions.
29233 2012-08-06 Roland McGrath <roland@hack.frob.com>
29235 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29236 Define alphasort64 as an alias.
29237 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29238 Define versionsort64 as an alias.
29239 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29240 Define scandir64 as an alias.
29241 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29242 Define scandirat64 as an alias.
29243 * dirent/alphasort64.c (alphasort64):
29244 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29245 * dirent/versionsort64.c: Likewise.
29246 * dirent/scandir64.c: Likewise.
29247 * dirent/scandirat64.c: Likewise.
29248 * sysdeps/wordsize-64/alphasort.c: File removed.
29249 * sysdeps/wordsize-64/alphasort64.c: File removed.
29250 * sysdeps/wordsize-64/scandir.c: File removed.
29251 * sysdeps/wordsize-64/scandir64.c: File removed.
29252 * sysdeps/wordsize-64/scandirat.c: File removed.
29253 * sysdeps/wordsize-64/scandirat64.c: File removed.
29254 * sysdeps/wordsize-64/versionsort.c: File removed.
29255 * sysdeps/wordsize-64/versionsort64.c: File removed.
29256 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29258 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29260 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29262 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29263 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29265 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29267 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29269 [defined __arch64__ || defined __sparcv9]
29270 (__INO_T_MATCHES_INO64_T): New macro.
29271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29272 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29273 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29274 * sysdeps/unix/sysv/linux/bits/dirent.h
29275 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29276 (_DIRENT_MATCHES_DIRENT64): New macro.
29278 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29279 Define lockf64 as an alias.
29280 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29281 Define fseeko64 as an alias.
29282 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29283 Define ftello64 as an alias.
29284 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29285 Define _IO_fgetpos64 and fgetpos64 as aliases.
29286 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29287 Define _IO_fsetpos64 and fsetpos64 as aliases.
29288 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29289 Conditionalize body on this.
29290 * libio/fseeko64.c: Likewise.
29291 * libio/ftello64.c: Likewise.
29292 * libio/iofgetpos64.c: Likewise.
29293 * libio/iofsetpos64.c: Likewise.
29294 * sysdeps/wordsize-64/lockf.c: File removed.
29295 * sysdeps/wordsize-64/lockf64.c: File removed.
29296 * sysdeps/wordsize-64/fseeko.c: File removed.
29297 * sysdeps/wordsize-64/fseeko64.c: File removed.
29298 * sysdeps/wordsize-64/ftello.c: File removed.
29299 * sysdeps/wordsize-64/ftello64.c: File removed.
29300 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29301 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29302 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29303 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29304 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29305 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29306 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29308 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29310 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29312 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29313 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29315 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29317 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29319 [defined __arch64__ || defined __sparcv9]
29320 (__OFF_T_MATCHES_OFF64_T): New macro.
29321 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29322 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29324 (__OFF_T_MATCHES_OFF64_T): New macro.
29326 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29328 * stdlib/secure-getenv.c (__secure_getenv): Replace
29329 GLIBC_2_16 with GLIBC_2_17.
29331 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29333 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29334 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29336 2012-08-03 David S. Miller <davem@davemloft.net>
29338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29340 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29344 (__ASSUME_CORRECT_SI_PID): Likewise.
29345 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29346 (__ASSUME_TMPFS_NAME): Likewise.
29347 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29348 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29349 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29350 (HAVE_AUX_SECURE): Make definition unconditional.
29351 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29352 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29354 2012-08-03 Roland McGrath <roland@hack.frob.com>
29356 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29357 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29358 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29359 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29360 __eloop_threshold instead of SYMLOOP_MAX.
29362 * sysdeps/generic/eloop-threshold.h: New file.
29363 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29365 * elf/chroot_canon.c (chroot_canon): Likewise.
29367 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29371 Change to 2.6.0 everywhere.
29372 * sysdeps/unix/sysv/linux/configure: Regenerated.
29373 * sysdeps/unix/sysv/linux/kernel-features.h
29374 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29375 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29377 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29378 (__ASSUME_FUTEX_REQUEUE): Remove.
29379 (__ASSUME_STATFS64): Define unconditionally.
29380 (__ASSUME_AT_SECURE): Likewise.
29381 (__ASSUME_CORRECT_SI_PID): Likewise.
29382 (__ASSUME_TGKILL): Define without depending on kernel version for
29384 (__ASSUME_UTIMES): Likewise.
29385 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29387 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29388 (__ASSUME_TMPFS_NAME): Likewise.
29389 * README: Update reference to Linux kernel versions.
29391 2012-08-02 Marek Polacek <polacek@redhat.com>
29394 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29395 libc_cv_asm_type_prefix with %.
29396 * configure: Regenerated.
29397 * include/libc-symbols.h: Remove comment about
29398 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29399 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29400 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29401 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29402 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29403 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29404 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29405 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29406 * elf/tst-unique2mod1.c: Likewise.
29407 * elf/tst-unique1mod2.c: Likewise.
29408 * elf/tst-unique1mod1.c: Likewise.
29409 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29410 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29411 Replace ASM_TYPE_DIRECTIVE with .type.
29412 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29413 * sysdeps/i386/sysdep.h: Likewise.
29414 * sysdeps/x86_64/sysdep.h: Likewise.
29415 * sysdeps/sh/sysdep.h: Likewise.
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29417 Do not define ASM_TYPE_DIRECTIVE.
29418 * sysdeps/powerpc/sysdep.h: Likewise.
29419 * sysdeps/powerpc/powerpc32/sysdep.h:
29420 Replace ASM_TYPE_DIRECTIVE with .type.
29421 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29422 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29423 * sysdeps/i386/fpu/e_powf.S: Likewise.
29424 * sysdeps/i386/fpu/e_expl.S: Likewise.
29425 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29427 * sysdeps/i386/fpu/e_pow.S: Likewise.
29428 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29430 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29431 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29432 * sysdeps/i386/fpu/e_log2.S: Likewise.
29433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29435 * sysdeps/i386/fpu/e_powl.S: Likewise.
29436 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29437 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29438 * sysdeps/i386/fpu/e_logl.S: Likewise.
29439 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29440 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29441 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29442 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29443 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29444 * sysdeps/i386/fpu/e_log.S: Likewise.
29445 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29446 * sysdeps/i386/fpu/e_logf.S: Likewise.
29447 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29448 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29449 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29450 * sysdeps/i386/fpu/e_log10.S: Likewise.
29451 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29452 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29453 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29454 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29455 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29456 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29457 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29458 * sysdeps/i386/i686/strtok.S: Likewise.
29459 * sysdeps/i386/i386-mcount.S: Likewise.
29460 * sysdeps/i386/strtok.S: Likewise.
29461 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29462 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29463 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29465 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29466 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29467 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29468 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29469 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29470 * sysdeps/x86_64/_mcount.S: Likewise.
29471 * sysdeps/x86_64/strtok.S: Likewise.
29472 * sysdeps/sh/_mcount.S: Likewise.
29474 2012-08-01 Roland McGrath <roland@hack.frob.com>
29476 * libio/iofopen.c: Include <fcntl.h>.
29477 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29478 (_IO_fopen64, fopen64): Define as aliases.
29479 * libio/iofopen64.c: Include <fcntl.h>.
29480 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29481 Conditionalize body on this.
29482 * sysdeps/wordsize-64/iofopen.c: File removed.
29483 * sysdeps/wordsize-64/iofopen64.c: File removed.
29485 2012-08-01 Marek Polacek <polacek@redhat.com>
29487 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29488 Use dlfcn directly instead of a variable.
29489 (binfmt-subdir): Do not define.
29492 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29494 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29495 Remove all definitions.
29496 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29497 <kernel-features.h>.
29498 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29499 (miss_F_GETOWN_EX): Remove all definitions.
29500 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29502 [!__ASSUME_FCNTL64]: Remove conditional code.
29503 [__ASSUME_FCNTL64]: Make code unconditional.
29504 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29505 <kernel-features.h>.
29506 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29507 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29508 (lockf64) [__NR_fcntl64]: Make code unconditional.
29509 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29511 * sysdeps/unix/sysv/linux/kernel-features.h
29512 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29513 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29514 Make code unconditional.
29515 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29516 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29518 [__NR_vfork]: Make code unconditional.
29519 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29520 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29522 [__NR_vfork]: Make code unconditional.
29523 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29524 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29526 2012-08-01 Roland McGrath <roland@hack.frob.com>
29528 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29529 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29531 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29532 Define mkstemp64 as an alias.
29533 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29534 Define mkstemps64 as an alias.
29535 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29536 Define mkostemp64 as an alias.
29537 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29538 Define mkostemps64 as an alias.
29539 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29540 Conditionalize body on this.
29541 * misc/mkostemp64.c: Likewise.
29542 * misc/mkostemps64.c: Likewise.
29543 * misc/mkstemps64.c: Likewise.
29544 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29545 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29546 * sysdeps/wordsize-64/mkostemp.c: File removed.
29547 * sysdeps/wordsize-64/mkstemp.c: File removed.
29548 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29554 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29555 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29556 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29557 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29559 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29560 compat_symbol macros from <shlib-compat.h> rather than the underlying
29561 default_symbol_version and symbol_version macros, so that DEFAULT
29562 lines in shlib-versions are respected.
29563 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29565 2012-08-01 Florian Weimer <fweimer@redhat.com>
29567 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29568 Declare with warn_unused_result.
29569 (setgid, setregid, setegid, setresgid): Likewise.
29570 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29572 * WUR-REPORT: Remove set*id functions.
29574 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29576 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29578 2012-07-31 Roland McGrath <roland@hack.frob.com>
29581 * include/sys/socket.h (__libc_accept, __libc_accept4):
29582 Add attribute_hidden.
29583 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29585 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29587 * inet/getnetgrent_r.c (setup): Likewise.
29589 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29591 2012-07-31 David S. Miller <davem@davemloft.net>
29593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29595 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29598 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29599 value between 1.0 and 2.0 and smaller part has absolute value less
29601 * math/s_clog10.c (__clog10): Likewise.
29602 * math/s_clog10f.c (__clog10f): Likewise.
29603 * math/s_clog10l.c (__clog10l): Likewise.
29604 * math/s_clogf.c (__clogf): Likewise.
29605 * math/s_clogl.c (__clogl): Likewise.
29606 * math/libm-test.inc (clog_test): Add more tests.
29607 (clog10_test): Likewise.
29608 * sysdeps/i386/fpu/libm-test-ulps: Update.
29609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29611 2012-07-31 Florian Weimer <fweimer@redhat.com>
29613 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29614 Exit with zero in case no suitable GID is found, and write a
29615 message to standard error.
29617 2012-07-30 Roland McGrath <roland@hack.frob.com>
29619 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29621 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29622 (MAXPATHLEN): Removed.
29623 (NOGROUP, NODEV): New macros.
29624 (setbit, clrbit, isset, isclr): New macros.
29625 (howmany, roundup, powerof2): New macros.
29626 (DEV_BSIZE): New macro.
29628 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29629 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29631 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29632 definition on [!__NO_LONG_DOUBLE_MATH].
29634 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29635 PTR_MANGLE and PTR_DEMANGLE.
29637 * socket/accept4.c (accept4): Rename to __libc_accept4.
29638 Define accept4 as a weak alias.
29640 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29641 on [_DIRENT_HAVE_D_TYPE].
29642 * io/ftw.c (ftw_dir): Likewise.
29644 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29646 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29648 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29649 Use the BSD numbers rather than the arbitrary ones we had.
29650 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29651 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29652 (SIGXCPU, SIGXFSZ): New macros.
29655 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29656 initializer on [_LIBC_REENTRANT].
29658 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29659 definitions inside [_POSIX_MAPPED_FILES].
29661 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29663 * dirent/opendir.c: Include <fcntl.h>.
29665 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29666 (__libc_getspecific): Likewise.
29667 (__libc_key_create): Likewise.
29669 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29670 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29671 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29672 (tmpfile64): Define as alias.
29673 * sysdeps/wordsize-64/tmpfile.c: File removed.
29674 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29675 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29676 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29678 * stdio-common/vfscanf.c: Include <stdbool.h>.
29679 * nss/makedb.c: Likewise.
29680 * stdio-common/_i18n_number.h: Likewise.
29681 * argp/argp-help.c: Likewise.
29682 * posix/wordexp.c: Likewise.
29683 * sysdeps/posix/spawni.c: Likewise.
29684 * nss/nss_files/files-initgroups.c: Likewise.
29685 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29686 * nss/nss_files/files-initgroups.c: Likewise.
29687 * nss/nss_db/db-netgrp.c: Likewise.
29688 * nss/nss_db/db-initgroups.c: Likewise.
29689 * io/fchmodat.c: Include <sys/stat.h>.
29691 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29692 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29694 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29697 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29698 Add multiple inclusion protection.
29700 2012-07-27 David S. Miller <davem@davemloft.net>
29702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29704 2012-07-27 Gary Benson <gbenson@redhat.com>
29707 * elf/rtld.c: Include <stap-probe.h>.
29708 (dl_main): Added static probes "init_start" and "init_complete".
29709 * elf/dl-load.c: Include <stap-probe.h>.
29710 (lose): Take new parameter "nsid".
29711 Added static probe "map_failed".
29712 (_dl_map_object_from_fd): Pass namespace id to lose.
29713 Added static probe "map_start".
29714 (open_verify): Pass namespace id to lose.
29715 * elf/dl-open.c: Include <stap-probe.h>.
29716 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29717 and "reloc_complete".
29718 * elf/dl-close.c: Include <stap-probe.h>.
29719 (_dl_close_worker): Added static probes "unmap_start" and
29721 * elf/rtld-debugger-interface.txt: New file documenting the above.
29723 2012-07-26 Roland McGrath <roland@hack.frob.com>
29725 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29726 rather than a string variable.
29727 * sunrpc/rpc_main.c (h_output): Likewise.
29728 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29730 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29732 * inet/check_native.c: New file.
29734 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29737 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29738 if larger part has absolute value 1.0.
29739 * math/s_clog10.c (__clog10): Likewise.
29740 * math/s_clog10f.c (__clog10f): Likewise.
29741 * math/s_clog10l.c (__clog10l): Likewise.
29742 * math/s_clogf.c (__clogf): Likewise.
29743 * math/s_clogl.c (__clogl): Likewise.
29744 * math/libm-test.inc (clog_test): Add more tests.
29745 (clog10_test): Likewise.
29746 * sysdeps/i386/fpu/libm-test-ulps: Update.
29747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29749 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29750 (pltexit): Likewise.
29751 (La_regs): Likewise.
29752 (La_retval): Likewise.
29753 (int_retval): Likewise.
29754 Update #error for removed macros to refer only to definitions in
29756 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29758 (pltexit): Likewise.
29759 (La_regs): Likewise.
29760 (La_retval): Likewise.
29761 (int_retval): Likewise.
29762 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29764 (pltexit): Likewise.
29765 (La_regs): Likewise.
29766 (La_retval): Likewise.
29767 (int_retval): Likewise.
29768 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29770 (pltexit): Likewise.
29771 (La_regs): Likewise.
29772 (La_retval): Likewise.
29773 (int_retval): Likewise.
29774 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29776 (pltexit): Likewise.
29777 (La_regs): Likewise.
29778 (La_retval): Likewise.
29779 (int_retval): Likewise.
29780 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29782 (pltexit): Likewise.
29783 (La_regs): Likewise.
29784 (La_retval): Likewise.
29785 (int_retval): Likewise.
29786 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29788 (pltexit): Likewise.
29789 (La_regs): Likewise.
29790 (La_retval): Likewise.
29791 (int_retval): Likewise.
29792 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29793 macro definitions in tst-audit.h.
29794 * sysdeps/i386/tst-audit.h: New file.
29795 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29796 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29797 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29798 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29799 * sysdeps/sh/tst-audit.h: Likewise.
29800 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29801 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29802 * sysdeps/x86_64/tst-audit.h: Likewise.
29804 2012-07-26 Andreas Jaeger <aj@suse.de>
29806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29809 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29810 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29811 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29813 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29814 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29815 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29817 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29820 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29822 (si_call_addr, si_syscall, si_arch): Define new macro.
29823 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29825 (si_call_addr, si_syscall, si_arch): Define new marcro.
29826 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29828 (si_call_addr, si_syscall, si_arch): Define new macro.
29829 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29831 (si_call_addr, si_syscall, si_arch): Define new macro.
29833 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29836 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29837 Change to 2.4.21 where previously 2.4.1.
29838 * sysdeps/unix/sysv/linux/configure: Regenerated.
29839 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29840 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29841 Linux kernel version.
29842 (__ASSUME_STD_AUXV): Remove.
29843 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29845 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29846 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29847 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29848 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29849 (__ASSUME_NETLINK_SUPPORT): Likewise.
29850 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29851 (__no_netlink_support): Remove conditional definition.
29852 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29854 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29855 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29856 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29857 (if_nameindex_ioctl): Remove.
29858 (if_nameindex_netlink): Do not handle __no_netlink_support.
29859 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29861 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29862 Remove conditional code.
29863 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29865 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29867 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29868 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29869 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29871 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29872 [!__ASSUME_STD_AUXV]: Remove conditional code.
29873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29874 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29875 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29877 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29878 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29880 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29882 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29883 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29885 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29887 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29890 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29893 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29894 code unconditional.
29895 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29897 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29899 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29902 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29904 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29907 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29908 code unconditional.
29909 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29911 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29913 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29916 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29917 code unconditional.
29918 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29920 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29922 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29925 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29927 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29928 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29929 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29930 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29931 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29932 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29933 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29934 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29935 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29936 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29937 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29938 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29939 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29940 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29941 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29942 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29943 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29944 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29945 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29947 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29948 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29951 2012-07-25 Florian Weimer <fweimer@redhat.com>
29953 * Versions.def: Add GLIBC_2.17.
29954 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29955 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29956 Introduce __libc_secure_getenv.
29957 * stdlib/Versions (2.17): Add secure_getenv
29958 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29959 * stdlib/secure-getenv.c: Rename __secure_getenv to
29960 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29961 symbol __secure_getenv for GLIBC_2.0.
29962 * stdlib/tst-secure-getenv.c: New.
29963 * stdlib/Makefile (tests): Add testcase.
29964 * manual/startup.texi (Environment Access): Document
29966 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29967 __libc_secure_getenv.
29968 * inet/ruserpass.c (ruserpass): Likewise.
29969 * malloc/mtrace.c (mtrace): Likewise.
29970 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29971 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29972 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29973 * sysdeps/posix/tempname.c: Likewise. Evaluate
29974 HAVE_SECURE_GETENV.
29975 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29976 __secure_getenv to __libc_secure_getenv.
29977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29990 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29992 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29993 (struct La_i86_retval): Likewise.
29994 (struct La_x86_64_regs): Likewise.
29995 (struct La_x86_64_retval): Likewise.
29996 (struct La_x32_regs): Likewise.
29997 (struct La_x32_retval): Likewise.
29998 (struct La_ppc32_regs): Likewise.
29999 (struct La_ppc32_retval): Likewise.
30000 (struct La_ppc64_regs): Likewise.
30001 (struct La_ppc64_retval): Likewise.
30002 (struct La_sh_regs): Likewise.
30003 (struct La_sh_retval): Likewise.
30004 (struct La_s390_32_regs): Likewise.
30005 (struct La_s390_32_retval): Likewise.
30006 (struct La_s390_64_regs): Likewise.
30007 (struct La_s390_64_retval): Likewise.
30008 (struct La_sparc32_regs): Likewise.
30009 (struct La_sparc32_retval): Likewise.
30010 (struct La_sparc64_regs): Likewise.
30011 (struct La_sparc64_retval): Likewise.
30012 (struct audit_ifaces): Remove architecture-specific pltenter and
30014 * sysdeps/i386/ldsodefs.h: New file.
30015 * sysdeps/powerpc/ldsodefs.h: Likewise.
30016 * sysdeps/s390/ldsodefs.h: Likewise.
30017 * sysdeps/sh/ldsodefs.h: Likewise.
30018 * sysdeps/sparc/ldsodefs.h: Likewise.
30019 * sysdeps/x86_64/ldsodefs.h: Likewise.
30021 2012-07-25 Marek Polacek <polacek@redhat.com>
30024 * math/libm-test.inc (yn_test): Add another test.
30025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30026 to ERANGE when the result is +-Inf.
30027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30028 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30029 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30030 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30032 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30034 * conform/data/time.h-data (NULL): Use macro-constant. Require
30036 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30038 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30040 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30042 * configure.in <sysdeps resolving>: Correct printing
30044 * configure: Regenerate.
30046 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30048 * math/w_ilogb.c: Include <limits.h>.
30049 * math/w_ilogbl.c: Likewise.
30051 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30053 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30054 va_copy. Document allowing for unavailable va_copy only as
30055 pre-C99 compatibility.
30056 * manual/string.texi (Copying and Concatenation): Use va_copy
30057 instead of __va_copy in concat example.
30059 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30061 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30062 (__sendto): Use create_address_port. Initialize APORT and deallocate
30065 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30066 with O_NOLINK passed to __file_name_lookup.
30068 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30069 with O_NOLINK passed to __file_name_lookup.
30071 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30072 negative N or less than NGIDS.
30074 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30075 type to string_t. Set ERANGE as errno and return it if NAME is not big
30076 enough. Use memcpy instead of strncpy.
30078 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30080 * elf/Makefile (check-data): Remove.
30081 (localplt.data): New vpath directive.
30082 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30083 instead of $(check-data).
30084 * scripts/data/localplt-generic.data: Move to ...
30085 * sysdeps/generic/localplt.data: ... here.
30086 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30087 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30088 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30091 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30094 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30097 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30100 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30103 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30107 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30109 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30110 PPC32 and PPC64 files.
30111 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30112 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30114 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30116 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30117 __makecontext_ret to ...
30118 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30119 ... here and call exit if uc_link is NULL. New file.
30120 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30121 __makecontext_ret.S.
30122 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30123 __makecontext_ret to ...
30124 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30125 ... here and call exit if uc_link is NULL. New file.
30126 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30127 __makecontext_ret.S.
30129 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30131 * elf/elf.h (R_390_IRELATIVE): New definition.
30132 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30133 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30134 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30135 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30136 (elf_machine_lazy_rel): Likewise.
30137 * sysdeps/s390/dl-irel.h: New file.
30138 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30139 * sysdeps/s390/s390-64/memset.S: New asm code.
30140 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30141 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30142 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30143 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30144 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30145 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30146 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30147 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30148 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30149 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30150 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30151 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30152 * sysdeps/s390/s390-32/memset.S: New asm code.
30153 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30155 2012-07-17 Marek Polacek <polacek@redhat.com>
30158 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30159 * sysdeps/s390/s390-64/configure.in: Likewise.
30160 * sysdeps/sparc/configure.in: Likewise.
30161 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30162 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30163 * sysdeps/i386/configure.in: Likewise.
30164 * sysdeps/x86_64/configure.in: Likewise.
30165 * sysdeps/sh/configure.in: Likewise.
30166 * sysdeps/s390/s390-32/configure: Regenerated.
30167 * sysdeps/s390/s390-64/configure: Likewise.
30168 * sysdeps/x86_64/configure: Likewise.
30169 * sysdeps/sh/configure: Likewise.
30170 * sysdeps/powerpc/powerpc64/configure: Likewise.
30171 * sysdeps/powerpc/powerpc32/configure: Likewise.
30172 * sysdeps/sparc/configure: Likwise.
30173 * sysdeps/i386/configure: Likewise.
30175 * elf/dl-open.c: Comment fixes.
30177 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30179 * Makefile [CXX] (check-data): Remove.
30180 [CXX] (c++-types.data): New vpath directive.
30181 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30182 vpath. Do not allow for C++ type data being missing.
30183 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30184 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30185 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30186 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30187 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30188 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30189 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30192 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30195 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30198 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30201 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30204 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30207 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30210 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30213 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30214 definitions to architecture-specific files.
30215 (TLS_IE): Likewise.
30216 (TLS_LD): Likewise.
30217 (TLS_GD): Likewise.
30218 * sysdeps/i386/tls-macros.h: New file.
30219 * sysdeps/powerpc/tls-macros.h: Likewise.
30220 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30221 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30222 * sysdeps/sh/tls-macros.h: Likewise.
30223 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30224 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30225 * sysdeps/x86_64/tls-macros.h: Likewise.
30227 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30229 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30230 zero value for regular exit case.
30232 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30233 (__start_context): Preserve zero value for regular exit case.
30235 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30236 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30238 * manual/setjmp.texi (setcontext): Clarify normal process
30239 termination when uc_link is the null pointer.
30240 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30243 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30245 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30246 preprocessor. Test for each exception mask separately.
30248 2012-07-16 Andreas Jaeger <aj@suse.de>
30250 * po/ru.po: Update from translation team.
30252 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30254 * conform/data/string.h-data (NULL): Use macro-constant. Require
30256 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30257 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30258 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30259 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30260 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30262 2012-07-13 Andreas Jaeger <aj@suse.de>
30264 * po/fr.po: Update from translation team.
30266 2012-07-12 Marek Polacek <polacek@redhat.com>
30269 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30270 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30273 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30276 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30277 Change to 2.4.1 where previously 2.4.0.
30278 * sysdeps/unix/sysv/linux/configure: Regenerated.
30279 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30280 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30282 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30283 (__ASSUME_AT_CLKTCK): Remove.
30284 (__ASSUME_AT_PAGESIZE): Likewise.
30285 (__ASSUME_AT_XID): Likewise.
30286 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30287 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30288 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30290 (HAVE_AUX_PAGESIZE): Likewise.
30291 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30292 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30293 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30295 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30299 the temporary buffer used to invoke __gethostbyname2_r,
30300 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30301 host_data / struct gaih_addrtuple.
30302 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30303 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30304 header file nss/nsswitch.h.
30305 * nss/nsswitch.h (global scope): Add definition of implementation
30306 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30307 resolv/nss_dns/dns-host.c).
30309 2012-07-11 Andreas Jaeger <aj@suse.de>
30311 * po/fr.po: Update from translation team.
30313 * po/sv.po: Update from translation team
30314 * po/fr.po: Another update from translation team.
30316 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30318 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30319 for subnormals or multiply small sinh result by itself.
30320 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30323 2012-07-11 David S. Miller <davem@davemloft.net>
30325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30327 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30330 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30331 (INTERNAL_MARK): Shift it here.
30333 2012-07-10 Marek Polacek <polacek@redhat.com>
30336 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30337 libc_cv_asm_global_directive with .globl.
30338 * configure: Regenerated.
30339 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30341 * sysdeps/i386/configure: Regenerated.
30342 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30344 * sysdeps/x86_64/configure: Regenerated.
30345 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30346 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30347 * elf/tst-unique2mod2.c: Likewise.
30348 * elf/tst-unique2mod1.c: Likewise.
30349 * elf/tst-unique1mod2.c: Likewise.
30350 * elf/tst-unique1mod1.c: Likewise.
30351 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30352 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30353 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30354 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30355 * sysdeps/mach/sysdep.h: Likewise.
30356 * sysdeps/i386/sysdep.h: Likewise.
30357 * sysdeps/i386/i386-mcount.S: Likewise.
30358 * sysdeps/x86_64/_mcount.S: Likewise.
30359 * sysdeps/x86_64/sysdep.h: Likewise.
30360 * sysdeps/sh/_mcount.S: Likewise.
30361 * sysdeps/sh/sysdep.h: Likewise.
30362 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30363 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30364 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30365 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30366 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30367 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30368 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30369 * locale/localeinfo.h: Likewise.
30370 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30371 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30373 2012-07-09 Roland McGrath <roland@hack.frob.com>
30376 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30378 * manual/message.texi (The Uniforum approach): Likewise.
30379 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30380 (glibc iconv Implementation): Likewise.
30382 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30385 * math/s_clog.c (__clog): Avoid scaling a value down where that
30386 could result in underflow.
30387 * math/s_clog10.c (__clog10): Likewise.
30388 * math/s_clog10f.c (__clog10f): Likewise.
30389 * math/s_clog10l.c (__clog10l): Likewise.
30390 * math/s_clogf.c (__clogf): Likewise.
30391 * math/s_clogl.c (__clogl): Likewise.
30392 * math/libm-test.inc (clog_test): Add more tests.
30393 (clog10_test): Likewise.
30394 * sysdeps/i386/fpu/libm-test-ulps: Update.
30395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30397 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30400 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30401 by 7 not 8 to examine high bit of fractional part.
30404 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30405 for call to __mcount_internal.
30406 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30407 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30408 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30410 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30413 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30414 approximation for values within 0x1p-13f of an odd multiple of
30416 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30417 exception. Add more tests.
30418 * sysdeps/i386/fpu/libm-test-ulps: Update.
30421 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30422 inputs and return -1 for them. Do not check for +Inf in case not
30423 reachable for +Inf.
30424 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30425 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30426 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30427 and return -1 for them. Do not check for +Inf in case not
30428 reachable for +Inf.
30429 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30431 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30432 and return -1 for them. Do not check for +Inf in case not
30433 reachable for +Inf.
30434 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30435 spurious underflow.
30436 * sysdeps/i386/fpu/libm-test-ulps: Update.
30437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30439 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30441 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30443 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30447 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30448 could result in spurious underflow. Scale down values above
30449 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30450 * math/s_csqrtf.c (__csqrtf): Likewise.
30451 * math/s_csqrtl.c (__csqrtl): Likewise.
30452 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30453 spurious underflow.
30454 * sysdeps/i386/fpu/libm-test-ulps: Update.
30455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30457 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30459 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30461 * catgets/xopen-msg.awk: New file.
30462 * catgets/xopen-msg.sed: Removed.
30464 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30466 * intl/po2test.awk: New file.
30467 * intl/po2test.sed: Removed.
30469 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30472 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30473 or multiply small sinh result by itself.
30474 * math/s_ctanf.c (__ctanf): Likewise.
30475 * math/s_ctanh.c (__ctanh): Likewise.
30476 * math/s_ctanhf.c (__ctanhf): Likewise.
30477 * math/s_ctanhl.c (__ctanhl): Likewise.
30478 * math/s_ctanl.c (__ctanl): Likewise.
30479 * math/libm-test.inc (ctan_test_tonearest): New function.
30480 (ctan_test_towardzero): Likewise.
30481 (ctan_test_downward): Likewise.
30482 (ctan_test_upward): Likewise.
30483 (ctanh_test_tonearest): Likewise.
30484 (ctanh_test_towardzero): Likewise.
30485 (ctanh_test_downward): Likewise.
30486 (ctanh_test_upward): Likewise.
30487 (main): Call these new functions.
30488 * sysdeps/i386/fpu/libm-test-ulps: Update.
30489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30491 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30493 * .gitignore: Delete /ports entry.
30495 2012-07-03 Andreas Jaeger <aj@suse.de>
30497 * po/bg.po: Update from translation team.
30498 * po/cs.po: Likewise.
30499 * po/de.po: Likewise.
30500 * po/hr.po: Likewise.
30501 * po/nl.pl: Likewise.
30502 * po/pl.po: Likewise.
30503 * po/vi.po: Likewise.
30505 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30507 * Makeconfig [!+link] (+link-before-libc): New variable.
30508 [!+link] (+link-after-libc): Likewise.
30509 [!+link] (+link-tests): Likewise.
30510 [!+link] (+link): Define in terms of $(+link-before-libc) and
30511 $(+link-after-libc).
30512 [!+link-static] (+link-static-before-libc): New variable.
30513 [!+link-static] (+link-static-after-libc): Likewise.
30514 [!+link-static] (+link-static-tests): Likewise.
30515 [!+link-static] (+link-static): Define in terms of
30516 $(+link-static-before-libc) and $(+link-static-after-libc).
30517 [build-shared] (link-libc-before-gnulib): New variable.
30518 [build-shared] (link-libc-tests): Likewise.
30519 [build-shared] (link-libc): Define in terms of
30520 $(link-libc-before-gnulib).
30521 [!build-shared] (link-libc-tests): New variable.
30522 (link-libc-static-tests): New variable.
30523 [!gnulib] (gnulib-arch): New variable.
30524 [!gnulib] (gnulib-tests): Likewise.
30525 [!gnulib] (static-gnulib-arch): Likewise.
30526 [!gnulib] (static-gnulib-tests): Likewise.
30527 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30528 Define with "=" instead of ":=".
30529 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30530 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30531 * Rules (binaries-all-notests): New variable.
30532 (binaries-all-tests): Likewise.
30533 (binaries-static-notests): Likewise.
30534 (binaries-static-tests): Likewise.
30535 (binaries-all): Define using $(binaries-all-notests) and
30536 $(binaries-all-tests).
30537 (binaries-static): Define using $(binaries-static-notests) and
30538 $(binaries-static-tests).
30539 (binaries-shared-tests): New variable.
30540 (binaries-shared-notests): Likewise.
30541 (binaries-shared): Remove variable.
30542 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30543 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30544 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30545 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30546 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30547 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30548 * elf/Makefile (sln-modules): New variable.
30549 (extra-objs): Add $(sln-modules:=.o).
30550 (ldconfig-modules): Add static-stubs.
30551 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30552 * elf/static-stubs.c: New file.
30555 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30556 by 7 not 8 to examine high bit of fractional part. Use volatile
30557 variables when splitting into final array of floats if
30558 __FLT_EVAL_METHOD__ != 0.
30559 * math/libm-test.inc (cos_test): Add another test.
30560 (sin_test): Likewise.
30561 * sysdeps/i386/fpu/libm-test-ulps: Update.
30564 * math/libm-test.inc (cosh_test): Add more tests.
30566 * version.h (RELEASE): Set to "development".
30567 (VERSION): Set to "2.16.90".
30569 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30571 * NEWS: Update copyright. Remove last-updated date.
30572 Mention math library bug fixes and timezone data changes.
30573 * README: Mention GNU/Hurd, x32, and HPPA support status.
30575 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30577 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30579 2012-06-27 Andreas Jaeger <aj@suse.de>
30581 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30583 2012-06-25 Andreas Jaeger <aj@suse.de>
30585 * sysdeps/s390/fpu/libm-test-ulps: Update.
30587 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30588 Thomas Schwinge <thomas@codesourcery.com>
30590 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30591 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30595 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30597 * sysdeps/mach/start.c: Remove file.
30598 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30599 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30600 * sysdeps/sh/init-first.c: Likewise.
30602 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30603 registers for frame unwinding purposes, add CFI directives.
30604 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30605 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30606 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30609 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30610 __fortify_fail returning.
30611 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30613 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30614 sysdeps/sh/____longjmp_chk.S.
30615 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30616 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30617 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30618 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30620 * sysdeps/sh/abort-instr.h: New file.
30621 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30622 process in case exit returns.
30624 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30625 initialize the GOT register before use.
30627 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30628 calculation of ARGC > 4.
30630 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30631 meaningful names to some local labels.
30633 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30634 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30636 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30637 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30638 (__arch_compare_and_exchange_val_16_acq): Likewise.
30639 (__arch_compare_and_exchange_val_32_acq): Likewise.
30640 (atomic_exchange_and_add): Fix gUSA sequence.
30641 (atomic_add): Likewise.
30642 (atomic_add_negative): Likewise.
30643 (atomic_add_zero): Likewise.
30644 (atomic_bit_test_set): Likewise.
30646 2012-06-22 Andreas Schwab <schwab@redhat.com>
30649 * include/link.h (struct link_map): Add l_free_initfini.
30650 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30652 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30653 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30654 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30657 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30659 * configure.in: Use AC_LANG_SOURCE.
30660 * configure: Regenerate.
30662 2012-06-22 Roland McGrath <roland@hack.frob.com>
30664 * configure.in (libc_cv_localstatedir): New substituted variable.
30665 * configure: Regenerated.
30666 * config.make.in (localstatedir): New variable, substituted from
30667 libc_cv_localstatedir.
30668 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30669 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30670 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30671 * sysdeps/gnu/configure: Regenerated.
30673 2012-06-21 Jeff Law <law@redhat.com>
30676 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30677 free. Simplify list management for _LIBC case.
30679 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30682 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30683 Clear sign bit of 64-bit integer value before comparing against
30686 * sysdeps/mach/configure: Regenerated.
30688 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30691 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30693 2012-06-21 Jeff Law <law@redhat.com>
30696 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30697 uint16_t for elements in the "seen" array to avoid char overflows.
30698 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30699 * elf/dl-open.c (dl_open_worker): Likewise.
30701 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30703 * scripts/list-sources.sh: Scan PORTS for translations.
30704 * po/libc.pot: Regenerated.
30706 2012-06-21 Andreas Jaeger <aj@suse.de>
30709 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30711 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30712 * bits/byteswap-16.h (__bswap_16): Likewise.
30713 * bits/byteswap.h (__bswap_constant_16): Likewise.
30715 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30718 * sysdeps/i386/fpu_control.h: Removed.
30719 * sysdeps/x86_64/fpu_control.h: Moved to ...
30720 * sysdeps/x86/fpu_control.h: Here.
30722 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30723 (_FPU_SETCW): Likewise.
30725 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30728 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30729 * sysdeps/x86/fpu/bits/mathinline.h: This.
30730 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30734 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30735 functions if __x86_64__ is defined.
30737 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30739 * string/endian.h: Add !__ASSEMBLER__ condition for including
30740 conversion interfaces.
30742 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30746 of ABS(x) in calculating zero to negative powers other than odd
30748 * math/libm-test.inc (pow_test): Add more tests.
30750 2012-06-15 Andreas Jaeger <aj@suse.de>
30752 * manual/contrib.texi (Contributors): Update entry of Liubov
30753 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30756 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30758 * string/string.h: Add __wur to GNU version of strerror_r.
30760 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30763 * string/Makefile (tests): Add tst-strtok_r.
30764 * string/tst-strtok_r.c: New file.
30765 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30766 RAX_LP/RDX_LP on SAVE_PTR.
30768 2012-06-14 Roland McGrath <roland@hack.frob.com>
30770 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30772 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30774 * libm_test.inc (csqrt_test): Allow more spurious underflow
30776 (j0_test): Likewise.
30777 (j1_test): Likewise.
30778 (y0_test): Likewise.
30779 (y1_test): Likewise.
30781 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30783 * po/Makefile (libc.pot): Use UTF-8 charset.
30785 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30788 Suppress sign-conversion warning from FD_SET.
30789 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30790 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30791 not unsigned long int.
30792 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30794 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30798 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30799 __extern_always_inline instead of __extern_inline.
30800 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30801 (__signbit): Likewise.
30802 (__signbitl): Support C++ namespace.
30803 (lrintf): New inline function.
30805 (llrintf): Likewise.
30806 (llrint): Likewise.
30816 (floorf): Likewise.
30817 (nearbyint): Likewise.
30818 (nearbyintf): Likewise.
30820 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30822 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30823 non-default versions.
30825 2012-06-11 Roland McGrath <roland@hack.frob.com>
30828 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30830 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30832 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30833 (FE_UPWARD, FE_DOWNWARD): Don't define.
30834 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30835 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30837 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30839 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30840 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30842 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30844 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30846 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30847 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30849 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30852 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30853 * sysdeps/i386/fpu/Implies: New file.
30854 * sysdeps/x86_64/fpu/Implies: Likewise.
30855 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30856 * sysdeps/x86/fpu/bits/fenv.h: This.
30858 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30861 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30864 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30865 character 0xffff that matches the last element of the
30868 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30873 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30875 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30876 values higher than 25.6283.
30878 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30880 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30881 subnormal exponent extraction and add some __builtin_expect.
30882 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30883 Fix for subnormal mantissa calculation.
30885 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30887 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30888 cpu2 is -1 and errno is not ENOSYS.
30890 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30893 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30894 * sysdeps/x86/bits/string.h: This.
30895 * sysdeps/x86_64/bits/string.h: Removed.
30897 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30898 if not compiling for x86-64, but compiling for >= i486.
30900 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30901 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30903 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30904 New macro from Linux kernel 3.4.0.
30905 (FP_XSTATE_MAGIC2): Likewise.
30906 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30907 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30908 (struct _fpx_sw_bytes): New struct.
30909 (struct _xsave_hdr): Likewise.
30910 (struct _ymmh_state): Likewise.
30911 (struct _xstate): Likewise.
30913 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30914 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30915 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30916 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30917 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30918 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30920 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30921 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30922 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30923 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30924 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30925 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30927 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30930 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30931 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30932 (sysdep_headers): Include sys/platform/ppc.h.
30933 * sysdeps/powerpc/test-gettimebase.c: Test for
30934 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30935 * manual/Makefile (appendices): Include platform.texi.
30936 * manual/contrib.texi (Contributors): Update @node pointers.
30937 * manual/maint.texi (Maintenance): Likewise.
30938 (Platform): New node.
30939 * manual/platform.texi: New file. Document the new features.
30941 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30942 Jakub Jelinek <jakub@redhat.com>
30945 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30946 where __builtin_expect is unavailable.
30948 2012-06-03 David S. Miller <davem@davemloft.net>
30950 * stdlib/longlong.h: Updated from GCC.
30952 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30955 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30956 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30959 (GLIBC_2.16): Likewise.
30961 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30963 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30965 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30968 (default-abi): New variable.
30969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30970 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30972 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30974 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30976 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30979 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30980 definition. Document in comment.
30982 2012-06-01 David S. Miller <davem@davemloft.net>
30984 * stdlib/longlong.h: Updated from GCC.
30986 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30989 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30990 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30991 sys/debugreg.h sys/io.h here.
30992 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30993 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30995 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30996 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30997 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30998 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30999 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31000 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31003 Define only if __x86_64__ is defined.
31005 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31008 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31009 Use int64_t for variable i.
31010 * math/libm-test.inc (fmod_test): Add more tests.
31012 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31013 z computation is not scheduled after fetestexcept.
31014 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31015 Use math_force_eval instead of asm to ensure calculation scheduled
31016 before exception test.
31017 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31018 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31020 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31023 computation is not scheduled after fetestexcept.
31025 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31028 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31029 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31031 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31033 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31034 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31036 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31039 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31041 (__WCHAR_MIN): Support __WORDSIZE == 64.
31042 (__WCHAR_MAX): Likewise.
31044 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31048 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31049 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31052 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31053 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31055 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31056 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31058 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31059 Defined to 1 if __x86_64__ isn't defined.
31060 (_STAT_VER_LINUX_OLD): New.
31061 (st_atime): Remove duplicate.
31062 (st_mtime): Likewise.
31063 (st_ctime): Likewise.
31065 2012-05-31 David S. Miller <davem@davemloft.net>
31067 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31070 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31072 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31076 * elf/dl-reloc.c: Include <_itoa.h>.
31077 (_dl_reloc_bad_type): Remove use of INTUSE.
31078 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31079 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31080 * stdio-common/psiginfo.c (psiginfo): Likewise.
31081 * stdio-common/psignal.c (psignal): Likewise.
31082 * string/strsignal.c (strsignal): Likewise.
31083 * include/signal.h (_sys_siglist): Declare hidden proto.
31084 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31085 INTVARDEF with libc_hidden_data_def.
31086 * stdio-common/itoa-udigits.c: Likewise.
31087 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31088 (_itoa_lower_digits_internal): Remove declaration.
31089 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31090 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31091 (_sys_sigabbrev_internal): Remove aliases.
31092 (_sys_siglist): Define hidden alias.
31094 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31099 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31102 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31103 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31105 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31106 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31107 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31108 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31110 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31112 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31113 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31114 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31116 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31124 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31125 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31126 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31128 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31129 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31130 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31131 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31132 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31133 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31135 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31136 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31138 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31139 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31141 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31142 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31143 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31145 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31146 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31148 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31150 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31151 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31152 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31154 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31156 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31158 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31160 * math/math.h (M_El): Use two more decimal places.
31161 (M_LOG2El): Likewise.
31162 (M_LOG10El): Likewise.
31163 (M_LN2l): Likewise.
31164 (M_LN10l): Likewise.
31166 (M_PI_2l): Likewise.
31167 (M_PI_4l): Likewise.
31168 (M_1_PIl): Likewise.
31169 (M_2_PIl): Likewise.
31170 (M_2_SQRTPIl): Likewise.
31171 (M_SQRT2l): Likewise.
31172 (M_SQRT1_2l): Likewise.
31174 2012-05-31 David S. Miller <davem@davemloft.net>
31176 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31177 values between float registers.
31178 * sysdeps/sparc/sparc64/memset.S: Likewise.
31179 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31181 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31183 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31184 -D_FORTIFY_SOURCE=1.
31185 (CPPFLAGS-tst-longjmp_chk.c): Define.
31186 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31187 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31188 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31189 CFLAGS-tst-wchar-h.c.
31191 2012-05-31 Marek Polacek <polacek@redhat.com>
31194 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31195 __endmntent_internal): Remove declaration.
31196 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31197 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31198 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31200 2012-05-30 David S. Miller <davem@davemloft.net>
31202 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31203 (___Q_simulate_exceptions): Use real FP ops rather than writing
31205 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31208 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31211 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31212 * sysdeps/x86/bits/xtitypes.h: This.
31214 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31215 * sysdeps/x86/bits/wordsize.h: This.
31217 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31218 * sysdeps/x86/bits/huge_vall.h: This.
31220 * sysdeps/i386/bits/select.h: Removed.
31221 * sysdeps/x86_64/bits/select.h: Renamed to ...
31222 * sysdeps/x86/bits/select.h: This.
31224 * sysdeps/i386/bits/setjmp.h: Removed.
31225 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31226 * sysdeps/x86/bits/setjmp.h: This.
31228 * sysdeps/i386/bits/mathdef.h: Removed.
31229 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31230 * sysdeps/x86/bits/mathdef.h: This.
31232 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31235 * include/sys/socket.h (__connect_internal)
31236 (__libc_sa_len_internal): Remove declaration.
31237 (__connect, __libc_sa_len): Declare hidden_proto.
31238 (SA_LEN): Remove use of INTUSE.
31239 * socket/connect.c: Add libc_hidden_def.
31240 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31241 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31242 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31244 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31245 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31246 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31247 of adding _internal alias.
31249 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31252 * sysdeps/i386/bits/link.h: Removed.
31253 * sysdeps/i386/bits/linkmap.h: Likewise.
31254 * sysdeps/x86_64/bits/link.h: Renamed to ...
31255 * sysdeps/x86/bits/link.h: This.
31256 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31257 * sysdeps/x86/bits/linkmap.h: This.
31259 * sysdeps/i386/bits/endian.h: Removed.
31260 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31261 * sysdeps/x86/bits/endian.h: This.
31263 * sysdeps/i386/bits/byteswap.h: Removed.
31264 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31265 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31266 * sysdeps/x86/bits/byteswap.h: This.
31267 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31268 * sysdeps/x86/bits/byteswap-16.h: This.
31269 * sysdeps/i386/Implies: Add x86.
31270 * sysdeps/x86_64/Implies: Likewise.
31272 2012-05-30 David S. Miller <davem@davemloft.net>
31274 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31275 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31276 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31277 (FP_TRAPPING_EXCEPTIONS): Define.
31278 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31279 (FP_TRAPPING_EXCEPTIONS): Define.
31280 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31281 subnormals only when inexact has been signalled or underflow
31282 exceptions are enabled.
31283 (_FP_PACK_CANONICAL): Likewise.
31285 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31288 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31289 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31291 2012-05-30 Richard Henderson <rth@twiddle.net>
31293 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31294 with #ifndef NOT_IN_libc.
31296 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31297 marked to avoid plt entry.
31299 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31302 * Makeconfig (default-abi): New macro.
31303 (abi-includes): Likewise.
31304 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31305 $(abi-$(default-abi)-lib-soname) for soname if defined.
31306 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31308 * Makefile (installed-stubs): Likewise.
31309 * include/stubs-biarch.h: Removed.
31310 * scripts/lib-names.awk: Only handle one library at a time.
31311 * scripts/soversions.awk: Remove WORDSIZE support.
31312 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31314 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31316 (syscall-list-default-condition): Likewise.
31317 (syscall-list-default-condition): Likewise.
31318 (syscall-list-includes): Likewise.
31319 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31320 syscall-list-* with abi-*. Handle undefined abi-variants.
31321 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31322 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31323 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31324 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31325 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31326 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31328 (syscall-list-32-options): Likewise.
31329 (syscall-list-32-condition): Likewise.
31330 (syscall-list-64-options): Likewise.
31331 (syscall-list-64-condition): Likewise.
31332 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31334 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31337 (abi-64-ld-soname): New macro.
31338 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31339 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31342 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31343 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31345 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31347 * sysdeps/unix/sysv/linux/kernel-features.h
31348 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31349 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31350 include <kernel-features.h>.
31351 [!__NR_ftruncate64]: Remove conditional code.
31352 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31353 [__NR_ftruncate64]: Make code unconditional.
31354 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31355 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31356 include <kernel-features.h>.
31357 [!__NR_ftruncate64]: Remove conditional code.
31358 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31359 [__NR_ftruncate64]: Make code unconditional.
31360 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31362 include <kernel-features.h>.
31363 [!__NR_ftruncate64]: Remove conditional code.
31364 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31365 [__NR_ftruncate64]: Make code unconditional.
31366 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31368 include <kernel-features.h>.
31369 [!__NR_ftruncate64]: Remove conditional code.
31370 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31371 [__NR_ftruncate64]: Make code unconditional.
31372 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31374 * configure.in (libc_cv_fpie): Weaken to a compile test using
31375 LIBC_TRY_CC_OPTION.
31376 * configure: Regenerated.
31378 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31393 2012-05-27 David S. Miller <davem@davemloft.net>
31395 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31397 (__Q_simulate_exceptions): Return void. Change to simulate
31398 exceptions by writing into the %fsr.
31399 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31400 (__Qp_handle_exceptions): Likewise.
31402 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31403 __Qp_handle_exceptions.
31404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31405 __Qp_handle_exceptions.
31406 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31407 as unused and give dummy FP_RND_NEAREST initializer.
31408 (FP_INHIBIT_RESULTS): Define.
31409 (___Q_simulate_exceptions): Update declaration.
31410 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31412 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31413 as unused and give dummy FP_RND_NEAREST initializer.
31414 (__Qp_handle_exceptions): Update declaration.
31415 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31418 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31420 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31421 the temporary FPU control word.
31422 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31423 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31424 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31425 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31426 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31427 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31428 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31429 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31430 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31431 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31432 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31434 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31436 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31439 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31441 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31442 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31443 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31444 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31446 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31447 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31450 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31452 * po/h.po: Update from translation team.
31454 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31456 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31458 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31459 handling of denormals.
31460 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31461 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31462 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31463 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31469 2012-05-26 Marek Polacek <polacek@redhat.com>
31472 * math/libm-test.inc (fma_test): Don't always expect underflow
31475 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31478 * elf/tst-execstack.c: Include stackinfo.h.
31479 (do_test): Adjust test case to ensure that pthread_getattr_np
31480 behaviour remains the same after marking stack executable.
31482 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31484 * sysdeps/unix/sysv/linux/kernel-features.h
31485 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31486 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31488 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31489 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31490 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31492 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31493 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31495 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31497 * configure.in: Define the default includes to being none.
31498 * configure: Regenerated.
31500 2012-05-25 Roland McGrath <roland@hack.frob.com>
31502 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31503 * sysdeps/x86_64/setjmp.S: Likewise.
31504 * sysdeps/i386/bsd-setjmp.S: Likewise.
31505 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31506 * sysdeps/i386/setjmp.S: Likewise.
31507 * sysdeps/i386/__longjmp.S: Likewise.
31508 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31509 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31511 * include/stap-probe.h: New file.
31512 * configure.in: Handle --enable-systemtap.
31513 * configure: Regenerated.
31514 * config.h.in (USE_STAP_PROBE): New #undef.
31515 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31516 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31517 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31519 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31522 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31523 to 2.4.0 where earlier.
31524 * sysdeps/unix/sysv/linux/configure: Regenerated.
31525 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31526 <kernel-features.h>.
31527 [__ASSUME_32BITUIDS]: Make code unconditional.
31528 [!__ASSUME_32BITUIDS]: Remove conditional code.
31529 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31530 <kernel-features.h>.
31531 [__ASSUME_32BITUIDS]: Make code unconditional.
31532 [!__ASSUME_32BITUIDS]: Remove conditional code.
31533 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31534 [__ASSUME_32BITUIDS]: Make code unconditional.
31535 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31536 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31537 <kernel-features.h>.
31538 [__ASSUME_32BITUIDS]: Make code unconditional.
31539 [!__ASSUME_32BITUIDS]: Remove conditional code.
31540 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31541 <kernel-features.h>.
31542 [__ASSUME_32BITUIDS]: Make code unconditional.
31543 [!__ASSUME_32BITUIDS]: Remove conditional code.
31544 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31545 <kernel-features.h>.
31546 [__ASSUME_32BITUIDS]: Make code unconditional.
31547 [!__ASSUME_32BITUIDS]: Remove conditional code.
31548 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
31557 <kernel-features.h>.
31558 [__ASSUME_32BITUIDS]: Make code unconditional.
31559 [!__ASSUME_32BITUIDS]: Remove conditional code.
31560 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31561 <kernel-features.h>.
31562 [__ASSUME_32BITUIDS]: Make code unconditional.
31563 [!__ASSUME_32BITUIDS]: Remove conditional code.
31564 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31565 <kernel-features.h>.
31566 [__ASSUME_32BITUIDS]: Make code unconditional.
31567 [!__ASSUME_32BITUIDS]: Remove conditional code.
31568 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31569 <kernel-features.h>.
31570 [__ASSUME_32BITUIDS]: Make code unconditional.
31571 [!__ASSUME_32BITUIDS]: Remove conditional code.
31572 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31573 <kernel-features.h>.
31574 [__ASSUME_32BITUIDS]: Make code unconditional.
31575 [!__ASSUME_32BITUIDS]: Remove conditional code.
31576 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31577 <kernel-features.h>.
31578 [__NR_setresgid] (__setresgid): Do not declare.
31579 [__ASSUME_32BITUIDS]: Make code unconditional.
31580 [!__ASSUME_32BITUIDS]: Remove conditional code.
31581 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31582 <kernel-features.h>.
31583 [__NR_setresuid] (__setresuid): Do not declare.
31584 [__ASSUME_32BITUIDS]: Make code unconditional.
31585 [!__ASSUME_32BITUIDS]: Remove conditional code.
31586 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31587 <kernel-features.h>.
31588 [__ASSUME_32BITUIDS]: Make code unconditional.
31589 [!__ASSUME_32BITUIDS]: Remove conditional code.
31590 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31591 <kernel-features.h>.
31592 [__ASSUME_32BITUIDS]: Make code unconditional.
31593 [!__ASSUME_32BITUIDS]: Remove conditional code.
31594 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31595 <kernel-features.h>.
31596 [__ASSUME_32BITUIDS]: Make code unconditional.
31597 [!__ASSUME_32BITUIDS]: Remove conditional code.
31598 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31599 <kernel-features.h>.
31600 [__ASSUME_32BITUIDS]: Make code unconditional.
31601 [!__ASSUME_32BITUIDS]: Remove conditional code.
31602 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31603 <kernel-features.h>.
31604 [__ASSUME_32BITUIDS]: Make code unconditional.
31605 [!__ASSUME_32BITUIDS]: Remove conditional code.
31606 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31607 <kernel-features.h>.
31608 [__ASSUME_32BITUIDS]: Make code unconditional.
31609 [!__ASSUME_32BITUIDS]: Remove conditional code.
31610 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31611 <kernel-features.h>.
31612 [__ASSUME_32BITUIDS]: Make code unconditional.
31613 [!__ASSUME_32BITUIDS]: Remove conditional code.
31614 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31615 <kernel-features.h>.
31616 [__ASSUME_32BITUIDS]: Make code unconditional.
31617 [!__ASSUME_32BITUIDS]: Remove conditional code.
31618 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31619 <kernel-features.h>.
31620 [__ASSUME_32BITUIDS]: Make code unconditional.
31621 [!__ASSUME_32BITUIDS]: Remove conditional code.
31622 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31623 <kernel-features.h>.
31624 [__ASSUME_32BITUIDS]: Make code unconditional.
31625 [!__ASSUME_32BITUIDS]: Remove conditional code.
31626 * sysdeps/unix/sysv/linux/kernel-features.h
31627 (__ASSUME_SETRESUID_SYSCALL): Remove.
31628 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31629 (__ASSUME_32BITUIDS): Likewise.
31630 (__ASSUME_LDT_WORKS): Likewise.
31631 (__ASSUME_O_DIRECTORY): Likewise.
31632 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31633 architecture but not kernel version.
31634 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31635 (__ASSUME_MMAP2_SYSCALL): Likewise.
31636 (__ASSUME_STAT64_SYSCALL): Likewise.
31637 (__ASSUME_IPC64): Likewise.
31638 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31639 <kernel-features.h>.
31640 [__ASSUME_32BITUIDS]: Make code unconditional.
31641 [!__ASSUME_32BITUIDS]: Remove conditional code.
31642 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31643 <kernel-features.h>.
31644 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31645 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31646 132096]: Remove conditional code.
31647 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31648 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31649 <kernel-features.h>.
31650 [__ASSUME_32BITUIDS]: Make code unconditional.
31651 [!__ASSUME_32BITUIDS]: Remove conditional code.
31652 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31653 <kernel-features.h>.
31654 [__ASSUME_32BITUIDS]: Make code unconditional.
31655 [!__ASSUME_32BITUIDS]: Remove conditional code.
31656 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31657 <kernel-features.h>.
31658 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31660 (__setresgid): Do not declare.
31661 [__ASSUME_32BITUIDS]: Make code unconditional.
31662 [!__ASSUME_32BITUIDS]: Remove conditional code.
31663 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31664 <kernel-features.h>.
31665 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31667 (__setresuid): Do not declare.
31668 [__ASSUME_32BITUIDS]: Make code unconditional.
31669 [!__ASSUME_32BITUIDS]: Remove conditional code.
31670 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31671 <kernel-features.h>.
31672 [__ASSUME_32BITUIDS]: Make code unconditional.
31673 [!__ASSUME_32BITUIDS]: Remove conditional code.
31674 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31675 <kernel-features.h>.
31676 [__ASSUME_32BITUIDS]: Make code unconditional.
31677 [!__ASSUME_32BITUIDS]: Remove conditional code.
31679 2012-05-25 Richard Henderson <rth@twiddle.net>
31681 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31682 dl_hwcap to ifunc resolver.
31683 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31685 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31686 dl_hwcap to ifunc resolver.
31687 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31689 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31692 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31693 for |x| <= 2**-26, not 2**-57.
31694 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31697 2012-05-24 Jeff Law <law@redhat.com>
31699 * stdio-common/Makefile (tests): Add bug25.
31700 * stdio-common/bug25.c: New test.
31702 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31705 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31706 multiple of MALLOC_ALIGNMENT in size.
31707 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31709 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31711 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31713 (FILENAME_MAX): Use macro-int-constant.
31714 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31715 (_IOFBF): Use macro-int-constant.
31716 (_IOLBF): Likewise.
31717 (_IONBF): Likewise.
31718 (SEEK_CUR): Likewise.
31719 (SEEK_END): Likewise.
31720 (SEEK_SET): Likewise.
31721 (TMP_MAX): Likewise.
31722 (EOF): Use macro-int-constant. Require < 0.
31723 (NULL): Use macro-constant. Require == 0.
31724 (stdin): Require type to be FILE *.
31725 (stdout): Likewise.
31726 (stderr): Likewise.
31727 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31728 macro-int-constant.
31729 (EXIT_SUCCESS): Likewise.
31730 (NULL): Use macro-constant. Require == 0.
31731 (RAND_MAX): Use macro-int-constant.
31732 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31733 [C99-based standards] (strtof): Require function.
31734 [C99-based standards] (strtold): Likewise.
31735 [C99-based standards] (strtoll): Likewise.
31736 [C99-based standards] (strtoull): Likewise.
31737 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31738 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31739 [ISO || ISO99 || ISO11] (math.h): Likewise.
31740 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31741 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31744 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31747 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31748 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31749 * intl/dgettext.c (DCGETTEXT): Likewise.
31750 * intl/gettext.c (DCGETTEXT): Likewise.
31751 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31752 * posix/regex_internal.h (gettext): Likewise.
31753 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31754 Remove declaration.
31755 * include/argz.h (__argz_count_internal)
31756 (__argz_stringify_internal): Remove declaration.
31757 (__argz_count, __argz_stringify): Declare hidden proto.
31758 * intl/dcgettext.c: Remove use of INTDEF.
31759 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31760 * string/argz-stringify.c: Likewise.
31761 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31762 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31763 Declare hidden proto.
31764 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31765 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31766 Declare hidden proto.
31767 * include/stdio.h (__asprintf_internal): Don't declare.
31768 (__asprintf): Don't define as macro. Declare hidden proto.
31769 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31770 (__fsetlocking): Declare hidden proto.
31771 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31772 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31774 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31775 (_IO_setlinebuf): Remove use of INTUSE.
31776 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31777 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31778 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31779 Remove declaration.
31780 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31781 (_IO_do_flush): Remove use of INTUSE.
31782 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31783 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31784 (_IO_adjust_column, _IO_least_wmarker)
31785 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31786 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31787 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31788 (_IO_default_doallocate, _IO_wdefault_doallocate)
31789 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31790 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31791 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31792 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31793 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31794 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31795 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31796 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31797 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31798 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31799 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31800 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31801 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31803 (_IO_flush_all_internal, _IO_adjust_column_internal)
31804 (_IO_default_uflow_internal, _IO_default_finish_internal)
31805 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31806 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31807 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31808 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31809 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31810 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31811 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31812 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31813 (_IO_file_close_internal, _IO_file_close_it_internal)
31814 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31815 (_IO_file_init_internal, _IO_file_attach_internal)
31816 (_IO_file_fopen_internal, _IO_file_read_internal)
31817 (_IO_file_sync_internal, _IO_file_seek_internal)
31818 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31819 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31820 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31821 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31822 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31823 (_IO_list_all_internal, _IO_link_in_internal)
31824 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31825 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31826 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31827 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31828 (_IO_do_write_internal, _IO_padn_internal)
31829 (_IO_getline_info_internal, _IO_getline_internal)
31830 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31831 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31832 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31833 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31834 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31835 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31836 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31837 with libc_hidden_ver, remove use of INTUSE.
31838 * libio/genops.c: Likewise.
31839 * libio/freopen.c: Likewise.
31840 * libio/freopen64.c: Likewise.
31841 * libio/iofclose.c: Likewise.
31842 * libio/iofdopen.c: Likewise.
31843 * libio/iofflush.c: Likewise.
31844 * libio/iofflush_u.c: Likewise.
31845 * libio/iofgets.c: Likewise.
31846 * libio/iofgets_u.c: Likewise.
31847 * libio/iofopen.c: Likewise.
31848 * libio/iofopncook.c: Likewise.
31849 * libio/iofread.c: Likewise.
31850 * libio/iofread_u.c: Likewise.
31851 * libio/ioftell.c: Likewise.
31852 * libio/iofwrite.c: Likewise.
31853 * libio/iogetline.c: Likewise.
31854 * libio/iogets.c: Likewise.
31855 * libio/iogetwline.c: Likewise.
31856 * libio/iopadn.c: Likewise.
31857 * libio/iopopen.c: Likewise.
31858 * libio/ioseekoff.c: Likewise.
31859 * libio/ioseekpos.c: Likewise.
31860 * libio/iosetbuffer.c: Likewise.
31861 * libio/iosetvbuf.c: Likewise.
31862 * libio/ioungetc.c: Likewise.
31863 * libio/ioungetwc.c: Likewise.
31864 * libio/iovdprintf.c: Likewise.
31865 * libio/iovsprintf.c: Likewise.
31866 * libio/iovsscanf.c: Likewise.
31867 * libio/memstream.c: Likewise.
31868 * libio/obprintf.c: Likewise.
31869 * libio/oldfileops.c: Likewise.
31870 * libio/oldiofclose.c: Likewise.
31871 * libio/oldiofdopen.c: Likewise.
31872 * libio/oldiofopen.c: Likewise.
31873 * libio/oldiopopen.c: Likewise.
31874 * libio/oldstdfiles.c: Likewise.
31875 * libio/putc.c: Likewise.
31876 * libio/setbuf.c: Likewise.
31877 * libio/setlinebuf.c: Likewise.
31878 * libio/stdfiles.c: Likewise.
31879 * libio/strops.c: Likewise.
31880 * libio/vasprintf.c: Likewise.
31881 * libio/vscanf.c: Likewise.
31882 * libio/vsnprintf.c: Likewise.
31883 * libio/vswprintf.c: Likewise.
31884 * libio/wfiledoalloc.c: Likewise.
31885 * libio/wfileops.c: Likewise.
31886 * libio/wgenops.c: Likewise.
31887 * libio/wmemstream.c: Likewise.
31888 * libio/wstrops.c: Likewise.
31889 * libio/__fpurge.c: Likewise.
31890 * libio/__fsetlocking.c: Likewise.
31891 * assert/assert.c: Likewise.
31892 * debug/fgets_chk.c: Likewise.
31893 * debug/fgets_u_chk.c: Likewise.
31894 * debug/fread_chk.c: Likewise.
31895 * debug/fread_u_chk.c: Likewise.
31896 * debug/gets_chk.c: Likewise.
31897 * debug/obprintf_chk.c: Likewise.
31898 * debug/vasprintf_chk.c: Likewise.
31899 * debug/vdprintf_chk.c: Likewise.
31900 * debug/vsnprintf_chk.c: Likewise.
31901 * debug/vsprintf_chk.c: Likewise.
31902 * malloc/mtrace.c: Likewise.
31903 * misc/error.c: Likewise.
31904 * misc/syslog.c: Likewise.
31905 * stdio-common/asprintf.c: Likewise.
31906 * stdio-common/fxprintf.c: Likewise.
31907 * stdio-common/getw.c: Likewise.
31908 * stdio-common/isoc99_fscanf.c: Likewise.
31909 * stdio-common/isoc99_scanf.c: Likewise.
31910 * stdio-common/isoc99_vfscanf.c: Likewise.
31911 * stdio-common/isoc99_vscanf.c: Likewise.
31912 * stdio-common/isoc99_vsscanf.c: Likewise.
31913 * stdio-common/printf-prs.c: Likewise.
31914 * stdio-common/printf_fp.c: Likewise.
31915 * stdio-common/printf_fphex.c: Likewise.
31916 * stdio-common/printf_size.c: Likewise.
31917 * stdio-common/putw.c: Likewise.
31918 * stdio-common/scanf.c: Likewise.
31919 * stdio-common/sprintf.c: Likewise.
31920 * stdio-common/tmpfile.c: Likewise.
31921 * stdio-common/vfprintf.c: Likewise.
31922 * stdio-common/vfscanf.c: Likewise.
31923 * stdlib/strfmon_l.c: Likewise.
31924 * sunrpc/openchild.c: Likewise.
31925 * sunrpc/xdr_stdio.c: Likewise.
31926 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31927 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31929 2012-05-24 Roland McGrath <roland@hack.frob.com>
31931 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31933 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31934 in the third column, to generate for the shared library an IFUNC
31935 that uses _dl_vdso_vsym.
31936 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31937 * Makeconfig (object-suffixes-noshared): New variable.
31939 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31940 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31941 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31942 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31945 * include/sys/time.h (__gettimeofday): Remove macro.
31946 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31947 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31949 (__gettimeofday): Add libc_hidden_def.
31950 (gettimeofday): Add libc_hidden_weak.
31951 * sysdeps/mach/gettimeofday.c: Likewise.
31952 * sysdeps/posix/gettimeofday.c: Likewise.
31953 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31954 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31956 (__gettimeofday_internal): Remove strong_alias.
31957 (__gettimeofday): Add libc_hidden_def.
31958 (gettimeofday): Add libc_hidden_weak.
31959 * sysdeps/unix/syscalls.list (gettimeofday):
31960 Remove __gettimeofday_internal alias.
31962 2012-05-24 Daniel Jacobowitz <drow@false.org>
31963 H.J. Lu <hongjiu.lu@intel.com>
31966 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31967 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31968 (largebin_index_32_big): New.
31969 (largebin_index): Use it for 16-byte alignment.
31970 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31971 correction with front_misalign.
31973 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32001 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32002 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32004 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32008 * math/libm-test.inc (exp_test): Add test from bug 14036.
32009 (pow_test): Add test from bug 10846.
32011 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32013 (special_function): Do not include flags in test name.
32014 (parse_args): Likewise.
32015 * sysdeps/i386/fpu/libm-test-ulps: Update.
32016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32017 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32018 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32021 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32023 * math/libm-test.inc ("Philosophy"): Update comment about
32025 (UNDERFLOW_EXCEPTION): New macro.
32026 (UNDERFLOW_EXCEPTION_OK): Likewise.
32027 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32028 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32029 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32030 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32031 (INVALID_EXCEPTION_OK): Update value.
32032 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32033 (OVERFLOW_EXCEPTION_OK): Likewise.
32034 (IGNORE_ZERO_INF_SIGN): Likewise.
32035 (test_exceptions): Handle underflow exceptions.
32036 (acos_test): Update for underflow exception expectations.
32037 (cexp_test): Likewise.
32038 (clog_test): Likewise.
32039 (clog10_test): Likewise.
32040 (csqrt_test): Likewise.
32041 (ctan_test): Likewise.
32042 (ctanh_test): Likewise.
32043 (exp_test): Likewise.
32044 (exp10_test): Likewise.
32045 (exp2_test): Likewise.
32046 (expm1_test): Likewise.
32047 (fma_test): Likewise.
32048 (j0_test): Likewise.
32049 (jn_test): Likewise.
32050 (nexttoward_test): Likewise.
32051 (pow_test): Likewise.
32052 (scalbn_test): Likewise.
32053 (scalbln_test): Likewise.
32054 (tan_test): Likewise.
32055 (y1_test): Likewise.
32056 * sysdeps/i386/fpu/libm-test-ulps: Update.
32057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32059 2012-05-23 David S. Miller <davem@davemloft.net>
32061 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32062 (__libc_sigaction): Remove unused local variables.
32064 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32066 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32068 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32070 mktime: avoid signed integer overflow
32071 * time/mktime.c (__mktime_internal): Do not mishandle the case
32072 where diff == INT_MIN.
32074 mktime: simplify computation of average
32075 * time/mktime.c (ranged_convert): Use new time_t_avg function
32076 instead of rolling our own (probably-slower) code.
32078 mktime: do not assume signed right shift propagates sign bit
32079 * time/mktime.c (isdst_differ): New static function.
32080 (__mktime_internal): No need to normalize tm_isdst now.
32081 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32084 mktime: merge another wrapv change from gnulib
32085 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32086 from some compilers.
32088 mktime: remove incorrect attempt at unusual arithmetics
32089 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32090 The code didn't really work on such machines anyway.
32091 (TYPE_MINIMUM): Assume two's complement.
32092 (twos_complement_arithmetic): Verify that long_int and time_t
32093 are two's complement (or unsigned, in the latter case).
32095 mktime: check signed shifts on long_int and time_t, too
32096 * time/mktime.c (SHR): Check that shifts work as desired
32097 on the types long_int and time_t too, as SHR is used on
32100 mktime: do not assume 'long' is wide enough
32101 * time/mktime.c (verify): Move decl up.
32102 (long_int): New type.
32103 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32104 to remove assumption in the code that 'long' is wide enough to
32105 store year values. This assumption is not true on x32 and on
32106 some non-glibc platforms.
32108 mktime: merge wrapv change from gnulib
32109 * time/mktime.c (WRAPV): New macro.
32110 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32111 (guess_time_tm, __mktime_internal): Do not assume that signed
32112 integer overflow wraps around; modern compilers generate code
32113 where this assumption is no longer valid.
32115 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32117 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32118 Replace "jmp L(pseudo_end)" with "ret".
32119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32122 2012-05-23 Andreas Jaeger <aj@suse.de>
32124 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32125 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32127 2012-05-23 Andreas Jaeger <aj@suse.de>
32128 Maximilian Attems <max@stro.at>
32130 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32133 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32135 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32136 code so that pseudo_end is just ret and the stack pointer is
32137 correct also for static library in error case.
32139 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32141 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32142 move to syscalls.list.
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32148 * manual/install.texi (Running make install): Do not mention Linux
32149 kernel version for which pt_chown is not needed.
32150 (Linux): Do not mention problems with nscd with 2.0 kernels.
32151 * INSTALL: Regenerated.
32153 2012-05-23 Andreas Jaeger <aj@suse.de>
32155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32156 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32158 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32159 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32160 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32161 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32162 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32163 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32165 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32166 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32168 * sysdeps/unix/sysv/linux/bits/in.h
32169 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32171 2012-05-22 Roland McGrath <roland@hack.frob.com>
32173 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32174 (PREPARE_VERSION): Just use assert instead, it will be elided
32175 under [NDEBUG] anyway.
32177 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32179 * sysdeps/unix/sysv/linux/Makefile: Include
32180 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32181 (sysdep_routines): Remove sysctl.
32182 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32183 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32184 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32185 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32186 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32188 2012-05-22 Andreas Jaeger <aj@suse.de>
32190 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32191 that pseudo_end is just ret and the stack pointer is correct also
32192 for static library in error case.
32194 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32197 * nss/nsswitch.c (defconfig_entries): New variable.
32198 (__nss_database_lookup): Don't leak defconfig entries.
32199 (nss_parse_service_list): Don't leak on error paths.
32200 (free_database_entries): New function.
32201 (free_defconfig): New function.
32202 (free_mem): Move common code to free_database_entries.
32204 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32206 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32208 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32210 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32211 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32214 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32215 (INTERNAL_SYSCALL_TYPES): Likewise.
32216 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32217 (LOAD_REGS_TYPES_[1-6]): Likewise.
32218 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32219 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32221 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32223 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32224 copysignl for GLIBC_2_0.
32225 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32226 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32228 logbl for GLIBC_2_0.
32229 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32230 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32232 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32234 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32235 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32237 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32240 * time/mktime.c: Update copyright years.
32242 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32244 mktime: merge comment-quoting-style change from gnulib
32245 * time/mktime.c: Quote 'like this' in comments.
32246 The GNU coding standards suggest that we no longer quote `like this',
32247 as "`" and "'" are typically rendered asymmetrically nowadays.
32248 The typical gnulib style is to quote 'like this' when quoting
32249 code, and "like this" when quoting English.
32251 * time/mktime.c (compile-command): Add "-I.".
32253 mktime: merge mktime-internal.h change from gnulib
32254 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32256 mktime: merge time_r change from gnulib
32257 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32259 mktime: merge DEBUG change from gnulib
32260 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32261 case system <time.h> has a #define.
32263 mktime: merge <sys/types.h> change from gnulib
32264 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32265 since <time.t> is now guaranteed to define time_t.
32267 mktime: merge HAVE_CONFIG_H change from gnulib
32268 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32270 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32275 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32277 (struct rusage): Use anonymous union to pad each field to
32280 2012-05-21 David S. Miller <davem@davemloft.net>
32282 * Makefules (o-iterator): Remove .s cases.
32283 (compile-command.s): Delete.
32284 (COMPILE.s): Delete.
32285 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32287 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32289 * configure.in (libc_cv_predef_stack_protector): Only consider
32290 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32291 * configure: Regenerated.
32293 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32296 New macro. Use R*LP on int and pointer.
32297 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32298 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32299 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32300 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32302 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32303 [__WORDSIZE_TIME64_COMPAT32] instead of
32304 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32305 (struct utmp): Likewise.
32306 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32307 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32309 (__WORDSIZE_TIME64_COMPAT32): This.
32310 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32311 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32312 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32313 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32314 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32315 (__WORDSIZE_TIME64_COMPAT32): New macro.
32317 2012-05-21 Andreas Jaeger <aj@suse.de>
32319 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32320 only if [SHARED]. Add prototype for __wcschr_ia32.
32322 2012-05-21 Roland McGrath <roland@hack.frob.com>
32324 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32325 of %rbp unmolested in the jmp_buf while mangling the low bits.
32326 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32327 unmolested high bits of %rbp while demangling the low bits.
32328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32330 2012-05-21 Andreas Jaeger <aj@suse.de>
32332 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32333 * sunrpc/svc_simple.c: Use it for registerrpc.
32334 * sunrpc/xcrypt.c: Use it for passwd2des.
32336 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32338 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32340 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32341 Don't define if [__SYSCALL_WORDSIZE != 32].
32342 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32345 2012-05-21 Bruno Haible <bruno@clisp.org>
32346 Andreas Jaeger <aj@suse.de>
32348 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32349 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32350 inptr and inend for must_buffer_ch.
32351 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32352 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32353 * stdio-common/Makefile (tests): Remove bug15.
32354 (bug15-ENV): Remove macro.
32355 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32358 2012-05-19 Andreas Jaeger <aj@suse.de>
32359 Roland McGrath <roland@hack.frob.com>
32361 * manual/contrib.texi: Completely rewritten. It contains now an
32362 alphabetical list of contributors and their contributions.
32364 2012-05-21 Richard Henderson <rth@twiddle.net>
32366 * misc/getauxval.c (__getauxval): Use unsigned long int.
32367 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32368 (getauxval): Use unsigned long int.
32370 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32372 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32374 2012-05-21 Roland McGrath <roland@hack.frob.com>
32376 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32377 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32378 __alignof__ (long double).
32380 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32384 2012-05-20 Richard Henderson <rth@twiddle.net>
32386 * misc/getauxval.c: New file.
32387 * misc/sys/auxv.h: New file.
32388 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32389 (routines): Add getauxval.
32390 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32391 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32392 * elf/dl-sysdep.c (_dl_auxv): Remove.
32393 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32394 * elf/dl-support.c (_dl_auxv): New variable.
32395 (_dl_aux_init): Initialize it.
32396 * manual/startup.texi (Auxiliary Vector): New node.
32397 * sysdeps/generic/bits/hwcap.h: New file.
32398 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32399 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32400 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32401 * sysdeps/sparc/sysdep.h: ... here. Include it.
32402 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32403 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32415 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32419 2012-05-19 David S. Miller <davem@davemloft.net>
32421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32423 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32426 * math/s_ccosh.c: Include <float.h>
32427 (__ccosh): Avoid internal overflow calculating sinh and cosh
32428 values before multiplying by sin and cos values.
32429 * math/s_ccoshf.c: Likewise.
32430 * math/s_ccoshl.c: Likewise.
32431 * math/s_csin.c: Likewise.
32432 * math/s_csinf.c: Likewise.
32433 * math/s_csinl.c: Likewise.
32434 * math/s_csinh.c: Likewise.
32435 * math/s_csinhf.c: Likewise.
32436 * math/s_csinhl.c: Likewise.
32437 * math/libm-test.inc (ccos_test): Add more tests.
32438 (ccosh_test): Likewise.
32439 (csin_test): Likewise.
32440 (csinh_test): Likewise.
32441 * sysdeps/i386/fpu/libm-test-ulps: Update.
32442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32444 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32446 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32447 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32449 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32451 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32453 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32454 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32455 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32456 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32457 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32458 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32459 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32460 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32461 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32462 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32463 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32464 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32465 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32466 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32467 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32468 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32469 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32470 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32471 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32472 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32473 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32474 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32475 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32476 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32477 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32478 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32479 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32480 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32481 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32482 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32483 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32485 2012-05-18 Andreas Jaeger <aj@suse.de>
32487 * csu/.gitignore: Delete.
32489 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32491 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32492 (timex): Use __syscall_slong_t.
32494 2012-05-18 Andreas Jaeger <aj@suse.de>
32495 Carlos O'Donell <carlos_odonell@mentor.com>
32497 * manual/install.texi (Configuring and compiling): Update
32498 description about files modified in the source directory.
32499 * INSTALL: Regenerated.
32501 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32503 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32504 value. Use "or" to set return value to -1.
32505 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32506 negate return value.
32508 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32510 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32511 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32512 failure if the compiler has Graphite support disabled.
32513 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32515 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32516 (CFLAGS-memmove.c): Likewise.
32517 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32520 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32522 * sysdeps/x86_64/x32/_itoa.h: New file.
32524 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32525 getdents system call only if kernel and user dirents have the
32526 same d_ino and d_off.
32528 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32529 LLONG_MAX != LONG_MAX.
32530 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32531 (_fitoa_word): Likewise.
32533 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32535 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32536 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32537 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32539 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32540 include <bits/wordsize.h>. Check __x86_64__ instead of
32542 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32543 if __x86_64__ is defined. Use anonymous union on fpstate.
32545 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32548 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32550 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32551 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32552 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32553 Refer to _rtld_local_ro instead of _rtld_global_ro.
32554 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32556 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32558 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32560 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32561 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32562 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32564 * sysdeps/powerpc/powerpc32/dl-machine.c
32565 (__elf_machine_runtime_setup) [PROF]: Don't reference
32568 2012-05-18 Andreas Jaeger <aj@suse.de>
32570 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32571 function only available for GCCs before 3.4 since GCC 3.4
32572 introduced a builtin.
32574 (llrintf): Likewise.
32575 (llrint): Likewise.
32582 (nearbyint): Likewise.
32583 (nearbyintf): Likewise.
32587 (floorf): Likewise.
32589 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32591 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32592 on both fields and cast pointer to __syscall_ulong_t.
32594 * bits/types.h (__fsword_t): New type.
32595 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32596 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32597 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32598 (__FSWORD_T_TYPE): Likewise.
32599 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32600 (__FSWORD_T_TYPE): Likewise.
32601 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32602 (__FSWORD_T_TYPE): Likewise.
32603 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32604 (__FSWORD_T_TYPE): Likewise.
32605 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32606 __SWORD_TYPE with __fsword_t.
32607 (statfs64): Likewise.
32609 2012-05-17 David S. Miller <davem@davemloft.net>
32611 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32613 2012-05-17 Andreas Jaeger <aj@suse.de>
32615 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32618 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32620 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32622 2012-05-17 Andreas Jaeger <aj@suse.de>
32624 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32627 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32629 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32631 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32633 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32634 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32636 2012-05-17 Andreas Jaeger <aj@suse.de>
32637 Carlos O'Donell <carlos_odonell@mentor.com>
32640 * sysdeps/x86_64/multiarch/init-arch.h
32641 (bit_YMM_Usable): Rename to...
32642 (bit_AVX_Usable): ... this.
32643 (bit_FMA4_Usable): New macro.
32644 (bit_XMM_state): New macro.
32645 (bit_YMM_state): New macro.
32646 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32647 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32648 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32649 (CPUID_OSXSAVE): New macro.
32650 (CPUID_AVX): New macro.
32651 (CPUID_FMA4): New macro.
32652 (index_YMM_Usable): Rename to...
32653 (index_AVX_Usable): ... this.
32654 (HAS_AVX): Use HAS_ARCH_FEATURE.
32655 (HAS_FMA4): Likewise.
32656 (HAS_YMM_USABLE): Remove.
32657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32658 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32660 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32661 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32662 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32663 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32664 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32666 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32668 * math/libm-test.c: Support platforms without multiple rounding modes.
32669 * math/bug-nextafter.c: Support platforms without FP exceptions.
32670 * math/bug-nexttoward.c: Likewise.
32671 * math/test-fenv.c: Likewise.
32672 * math/test-misc.c: Likewise.
32673 * stdlib/bug-getcontext.c: Likewise.
32675 2012-05-17 Andreas Jaeger <aj@suse.de>
32677 * manual/examples/search.c (critter_cmp): Change signature to
32679 * manual/string.texi (Collation Functions): Likewise.
32681 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32683 * bits/types.h: Fold copyright years.
32684 * bits/typesizes.h: Likewise.
32685 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32689 * time/time.h: Likewise.
32691 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32694 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32695 in instead of returning them. Return void.
32696 (__libc_mallinfo): Accumulate over all arenas.
32697 (__malloc_stats): Adjust for change in int_mallinfo interface.
32699 2012-05-16 Roland McGrath <roland@hack.frob.com>
32702 * configure.in (NM): Add AC_CHECK_TOOL for it.
32703 (libc_extra_cflags): New substituted variable.
32704 Check for -fstack-protector being used implicitly.
32705 * configure: Regenerated.
32706 * config.make.in (config-extra-cflags): New variable,
32707 gets @libc_extra_cflags@.
32708 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32711 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32712 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32713 * configure: Regenerated.
32714 * config.make.in (CPPUNDEFS): New substituted variable.
32715 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32716 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32717 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32719 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32721 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32722 (mq_attr): Use __syscall_slong_t.
32724 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32726 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32727 Check __x86_64__ instead of __WORDSIZE.
32728 (_STAT_VER_LINUX): Likewise.
32729 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32730 __syscall_ulong_t and __syscall_slong_t.
32731 (stat64): Likewise.
32733 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32735 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32737 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32739 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32741 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32743 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32746 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32747 include <bits/wordsize.h>. Check __x86_64__ instead of
32749 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32751 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32753 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32754 include <bits/wordsize.h>. Check __x86_64__ instead of
32756 (user_regs_struct): Use "__extension__ unsigned long long"
32757 instead of "unsigned long" if __x86_64__ is defined.
32758 (user): Likewise. Pad after pointer field if __ILP32__ is
32761 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32763 * configure.in (makeinfo): Require version 4.5 or later. Allow
32765 * configure: Regenerated.
32766 * manual/install.texi (texinfo): Increase version requirement to
32768 * INSTALL: Regenerated.
32770 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32772 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32774 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32776 * sysdeps/x86_64/x32/ffs.c: New file.
32778 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32780 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32781 defined. Use __syscall_ulong_t.
32782 (shminfo): Use __syscall_ulong_t.
32783 (shm_info): Likewise.
32785 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32788 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32790 (msgqnum_t): Use __syscall_ulong_t.
32791 (msglen_t): Likewise.
32792 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32795 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32796 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32798 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32800 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32801 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32803 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32806 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32807 include <bits/wordsize.h>. Check __x86_64__ instead of
32810 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32811 "unsigned long long int" if __x86_64__ is defined.
32812 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32814 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32815 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32816 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32818 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32820 (GET_PC): Cast to uintptr_t first.
32821 (GET_FRAME): Likewise.
32822 (GET_STACK): Likewise.
32824 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32825 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32826 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32827 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32828 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32829 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32830 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32831 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32832 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32833 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32834 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32836 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32837 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32838 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32841 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32842 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32843 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32844 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32845 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32846 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32847 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32848 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32849 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32850 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32852 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32854 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32856 * Makerules (+depfiles): Also collect depfiles from .oS in
32858 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32859 .oS, $(libnldbl-routines)).
32861 * Makerules (native-compile-mkdep-flags): Define.
32862 * sunrpc/Makefile (extra-objs): Add $(addprefix
32863 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32864 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32865 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32866 calling $(make-target-directory).
32868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32870 * bits/types.h (__snseconds_t): Removed.
32871 * time/time.h (struct timespec): Replace __snseconds_t with
32873 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32874 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32877 (__SNSECONDS_T_TYPE): Likewise.
32878 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32879 (__SNSECONDS_T_TYPE): Likewise.
32880 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32881 (__SNSECONDS_T_TYPE): Likewise.
32883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32885 * sysdeps/mach/hurd/bits/typesizes.h
32886 (__SYSCALL_SLONG_TYPE): New macro.
32887 (__SYSCALL_ULONG_TYPE): Likewise.
32889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32891 * bits/types.h (__syscall_slong_t): New type.
32892 (__syscall_ulong_t): Likewise.
32894 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32895 (__SYSCALL_ULONG_TYPE): Likewise.
32896 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32897 (__SYSCALL_SLONG_TYPE): Likewise.
32898 (__SYSCALL_ULONG_TYPE): Likewise.
32899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32900 (__SYSCALL_SLONG_TYPE): Likewise.
32901 (__SYSCALL_ULONG_TYPE): Likewise.
32902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32903 (__SYSCALL_SLONG_TYPE): Likewise.
32904 (__SYSCALL_ULONG_TYPE): Likewise.
32906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32908 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32909 Add sigaltstack-offsets.sym.
32910 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32911 <sigaltstack-offsets.h>.
32912 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32913 longjmp_msg pointer.
32914 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32915 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32917 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32919 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32921 * elf/stackguard-macros.h: Remove file.
32922 * sysdeps/generic/stackguard-macros.h: New file.
32923 * sysdeps/i386/stackguard-macros.h: Likewise.
32924 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32925 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32926 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32927 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32928 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32929 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32930 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32931 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32932 <elf/stackguard-macros.h>.
32935 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32936 __aligned__ in attribute.
32937 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32938 (gregset_t): Likewise.
32940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32942 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32943 * sysdeps/x86_64/64/Implies-after: Here. New file.
32944 * sysdeps/x86_64/x32/Implies-after: New file.
32946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32948 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32949 and access return value for _dl_profile_fixup. Use R10_LP to
32952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32954 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32958 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32959 * sysdeps/x86_64/x32/sysdep.h: New file.
32961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32963 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32964 * sysdeps/x86_64/setjmp.S: Likewise.
32966 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32968 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32969 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32970 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32971 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32972 remove unused global constant.
32974 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32976 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32977 include of <not-cancel.h>.
32979 2012-05-15 Roland McGrath <roland@hack.frob.com>
32981 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32983 2012-05-15 Jeff Law <law@redhat.com>
32984 Andreas Jaeger <aj@suse.de>
32987 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32989 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32990 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32991 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32992 code changing __hst_map_handle.map.
32994 2012-05-15 Roland McGrath <roland@hack.frob.com>
32996 * configure.in (sysnames): Look for Implies-before and Implies-after
32998 * configure: Regenerated.
33000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33002 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33003 8-byte data alignment with LP_SIZE alignment.
33005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33007 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33012 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33016 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33017 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33018 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33020 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33024 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33025 (stackinfo_sub_sp): Likewise.
33027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33029 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33034 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33044 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33048 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33049 into R11_LP and load __x86_64_shared_cache_size_half into
33052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33054 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33057 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33061 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33065 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33066 powerpc32/power7/fpu/s_logb.c via #include.
33067 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33068 powerpc32/power7/fpu/s_logbf.c via #include.
33069 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33070 powerpc32/power7/fpu/s_logbl.c via #include.
33072 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33074 * README.libm: Remove file.
33076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33078 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33079 count for x32. Use R*_LP and omit operand-size suffix.
33081 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33083 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33084 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33085 * sysdeps/x86_64/x32/shlib-versions: New file.
33087 2012-05-14 Roland McGrath <roland@hack.frob.com>
33089 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33090 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33091 Use _dl_fatal_printf instead.
33093 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33095 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33096 set if not set by the user. Do not allow for being unset.
33097 * sysdeps/unix/sysv/linux/configure: Regenerated.
33099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33101 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33102 the `q' suffix from lea and replace .quad with ASM_ADDR.
33104 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33107 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33109 (PTR_DEMANGLE): Likewise.
33111 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33113 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33115 (ASM_ADDR): Likewise.
33116 (RAX_LP): Likewise.
33117 (RBP_LP): Likewise.
33118 (RBX_LP): Likewise.
33119 (RCX_LP): Likewise.
33120 (RDI_LP): Likewise.
33121 (RSI_LP): Likewise.
33122 (RSP_LP): Likewise.
33125 (R10_LP): Likewise.
33126 (R10_LP): Likewise.
33127 (R11_LP): Likewise.
33128 (R12_LP): Likewise.
33129 (R13_LP): Likewise.
33130 (R14_LP): Likewise.
33131 (R15_LP): Likewise.
33133 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33135 * sysdeps/x86_64/x32/dl-machine.h: New file.
33137 2012-05-14 Andreas Jaeger <aj@suse.de>
33139 * manual/Makefile (subdir): Remove export of subdir.
33140 (all): Remove target.
33141 (.PHONY): Remove all from list.
33142 (mkinstalldirs): Remove.
33143 (.PHONY): Remove installdirs from list.
33144 ($(inst_infodir)/libc.info): Use make-target-directory.
33145 (installdirs): Remove.
33146 (subdir_%): Remove.
33147 (glibc-targets): Remove.
33150 ($(objpfx)stubs ../po/manual.pot): Remove.
33151 ($(objpfx)stamp%): Remove.
33152 (make-target-directory): Remove.
33153 (subdir_install): Remove.
33154 (routines): Remove.
33161 * manual/.gitignore: Remove, it's not needed anymore.
33162 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33164 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33166 (texis): Renamed to $(objpfx)texis.
33167 (texis-path): New, contains path to generated files.
33168 (chapters.%): Use texis-path for complete path, add extra argument
33170 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33171 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33172 (summary,texi, stamp-summary): Use complete path of
33173 files. Generate files in build dir.
33174 (dir-add.texi): Build in build dir.
33175 (libm-err.texi,stamp-libm-err): Likewise.
33176 (version.texi, stamp-version): Likewise.
33177 (.%c.texi): Likewise.
33178 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33179 (mostlyclean): Remove target.
33180 (realclean): Remove target.
33181 (generated): Add new variable with contents from mostlyclean and
33182 realclean, remove entries duplicated in common-mostlyclean, add
33183 stamp-libm-err and stamp-version.
33184 (generated-dirs): Add libc directory.
33185 ($(inst_infodir)/libc.info): Install files from build dir.
33187 * manual/install.texi (Configuring and compiling): Adjust since
33188 the info files are not part of the tar ball anymore.
33190 2012-05-14 Andreas Jaeger <aj@suse.de>
33192 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33195 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33199 to 2.2.0 where earlier.
33200 * sysdeps/unix/sysv/linux/configure: Regenerated.
33201 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33202 Remove conditional code.
33203 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33204 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33205 Remove conditional code.
33206 [!__NR_lchown]: Likewise.
33207 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33208 [__NR_lchown]: Likewise.
33209 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33210 comment referencing __ASSUME_LCHOWN_SYSCALL.
33211 * sysdeps/unix/sysv/linux/i386/sigaction.c
33212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33214 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33215 Remove conditional code.
33216 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33217 (__protocol_available): Remove #if 0 code.
33218 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33220 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33221 * sysdeps/unix/sysv/linux/kernel-features.h
33222 (__ASSUME_GETCWD_SYSCALL): Don't define.
33223 (__ASSUME_REALTIME_SIGNALS): Likewise.
33224 (__ASSUME_PREAD_SYSCALL): Likewise.
33225 (__ASSUME_PWRITE_SYSCALL): Likewise.
33226 (__ASSUME_POLL_SYSCALL): Likewise.
33227 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33228 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33230 (__ASSUME_SIOCGIFNAME): Don't define.
33231 (__ASSUME_MSG_NOSIGNAL): Likewise.
33232 (__ASSUME_SENDFILE): Define unconditionally.
33233 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33234 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33236 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33237 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33238 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33239 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33240 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33241 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33242 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33247 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33253 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33256 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33259 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33265 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33267 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33268 Remove conditional code.
33269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33270 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33271 Remove conditional code.
33272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33273 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33274 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33275 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33276 Remove conditional code.
33277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33278 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33279 Remove conditional code.
33280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33281 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33282 Remove conditional code.
33283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33284 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33285 Remove conditional code.
33286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33287 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33288 Remove conditional code.
33289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33290 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33293 * sysdeps/unix/sysv/linux/sigaction.c
33294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33296 * sysdeps/unix/sysv/linux/sigpending.c
33297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33299 * sysdeps/unix/sysv/linux/sigprocmask.c
33300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33302 * sysdeps/unix/sysv/linux/sigsuspend.c
33303 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33304 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33305 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33306 (__libc_missing_rt_sigs): Remove.
33307 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33308 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33309 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33310 Remove conditional code.
33311 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33312 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33314 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33315 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33316 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33317 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33319 2012-05-14 Andreas Jaeger <aj@suse.de>
33321 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33322 it's not used in glibc.
33323 (__coshm1): Likewise.
33324 (__acosh1p): Likewise.
33327 * manual/string.texi (Copying and Concatenation): Add missing
33328 variable in concat example.
33329 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33331 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33334 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33335 __builtin_clzl with __builtin_clzll.
33337 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33340 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33343 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33345 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33346 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33347 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33348 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33350 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33352 * NEWS: Update ia64 info.
33354 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33356 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33359 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33361 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33362 * sysdeps/unix/syscalls.list (dup3): Likewise.
33363 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33364 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33366 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33368 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33369 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33371 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33373 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33375 (TLS_IE): Use mov/add instead of movq/addq to load thread
33377 (TLS_GD_PREFIX): New.
33380 2012-05-11 David S. Miller <davem@davemloft.net>
33382 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33383 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33384 (_FPU_SETCW): Likewise.
33386 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33388 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33389 is 32-byte aligned.
33391 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33394 * iconvdata/gb18030.c: Update tables.
33395 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33396 characters specially.
33397 (BODY for TO_LOOP): Add encoding of missing ranges.
33399 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33402 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33403 * sysdeps/mach/hurd/dup3.c: Likewise.
33404 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33405 * sysdeps/powerpc/memmove.c:: Likewise.
33407 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33409 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33410 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33412 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33414 * elf/elf.h (R_X86_64_RELATIVE64): New.
33415 (R_X86_64_NUM): Updated.
33416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33417 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33418 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33419 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33420 tst-quad1pie tst-quad2pie
33421 (modules-names): Add tst-quadmod1 tst-quadmod2.
33422 ($(objpfx)tst-quad1): New dependency.
33423 ($(objpfx)tst-quad2): Likewise.
33424 ($(objpfx)tst-quad1pie): Likewise.
33425 ($(objpfx)tst-quad2pie): Likewise.
33426 * sysdeps/x86_64/tst-quad1.c: New file.
33427 * sysdeps/x86_64/tst-quad1pie.c: New file.
33428 * sysdeps/x86_64/tst-quad2.c: Likewise.
33429 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33430 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33431 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33432 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33433 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33437 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33438 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33439 * streams/stropts.h (t_scalar_t): Define type.
33441 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33442 (_PATH_PRESERVE): Set to "/var/lib".
33443 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33445 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33448 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33449 if __dir_mkfile succeeded.
33451 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33452 checking for _hurd_dtablesize. Unlock it right after having
33453 finished _hurd_dtable allocation.
33455 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33457 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33458 * sysdeps/mach/hurd/configure: Regenerated.
33459 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33460 special-casing to...
33461 * sysdeps/gnu/configure.in: ... this new file.
33462 * sysdeps/unix/sysv/linux/configure: Regenerated.
33463 * sysdeps/gnu/configure: New generated file.
33465 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33466 for Linux: use nsec instead of usec, as well as:
33467 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33468 members of type struct timespec.
33469 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33471 (struct stat64): Likewise.
33472 (_STATBUF_ST_NSEC): New macro.
33473 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33475 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33476 __strtoul_internal rather than strtoul.
33478 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33480 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33483 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33485 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33486 which preserves existing values.
33487 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33489 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33491 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33492 TIMEOUT values. Return EINVAL for NFDS values either negative or
33493 greater than FD_SETSIZE.
33495 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33497 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33498 allocated, call __vm_protect to finish enabling the existing space, and
33499 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33500 allocate the remainder.
33502 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33504 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33505 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33509 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33510 sysdeps/mach/hurd/readlink.c.
33512 * posix/tst-sysconf.c (posix_options): Only use
33513 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33514 _POSIX_SYNCHRONIZED_IO when they are defined
33515 * sysdeps/mach/hurd/bits/posix_opt.h:
33516 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33517 (_XOPEN_REALTIME): Undefine macro.
33518 (_XOPEN_REALTIME_THREADS): Undefine macro.
33519 (_XOPEN_SHM): Undefine macro.
33520 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33522 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33524 (_POSIX_ASYNC_IO): Undefine macro.
33525 (_POSIX_PRIORITIZED_IO): Undefine macro.
33526 (_POSIX_SPIN_LOCKS): Define macro to -1.
33528 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33529 SA_NODEFER, SA_RESETHAND.
33530 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33531 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33536 * elf/Makefile (pldd-modules): Define unconditionally.
33538 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33540 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33544 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33545 Return ENOENT when name is empty.
33546 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33548 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33550 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33552 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33556 Fix mlock in all cases except non-readable pages.
33557 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33558 instead of VM_PROT_ALL as parameter to __vm_wire function.
33560 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33561 (__mkdir): When path is `/', just fail with EEXIST.
33562 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33564 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33566 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33567 <sys/uio.h> (for writev).
33568 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33569 and <sys/param.h> (for MIN).
33571 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33573 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33574 REQUESTED_TIME. Properly set the remaining time and return EINTR
33577 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33579 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33580 Depend on against $(link-rpcuserlibs).
33582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33584 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33585 (__libc_stack_end): Do not use attribute_relro.
33586 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33587 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33588 to libthread-provided value.
33589 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33592 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33595 * bits/libc-lock.h (__libc_once_get): New macro.
33596 * sysdeps/mach/bits/libc-lock.h: Likewise.
33597 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33598 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33599 instead of using implementation details.
33601 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33602 * libio/freopen.c: Likewise.
33603 * libio/freopen64.c: Likewise.
33604 * misc/syslog.c: Likewise.
33605 * nscd/connections.c: Likewise.
33606 * nscd/netgroupcache.c: Likewise.
33607 * sysdeps/posix/getcwd.c: Likewise.
33609 2012-05-10 Roland McGrath <roland@hack.frob.com>
33611 * math/w_ilogbf.c: Add #include <limits.h>.
33613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33615 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33616 path instead of returning without unlocking.
33618 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33619 immediate-write ioctls.
33620 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33622 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33624 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33625 __builtin_frame_address instead of making assumptions about the
33626 location of the return address relative to DATA. Force early load of
33627 the return address.
33628 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33629 __builtin_frame_address.
33632 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33633 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33634 implement dup3 and do some further code clean-ups.
33635 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33636 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33640 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33642 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33643 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33644 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33645 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33646 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33649 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33650 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33651 when handler == SIG_ERR, not when handler != SIG_ERR.
33653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33655 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33656 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33659 accept4 for GNU Hurd.
33660 * include/sys/socket.h (__libc_accept4): New prototype.
33661 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33662 to implement __libc_accept4.
33663 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33665 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33667 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33668 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33669 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33670 signal-defines.sym.
33672 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33674 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33676 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33678 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33679 assertion on O_CLOEXEC flag.
33680 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33681 * hurd/intern-fd.c: Likewise.
33682 * hurd/port2fd.c: Likewise.
33684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33687 * bits/in.h (IPV6_PKTINFO): Define new macro.
33688 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33690 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33695 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33697 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33700 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33701 * math/libm-test.inc (logb_test) : Additional logb tests.
33703 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33704 Andreas Jaeger <aj@suse.de>
33706 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33707 * configure: Regenerated.
33708 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33709 * config.make.in (link-obsolete-rpc): New substituted variable.
33710 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33711 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33712 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33713 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33714 so that libc.a contains the symbols.
33715 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33716 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33717 * sunrpc/auth_none.c: Likewise.
33718 * sunrpc/auth_unix.c: Likewise.
33719 * sunrpc/authdes_prot.c: Likewise.
33720 * sunrpc/authuxprot.c: Likewise.
33721 * sunrpc/clnt_gen.c: Likewise.
33722 * sunrpc/clnt_perr.c: Likewise.
33723 * sunrpc/clnt_raw.c: Likewise.
33724 * sunrpc/clnt_simp.c: Likewise.
33725 * sunrpc/clnt_tcp.c: Likewise.
33726 * sunrpc/clnt_udp.c: Likewise.
33727 * sunrpc/clnt_unix.c: Likewise.
33728 * sunrpc/des_crypt.c: Likewise.
33729 * sunrpc/des_soft.c: Likewise.
33730 * sunrpc/get_myaddr.c: Likewise.
33731 * sunrpc/key_call.c: Likewise.
33732 * sunrpc/key_prot.c: Likewise.
33733 * sunrpc/netname.c: Likewise.
33734 * sunrpc/pm_getmaps.c: Likewise.
33735 * sunrpc/pm_getport.c: Likewise.
33736 * sunrpc/pmap_clnt.c: Likewise.
33737 * sunrpc/pmap_prot.c: Likewise.
33738 * sunrpc/pmap_prot2.c: Likewise.
33739 * sunrpc/pmap_rmt.c: Likewise.
33740 * sunrpc/publickey.c: Likewise.
33741 * sunrpc/rpc_cmsg.c: Likewise.
33742 * sunrpc/rpc_common.c: Likewise.
33743 * sunrpc/rpc_dtable.c: Likewise.
33744 * sunrpc/rpc_prot.c: Likewise.
33745 * sunrpc/rpc_thread.c: Likewise.
33746 * sunrpc/rtime.c: Likewise.
33747 * sunrpc/svc.c: Likewise.
33748 * sunrpc/svc_auth.c: Likewise.
33749 * sunrpc/svc_raw.c: Likewise.
33750 * sunrpc/svc_run.c: Likewise.
33751 * sunrpc/svc_tcp.c: Likewise.
33752 * sunrpc/svc_udp.c: Likewise.
33753 * sunrpc/svc_unix.c: Likewise.
33754 * sunrpc/svcauth_des.c: Likewise.
33755 * sunrpc/xcrypt.c: Likewise.
33756 * sunrpc/xdr.c: Likewise.
33757 * sunrpc/xdr_array.c: Likewise.
33758 * sunrpc/xdr_float.c: Likewise.
33759 * sunrpc/xdr_intXX_t.c: Likewise.
33760 * sunrpc/xdr_mem.c: Likewise.
33761 * sunrpc/xdr_rec.c: Likewise.
33762 * sunrpc/xdr_ref.c: Likewise.
33763 * sunrpc/xdr_sizeof.c: Likewise.
33764 * sunrpc/xdr_stdio.c: Likewise.
33766 2012-05-10 Roland McGrath <roland@hack.frob.com>
33768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33769 change. Update copyright years.
33771 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33773 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33775 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33776 Joseph Myers <joseph@codesourcery.com>
33777 Paul Pluzhnikov <ppluzhnikov@google.com>
33780 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33782 [cross-compiling] (extra-libs): Likewise.
33783 [cross-compiling] (extra-libs-others): Likewise.
33784 [cross-compiling] (librpcsvc-routines): Likewise.
33785 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33786 [cross-compiling] (omit-deps): Likewise.
33787 (sunrpc-CPPFLAGS): New variable.
33788 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33789 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33790 (cross-rpcgen-objs): New variable.
33791 (extra-objs): Append $(cross-rpcgen-objs).
33792 ($(cross-rpcgen-objs)): New rule.
33793 ($(objpfx)cross-rpcgen): Likewise.
33794 (rpcgen-cmd): Define to use $(built-program-file). Expand
33796 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33797 ($(objpfx)x%.stmp): Likewise.
33798 * sunrpc/proto.h [IS_IN_build] (_): Define.
33799 [IS_IN_build] (_libc_intl_domainname): Likewise.
33801 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33803 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33804 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33805 and R_X86_64_TPOFF64.
33807 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33809 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33810 sysdeps/unix/sysv/syscalls.list.
33813 * sysdeps/unix/sysv/syscalls.list: Remove file.
33815 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33818 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33819 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33820 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33821 (__LC_IDENTIFICATION): Make these macros useful in #if
33822 expressions, as required by C99.
33824 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33826 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33827 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33830 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33832 * stdlib/longlong.h: Updated from GCC.
33834 2012-05-09 Andreas Jaeger <aj@suse.de>
33836 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33837 default is first entry.
33838 (run_mode): Set type.
33839 (main): Remove informal message about syslog.
33840 (options): Fix typo.
33843 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33846 (llrintf): Likewise.
33847 (llrint): Likewise.
33850 (nearbyint): Likewise.
33851 (nearbyintf): Likewise.
33853 2012-05-09 Andreas Jaeger <aj@suse.de>
33854 Pedro Alves <palves@redhat.com>
33856 * nscd/nscd.c (run_mode): Use enum.
33857 (main): Cleanup coding style issue.
33859 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33860 Andreas Jaeger <aj@suse.de>
33862 * nscd/nscd.c (go_background): Replaced with...
33863 (run_mode): ... this.
33864 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33865 (options): Add -F --foreground.
33866 (main): Implement it.
33867 (parse_opt): Parse it.
33869 2012-05-09 Andreas Jaeger <aj@suse.de>
33872 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33873 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33874 -Wconversion warning.
33875 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33878 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33880 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33882 (LC_ALL): Use macro-int-constant.
33883 (LC_COLLATE): Likewise.
33884 (LC_CTYPE): Likewise.
33885 (LC_MESSAGES): Likewise.
33886 (LC_MONETARY): Likewise.
33887 (LC_NUMERIC): Likewise.
33888 (LC_TIME): Likewise.
33889 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33890 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33891 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33892 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33894 [C99-based standards] (float_t): Expect type.
33895 [C99-based standards] (double_t): Expect type.
33896 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33898 [C99-based standards] (HUGE_VALL): Likewise.
33899 [C99-based standards] (INFINITY): Likewise.
33900 [C99-based standards] (NAN): Likewise.
33901 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33902 [C99-based standards] (FP_NAN): Likewise.
33903 [C99-based standards] (FP_NORMAL): Likewise.
33904 [C99-based standards] (FP_SUBNORMAL): Likewise.
33905 [C99-based standards] (FP_ZERO): Likewise.
33906 [C99-based standards] (FP_FAST_FMA): Use
33907 optional-macro-int-constant. Specify type. Require == 1.
33908 [C99-based standards] (FP_FAST_FMAF): Likewise.
33909 [C99-based standards] (FP_FAST_FMAL): Likewise.
33910 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33911 [C99-based standards] (FP_ILOGBNAN): Likewise.
33912 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33914 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33915 [C99-based standards] (math_errhandling): Specify type.
33916 [ISO99 || ISO11] (signgam): Do not allow.
33917 [non-C99-based standards] (copysignf): Do not allow.
33918 [non-C99-based standards] (exp2f): Likewise.
33919 [non-C99-based standards] (log2f): Likewise.
33920 [non-C99-based standards] (modff): Allow.
33921 [non-C99-based standards] (erff): Do not allow.
33922 [non-C99-based standards] (erfcf): Likewise.
33923 [non-C99-based standards] (gammaf): Likewise.
33924 [non-C99-based standards] (hypotf): Likewise.
33925 [non-C99-based standards] (j0f): Likewise.
33926 [non-C99-based standards] (j1f): Likewise.
33927 [non-C99-based standards] (jnf): Likewise.
33928 [non-C99-based standards] (lgammaf): Likewise.
33929 [non-C99-based standards] (tgammaf): Likewise.
33930 [non-C99-based standards] (y0f): Likewise.
33931 [non-C99-based standards] (y1f): Likewise.
33932 [non-C99-based standards] (ynf): Likewise.
33933 [non-C99-based standards] (isnanf): Likewise.
33934 [non-C99-based standards] (acoshf): Likewise.
33935 [non-C99-based standards] (asinhf): Likewise.
33936 [non-C99-based standards] (atanhf): Likewise.
33937 [non-C99-based standards] (cbrtf): Likewise.
33938 [non-C99-based standards] (expm1f): Likewise.
33939 [non-C99-based standards] (ilogbf): Likewise.
33940 [non-C99-based standards] (log1pf): Likewise.
33941 [non-C99-based standards] (logbf): Likewise.
33942 [non-C99-based standards] (nextafterf): Likewise.
33943 [non-C99-based standards] (remainderf): Likewise.
33944 [non-C99-based standards] (rintf): Likewise.
33945 [non-C99-based standards] (scalbf): Likewise.
33946 [non-C99-based standards] (copysignl): Likewise.
33947 [non-C99-based standards] (exp2l): Likewise.
33948 [non-C99-based standards] (log2l): Likewise.
33949 [non-C99-based standards] (modfl): Allow.
33950 [non-C99-based standards] (erfl): Do not allow.
33951 [non-C99-based standards] (erfcl): Likewise.
33952 [non-C99-based standards] (gammal): Likewise.
33953 [non-C99-based standards] (hypotl): Likewise.
33954 [non-C99-based standards] (j0l): Likewise.
33955 [non-C99-based standards] (j1l): Likewise.
33956 [non-C99-based standards] (jnl): Likewise.
33957 [non-C99-based standards] (lgammal): Likewise.
33958 [non-C99-based standards] (tgammal): Likewise.
33959 [non-C99-based standards] (y0l): Likewise.
33960 [non-C99-based standards] (y1l): Likewise.
33961 [non-C99-based standards] (ynl): Likewise.
33962 [non-C99-based standards] (isnanl): Likewise.
33963 [non-C99-based standards] (acoshl): Likewise.
33964 [non-C99-based standards] (asinhl): Likewise.
33965 [non-C99-based standards] (atanhl): Likewise.
33966 [non-C99-based standards] (cbrtl): Likewise.
33967 [non-C99-based standards] (expm1l): Likewise.
33968 [non-C99-based standards] (ilogbl): Likewise.
33969 [non-C99-based standards] (log1pl): Likewise.
33970 [non-C99-based standards] (logbl): Likewise.
33971 [non-C99-based standards] (nextafterl): Likewise.
33972 [non-C99-based standards] (remainderl): Likewise.
33973 [non-C99-based standards] (rintl): Likewise.
33974 [non-C99-based standards] (scalbl): Likewise.
33975 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33976 [non-C99-based standards] (FP_*): Do not allow.
33977 [C99-based standards] (FP_*): Change to
33978 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33979 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33981 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33982 (SIG_ERR): Likewise.
33983 [X/Open-based standards] (SIG_HOLD): Likewise.
33984 (SIG_IGN): Likewise.
33985 (SIGABRT): Use macro-int-constant. Specify type. Require
33987 (SIGFPE): Likewise.
33988 (SIGILL): Likewise.
33989 (SIGINT): Likewise.
33990 (SIGSEGV): Likewise.
33991 (SIGTER): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34010 [X/Open-based standards] (SIGTRAP): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34015 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34018 2012-05-08 Ian Wienand <ianw@vmware.com>
34021 * time/tzset.c (__tzset_parse_tz): Update default rules for
34022 daylight time changes in the Energy Policy Act of 2005.
34024 2012-05-09 Andreas Jaeger <aj@suse.de>
34027 * elf/ldconfig.c (parse_conf): Change string to make clear that
34028 ldconfig only issued a warning if ld.so.conf does not exist.
34030 2012-05-08 David S. Miller <davem@davemloft.net>
34032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34033 movxtod instead of popping the value on the stack.
34035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34037 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34039 * config.h.in: Add HAVE_ARM_PCS_VFP.
34041 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34044 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34045 checking but the checks are disabled for any reason.
34047 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34049 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34050 and ELF64_R_TYPE with ELFW(R_TYPE).
34052 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34054 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34055 (ulimit): Likewise.
34057 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34058 (settimeofday): Likewise.
34060 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34062 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34063 a struct th_u2 inside the union, and move tu_block/tu_code into
34064 a new th_u3 union of tu_block/tu_code inside of that. Move
34065 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34066 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34067 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34068 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34069 (th_stuff): Change to th_u1.tu_stuff.
34071 (th_msg): Change to th_u1.th_u2.tu_data.
34073 2012-05-07 David S. Miller <davem@davemloft.net>
34075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34078 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34079 (SETUP_PIC_REG): Use it.
34080 (SETUP_PIC_REG_LEAF): Use it.
34082 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34086 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34088 (EXPL_FINITE): Likewise.
34089 (FLDLOG): Likewise.
34090 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34091 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34093 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34095 (EXPL_FINITE): Likewise.
34096 (FLDLOG): Likewise.
34097 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34098 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34100 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34101 test of -max_value argument for long double.
34102 * sysdeps/i386/fpu/libm-test-ulps: Update.
34103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34105 2012-05-06 David S. Miller <davem@davemloft.net>
34107 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34108 quad soft-float symbols whose references which are compiler
34110 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34112 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34116 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34118 (EXPL_FINITE): Likewise.
34119 (FLDLOG): Likewise.
34122 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34123 Adjust comments for base varying.
34124 (__expl_finite): Change alias to EXPL_FINITE.
34125 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34127 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34128 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34130 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34131 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34133 (EXPL_FINITE): Likewise.
34134 (FLDLOG): Likewise.
34137 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34138 Adjust comments for base varying.
34139 (__expl_finite): Change alias to EXPL_FINITE.
34140 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34145 * math/libm-test.inc (check_float_internal): Correct ulp
34146 calculation for subnormal expected results.
34148 2012-05-06 Andreas Jaeger <aj@suse.de>
34150 * Makeconfig (+math-flags): New, set to -frounding-math.
34151 (+cflags): Add +math-flags so that all of glibc gets compiled with
34154 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34156 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34158 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34164 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34165 (__ieee754_expl): Allow for and saturate large arguments.
34166 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34167 (u_threshold): Likewise.
34168 (__exp): Call __ieee754_exp before checking for overflow and
34170 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34171 (u_threshold): Likewise.
34172 (__expf): Call __ieee754_expf before checking for overflow and
34174 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34175 (u_threshold): Likewise.
34176 (__expl): Call __ieee754_expl before checking for overflow and
34178 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34179 (__ieee754_expl): Allow for and saturate large arguments.
34180 * math/libm-test.inc (exp_test): Add another test. Do not allow
34181 missing overflow exception on overflow.
34182 (expm1_test): Do not allow missing overflow exception on overflow.
34184 * sysdeps/i386/fpu/e_expl.c: Move to ...
34185 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34186 rather than using inline asm.
34187 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34188 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34189 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34191 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34194 (signal): Likewise.
34198 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34200 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34201 sysdeps/unix/common/syscalls.list.
34202 (fchmod): Likewise.
34203 (fchown): Likewise.
34204 (ftruncate): Likewise.
34205 (getrusage): Likewise.
34206 (gettimeofday): Likewise.
34207 (setpgid): Likewise.
34208 (setregid): Likewise.
34209 (setreuid): Likewise.
34210 (sigaction): Likewise.
34211 (truncate): Likewise.
34212 (vhangup): Likewise.
34213 * sysdeps/unix/common/syscalls.list: Remove file.
34214 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34215 * sysdeps/unix/sysv/linux/Implies: Likewise.
34217 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34219 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34221 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34225 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34228 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34231 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34234 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34237 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34240 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34243 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34247 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34251 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34254 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34258 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34262 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34264 * sysdeps/unix/common/bits/dirent.h: Remove file.
34265 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34267 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34268 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34269 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34270 * sysdeps/unix/bsd/isatty.c: Likewise.
34271 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34272 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34273 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34275 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34278 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34279 long double comparison inaccuracies.
34280 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34283 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34285 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34288 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34291 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34292 nonzero digits before rounding a hex value.
34293 * stdlib/tst-strtod.c (tests): Add another test.
34295 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34297 * sysdeps/s390/fpu/libm-test-ulps: Update.
34299 2012-05-03 Andreas Jaeger <aj@suse.de>
34301 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34302 does not get optimized out.
34303 (malloc_opt_barrier): New.
34305 2012-05-03 Andreas Jaeger <aj@suse.de>
34306 Roland McGrath <roland@hack.frob.com>
34308 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34309 intermediate file deletion.
34310 (generated): Add .symlist files.
34312 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34315 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34316 Redirect under this condition.
34317 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34318 [__USE_GNU] (__dprintf_chk): Not under this condition.
34319 [__USE_GNU] (__vdprintf_chk): Likewise.
34320 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34321 under this condition.
34322 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34323 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34324 [__USE_XOPEN2K8] (vdprintf): Likewise.
34325 [__USE_GNU] (__dprintf_chk): Not under this condition.
34326 [__USE_GNU] (__vdprintf_chk): Likewise.
34327 [__USE_GNU] (dprintf): Likewise.
34328 [__USE_GNU] (vdprintf): Likewise.
34330 2012-05-03 Roland McGrath <roland@hack.frob.com>
34332 * elf/Makefile (common-generated): Set this instead of generated for
34333 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34334 $(all-built-dso)-derived lists.
34336 2012-05-03 Andreas Jaeger <aj@suse.de>
34338 * sysdeps/i386/fpu/libm-test-ulps: Update.
34341 * FAQ.in: Likewise.
34342 * scripts/gen-FAQ.pl: Likewise.
34343 * manual/install.texi (Installation): Point to online location of
34345 * Makefile (files-for-dist): Remove FAQ.
34348 2012-05-02 Allan McRae <allan@archlinux.org>
34350 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34351 (LDFLAGS-reldepmod5.so): Likewise.
34352 (LDFLAGS-reldep6mod1.so): Likewise.
34353 (LDFLAGS-reldep6mod4.so): Likewise.
34354 (LDFLAGS-reldep8mod3.so): Likewise.
34355 (LDFLAGS-unload4mod1.so): Likewise.
34356 (LDFLAGS-unload4mod2.so): Likewise.
34357 (LDFLAGS-tst-initorder): Likewise.
34358 (LDFLAGS-tst-initordera2.so): Likewise.
34359 (LDFLAGS-tst-initordera3.so): Likewise.
34360 (LDFLAGS-tst-initordera4.so): Likewise.
34361 (LDFLAGS-tst-initorderb2.so): Likewise.
34362 (LDFLAGS-noload): Likewise.
34363 (LDFLAGS-next): Likewise.
34364 (LDFLAGS-order2mod1.so): Likewise.
34365 (LDFLAGS-order2mod2.so): Likewise.
34366 (LDFLAGS-tst-initorder2): Likewise.
34367 (LDFLAGS-tst-initorder2a.so): Likewise.
34368 (LDFLAGS-tst-initorder2b.so): Likewise.
34369 (LDFLAGS-tst-initorder2c.so): Likewise.
34370 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34372 2012-05-02 David S. Miller <davem@davemloft.net>
34374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34376 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34379 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34381 2012-05-02 Andreas Jaeger <aj@suse.de>
34383 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34384 since we manipulate rounding mode.
34385 (CPPFLAGS-test-idouble.c): Likewise.
34386 (CPPFLAGS-test-ifloat.c): Likewise.
34387 (CFLAGS-test-ldouble.c): Likewise.
34388 (CFLAGS-test-double.c): Likewise.
34389 (CFLAGS-test-float.c): Likewise.
34390 (CFLAGS-test-misc.c): Likewise.
34391 (CFLAGS-test-test-fenv.c): Likewise.
34393 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34397 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34398 comparisons to determine direction to adjust input.
34400 2012-05-01 Roland McGrath <roland@hack.frob.com>
34402 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34403 output to the target.
34405 * scripts/localplt.awk: New file.
34406 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34407 (check-localplt-CFLAGS): Variable removed.
34408 ($(all-built-dso:=.jmprel)): New static pattern rule.
34409 (generated): Add those targets.
34410 (localplt-built-dso): New variable.
34411 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34413 * elf/check-localplt.c: File removed.
34415 * scripts/check-execstack.awk: New file.
34416 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34417 (check-execstack-CFLAGS): Variable removed.
34418 ($(objpfx)check-execstack.h): Target removed.
34419 ($(objpfx)execstack-default): New target.
34420 (generated): Add that instead of check-execstack.h.
34421 ($(all-built-dso:=.phdr)): New static pattern rule.
34422 (generated): Add those targets.
34423 * elf/check-execstack.c: File removed.
34425 * scripts/check-textrel.awk: New file.
34426 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34427 (check-textrel-CFLAGS): Variable removed.
34428 (all-built-dso): Use := to define.o
34429 ($(all-built-dso:=.dyn)): New static pattern rule.
34430 (generated): Add those targets.
34431 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34432 * config.make.in (READELF): New substituted variable.
34433 * elf/check-textrel.c: File removed.
34435 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34437 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34439 * conform/data/ctype.h-data [C99-based standards] (isblank):
34441 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34442 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34444 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34445 Specify type. Require positive value.
34446 (EILSEQ): Likewise.
34447 (ERANGE): Likewise.
34448 [ISO || POSIX] (EILSEQ): Do not expect.
34449 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34450 Specify type. Require positive value.
34451 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34452 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34453 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34454 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34455 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34456 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34457 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34458 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34459 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34460 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34461 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34462 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34463 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34464 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34465 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34466 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34467 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34468 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34469 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34470 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34471 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34472 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34473 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34474 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34475 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34476 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34477 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34478 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34479 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34480 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34481 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34482 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34483 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34484 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34485 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34486 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34487 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34488 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34489 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34490 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34491 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34492 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34493 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34494 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34495 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34496 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34497 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34498 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34499 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34500 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34501 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34502 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34503 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34504 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34505 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34506 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34507 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34508 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34509 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34510 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34511 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34512 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34513 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34514 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34515 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34516 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34517 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34518 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34519 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34520 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34521 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34523 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34525 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34526 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34527 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34529 (FLT_ROUNDS): Expect as macro, not constant.
34530 (FLT_MANT_DIG): Use macro-int-constant.
34531 (DBL_MANT_DIG): Likewise.
34532 (LDBL_MANT_DIG): Likewise.
34533 (FLT_DIG): Likewise.
34534 (DBL_DIG): Likewise.
34535 (LDBL_DIG): Likewise.
34536 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34537 (DBL_MIN_EXP): Likewise.
34538 (LDBL_MIN_EXP): Likewise.
34539 (FLT_MAX_EXP): Use macro-int-constant.
34540 (DBL_MAX_EXP): Likewise.
34541 (LDBL_MAX_EXP): Likewise.
34542 (FLT_MAX_10_EXP): Likewise.
34543 (DBL_MAX_10_EXP): Likewise.
34544 (LDBL_MAX_10_EXP): Likewise.
34545 (FLT_MAX): Use macro-constant.
34546 (DBL_MAX): Likewise.
34547 (LDBL_MAX): Likewise.
34548 (FLT_EPSILON): Use macro-constant. Give upper bound.
34549 (DBL_EPSILON): Likewise.
34550 (LDBL_EPSILON): Likewise.
34551 (FLT_MIN): Likewise.
34552 (DBL_MIN): Likewise.
34553 (LDBL_MIN): Likewise.
34554 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34555 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34556 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34557 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34558 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34559 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34560 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34561 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34562 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34563 [ISO11] (FLT_TRUE_MIN): Likewise.
34564 [ISO11] (LDBL_TRUE_MIN): Likewise.
34565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34566 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34567 (SCHAR_MIN): Use macro-int-constant. Specify type.
34568 (SCHAR_MAX): Likewise.
34569 (UCHAR_MAX): Likewise.
34570 (CHAR_MIN): Likewise.
34571 (CHAR_MAX): Likewise.
34572 (MB_LEN_MAX): Use macro-int-constant.
34573 (SHRT_MIN): Use macro-int-constant. Specify type.
34574 (SHRT_MAX): Likewise.
34575 (USHRT_MAX): Likewise.
34576 (INT_MAX): Likewise.
34577 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34579 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34581 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34583 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34584 bound negative. Suffix upper bound with "L".
34585 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34587 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34589 [C99-based standards] (LLONG_MAX): Likewise.
34590 [C99-based standards] (ULLONG_MAX): Likewise.
34591 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34593 [ISO11] (max_align_t): Require type.
34594 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34596 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34597 from $CFLAGS, without defining away __attribute__ calls.
34598 (checknamespace): Use $CFLAGS_namespace.
34600 * conform/conformtest.pl (@keywords): Only include C99 keywords
34601 for standards based on C99 or C11.
34603 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34605 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34608 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34609 usability of symbols in #if.
34611 * conform/conformtest.pl: If macro or constant types start
34612 "promoted:", expect the symbol to be of the following type
34613 promoted by the integer promotions.
34615 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34616 in one place. Also handle "macro-constant".
34618 * conform/conformtest.pl: Only accept expected macro values with
34619 "==". Parse all "macro" lines in one place.
34620 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34622 * conform/conformtest.pl: Handle braced types on "constant" lines
34623 instead of handling "typed-constant".
34624 * conform/data/signal.h-data: Use "constant" instead of
34627 * conform/conformtest.pl: Handle "optional-" at start of lines in
34628 one place rather than duplicating several cases. Handle each
34629 format of "macro" line with initial "optional-".
34631 * conform/conformtest.pl: Only accept expected constant or
34632 optional-constant values with "==". Parse all "constant" lines in
34633 one place. Parse all "optional-constant" lines in one place.
34634 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34635 * conform/data/fmtmsg.h-data: Likewise.
34636 * conform/data/netinet/in.h-data: Likewise.
34637 * conform/data/tar.h-data: Likewise.
34638 * conform/data/limits.h-data: Use "==" form on "constant" and
34639 "optional-constant" lines.
34641 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34642 Use -std=c99 for XOPEN2K.
34643 (@knownproblems): Remove.
34644 (newtoken): Don't check %isknown.
34646 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34647 Do not expect macro.
34648 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34649 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34650 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34651 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34652 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34653 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34654 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34655 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34656 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34657 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34658 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34659 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34660 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34661 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34663 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34664 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34665 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34666 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34667 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34668 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34669 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34670 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34672 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34673 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34674 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34675 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34676 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34677 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34678 [XPG3] (acosh): Likewise.
34679 [XPG3] (asinh): Likewise.
34680 [XPG3] (atanh): Likewise.
34681 [XPG3] (cbrt): Likewise.
34682 [XPG3] (expm1): Likewise.
34683 [XPG3] (ilogb): Likewise.
34684 [XPG3] (log1p): Likewise.
34685 [XPG3] (logb): Likewise.
34686 [XPG3] (nextafter): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34689 [XPG3] (remainder): Likewise.
34690 [XPG3] (rint): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34692 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34693 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34697 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34698 [UNIX98 || XOPEN2K] (scalb): Expect.
34699 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34700 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34701 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34702 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34704 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34705 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34707 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34708 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34709 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34710 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34711 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34712 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34713 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34714 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34715 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34716 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34717 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34718 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34719 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34720 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34721 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34722 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34723 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34726 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34727 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34728 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34729 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34763 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34807 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34808 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34809 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34810 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34811 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34812 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34813 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34828 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34829 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34831 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34832 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34833 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34834 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34835 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34837 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34838 _XOPEN_SOURCE_EXTENDED for XPG4.
34840 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34842 * Makeconfig (localtime): Remove variable.
34843 (inst_localtime-file): Likewise.
34845 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34866 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34870 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34871 comparisons to determine direction to adjust input.
34872 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34873 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34874 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34876 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34878 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34880 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34881 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34883 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34885 * math/libm-test.inc (nexttoward_test): Add more tests.
34887 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34891 in version GLIBC_2.1, not GLIBC_2.0.
34892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34895 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34898 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34900 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34901 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34902 * math/libm-test.inc (acos_test): Add more tests.
34903 (asin_test): Likewise.
34904 * sysdeps/i386/fpu/libm-test-ulps: Update.
34905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34908 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34910 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34911 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34912 * math/libm-test.inc (acos_test_tonearest): New function.
34913 (acos_test_towardzero): Likewise.
34914 (acos_test_downward): Likewise.
34915 (acos_test_upward): Likewise.
34916 (asin_test_tonearest): Likewise.
34917 (asin_test_towardzero): Likewise.
34918 (asin_test_downward): Likewise.
34919 (asin_test_upward): Likewise.
34920 (main): Call the new functions.
34921 * sysdeps/i386/fpu/libm-test-ulps: Update.
34922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34926 * math/e_exp10.c: Include <float.h>.
34927 (__ieee754_exp10): Handle underflow here rather than multiplying
34928 large negative argument by M_LN10.
34929 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34931 * math/e_exp10l.c: Include <float.h>.
34932 (__ieee754_exp10l): Handle underflow here rather than multiplying
34933 large negative argument by M_LN10l.
34934 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34935 spurious overflow exception on underflow.
34937 2012-04-29 Marek Polacek <polacek@redhat.com>
34939 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34940 (__fortify_function): New macro.
34941 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34942 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34943 __extern_always_inline.
34944 * libio/bits/stdio2.h: Likewise.
34945 * libio/bits/stdio.h: Likewise.
34946 * string/string.h: Likewise.
34947 * string/bits/string3.h: Likewise.
34948 * include/stdio.h: Likewise.
34949 * stdlib/bits/stdlib.h: Likewise.
34950 * stdlib/stdlib.h: Likewise.
34951 * rt/bits/mqueue2.h: Likewise.
34952 * rt/mqueue.h: Likewise.
34953 * posix/bits/unistd.h: Likewise.
34954 * posix/unistd.h: Likewise.
34955 * io/bits/poll2.h: Likewise.
34956 * io/bits/fcntl2.h: Likewise.
34957 * io/fcntl.h: Likewise.
34958 * io/sys/poll.h: Likewise.
34959 * misc/bits/syslog.h: Likewise.
34960 * misc/bits/syslog-ldbl.h: Likewise.
34961 * misc/sys/syslog.h: Likewise.
34962 * socket/bits/socket2.h: Likewise.
34963 * socket/sys/socket.h: Likewise.
34964 * debug/tst-chk1.c: Likewise.
34965 * wcsmbs/bits/wchar2.h: Likewise.
34966 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34967 * wcsmbs/wchar.h: Likewise.
34969 2012-04-29 Andreas Jaeger <aj@suse.de>
34971 * Makerules (tests): Remove enable-check-abi protection.
34972 (check-abi-warn): Remove.
34973 (check-abi-%): Remove check-abi-warn usage.
34975 * configure.in: Remove check-abi configure option.
34976 * configure: Regenerated.
34977 * config.make.in (enable-check-abi): Remove.
34979 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34982 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34983 double functions to double *_finite functions.
34986 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34987 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34989 * stdio-common/Makefile (tests): Add tst-sprintf3.
34990 * stdio-common/tst-sprintf3.c: New file.
34992 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34993 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34995 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34997 * conform/conformtest.pl: Remove duplicate typed-constant
35000 2012-04-28 David S. Miller <davem@davemloft.net>
35002 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35003 (check-abi-%): Remove AWK script prerequisite and explicit
35005 (check-abi): Rewrite to just diff the symlist with the abilist.
35006 (config-tls, config-abi-config): Delete, no longer used.
35007 (update-abi-%): Remove AWK script and explicit abilist directory.
35008 (update-abi): Rewrite to simply compare and conditionally copy the
35009 symlist and the sysdep abilist file. Remove update-abi-config
35011 * abilist/ld.abilist: Remove.
35012 * abilist/libBrokenLocale.abilist: Remove.
35013 * abilist/libanl.abilist: Remove.
35014 * abilist/libcrypt.abilist: Remove.
35015 * abilist/libdl.abilist: Remove.
35016 * abilist/librt.abilist: Remove.
35017 * abilist/libthread_db.abilist: Remove.
35018 * abilist/libutil.abilist: Remove.
35019 * scripts/extract-abilist.awk: Remove.
35020 * scripts/merge-abilist.awk: Remove.
35021 * sysdeps/generic/libcidn.abilist: New file.
35022 * sysdeps/generic/libnss_compat.abilist: New file.
35023 * sysdeps/generic/libnss_db.abilist: New file.
35024 * sysdeps/generic/libnss_dns.abilist: New file.
35025 * sysdeps/generic/libnss_files.abilist: New file.
35026 * sysdeps/generic/libnss_hesiod.abilist: New file.
35027 * sysdeps/generic/libnss_nis.abilist: New file.
35028 * sysdeps/generic/libnss_nisplus.abilist: New file.
35029 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35030 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35031 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35033 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35034 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35035 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35036 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35037 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35038 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35039 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35040 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35041 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35043 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35044 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35045 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35046 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35048 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35049 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35050 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35051 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35052 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35053 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35055 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35056 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35057 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35059 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35162 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35163 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35164 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35167 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35168 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35169 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35170 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35171 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35172 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35173 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35174 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35175 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35227 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35229 * conform/conformtest.pl: Fix typo in handling typed-constant from
35232 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35234 * README: Cut down references to pre-2.6 Linux kernels and
35235 Linuxthreads. Update lists of configurations in libc and ports
35236 and sort alphabetically. Say "or newer" with Linux kernel version
35239 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35241 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35244 * math/libm-test.inc (logb_test_downward): New test to expose
35245 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35248 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35251 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35253 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35254 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35256 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35258 * sysdeps/unix/i386/brk.S: Remove file.
35259 * sysdeps/unix/i386/dl-brk.S: Likewise.
35260 * sysdeps/unix/i386/pipe.S: Likewise.
35261 * sysdeps/unix/i386/sigreturn.S: Likewise.
35262 * sysdeps/unix/i386/syscall.S: Likewise.
35263 * sysdeps/unix/i386/vfork.S: Likewise.
35264 * sysdeps/unix/i386/wait.S: Likewise.
35266 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35267 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35269 * configure.in (arm*-none*): Do not allow without
35270 --enable-hacker-mode.
35271 (netbsd*): Remove case setting base_os.
35272 (386bsd*): Likewise.
35273 (freebsd*): Likewise.
35276 (sunos*): Likewise.
35277 (ultrix*): Likewise.
35278 (newsos*): Likewise.
35279 (dynix*): Likewise.
35285 (minix*): Likewise.
35286 (irix4*): Likewise.
35287 (irix6*): Likewise.
35288 (solaris[2-9]*): Likewise.
35290 * configure: Regenerated.
35292 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35295 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35296 overflow or cancellation in calculating denominator.
35297 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35298 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35299 down expression to avoid unexpected rounding in newer GCCs.
35300 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35302 2012-04-26 David S. Miller <davem@davemloft.net>
35304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35305 long-double compat symbols.
35306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35320 2012-04-25 David S. Miller <davem@davemloft.net>
35322 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35323 HWCAP_* values only after the memory barriers have been defined.
35324 (atomic_full_barrier): Define.
35325 (atomic_read_barrier): Define.
35326 (atomic_write_barrier): Define.
35328 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35330 * shlib-versions: Add libgcc_s version information.
35331 * sysdeps/generic/libgcc_s.h: Remove.
35332 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35334 * sysdeps/gnu/unwind-resume.c: Likewise.
35335 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35337 2012-04-25 David S. Miller <davem@davemloft.net>
35339 * sysdeps/unix/sparc/brk.S: Delete.
35340 * sysdeps/unix/sparc/dl-brk.S: Delete.
35341 * sysdeps/unix/sparc/pipe.S: Delete.
35342 * sysdeps/unix/sparc/sysdep.S: Delete.
35343 * sysdeps/unix/sparc/sysdep.h: Delete.
35344 * sysdeps/unix/sparc/vfork.S: Delete.
35345 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35346 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35348 (ret_ERRVAL, r0, r1, MOVE): Define.
35349 (JUMPTARGET): Remove.
35350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35351 sysdeps/unix/sparc/sysdep.h
35352 (ENTRY, END): Remove.
35353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35355 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35357 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35358 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35361 * timezone/README: Update upstream location and email address for
35363 * timezone/zdump.c: Update from tzcode 2012b.
35364 * timezone/zic.c: Likewise.
35366 * configure.in (libc_cv_as_needed): Remove test.
35367 * configure: Regenerated.
35368 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35369 conditional definition.
35370 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35371 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35372 * config.make.in (have-as-needed): Remove variable.
35374 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35375 Paul Pluzhnikov <ppluzhnikov@google.com>
35377 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35380 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35382 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35383 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35384 * sysdeps/sh/strlen.S: Likewise.
35386 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35388 * sysdeps/unix/fork.S: Remove file.
35389 * sysdeps/unix/i386/fork.S: Likewise.
35390 * sysdeps/unix/sparc/fork.S: Likewise.
35392 * sysdeps/unix/system.c: Remove file.
35393 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35395 * sysdeps/unix/getegid.S: Remove file.
35396 * sysdeps/unix/geteuid.S: Likewise.
35398 2012-04-24 Roland McGrath <roland@hack.frob.com>
35400 * scripts/check-localplt.awk: New file.
35401 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35403 * scripts/data/localplt-generic.data: Add a comment.
35405 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35406 NODE when __dir_mkfile failed.
35407 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35408 Reported by Ludovic Courtès <ludo@gnu.org>.
35410 2012-04-24 Andreas Jaeger <aj@suse.de>
35412 * Makerules (common-clean): Also remove gen-as-const-headers
35415 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35417 * Makerules (native-compile): Do not change working directory for
35418 build. Use $(OUTPUT_OPTION) in command.
35419 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35421 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35424 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35425 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35426 * math/libm-test.inc (floor_test): Add more tests.
35427 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35429 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35431 * sysdeps/unix/getdents.c: Remove file.
35432 * sysdeps/unix/sysv/getdents.c: Likewise.
35433 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35435 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35436 sysdeps/unix/mman/syscalls.list.
35438 (mprotect): Likewise.
35440 (munmap): Likewise.
35441 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35442 * sysdeps/unix/mman/syscalls.list: Remove.
35443 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35445 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35446 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35447 * configure: Regenerated.
35448 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35449 $(libgcc_s_suffix).
35450 * config.make.in (libgcc_s_suffix): Remove variable.
35452 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35454 * sysdeps/unix/sysv/gethostname.c: Move to ...
35455 * sysdeps/posix/gethostname.c: ... here.
35457 * sysdeps/unix/execve.S: Remove file.
35459 * sysdeps/unix/_exit.S: Remove file.
35461 2012-04-23 Andreas Jaeger <aj@suse.de>
35464 * manual/Makefile: Remove make dist support, there's no
35465 need for a stand-alone documentation tar ball.
35466 (TEXI2DVI): Define always, it's not in Makeconfig.
35469 (edition): Removed.
35470 (glibc-doc-$(edition).tar): Removed
35474 (ETAGS): Remove, it's in Makeconfig.
35475 (move-if-change): Remove, it's in Makeconfig.
35477 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35480 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35481 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35482 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35483 (strtod_l, strtof_l, strtold_l): Remove __wur.
35484 It is not necessarily an error to ignore strtol's return value.
35485 One can reliably look at the stored endptr to decide whether
35486 the number had valid syntax.
35488 2012-04-21 Andreas Jaeger <aj@suse.de>
35491 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35493 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35495 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35496 * sysdeps/unix/sysv/Versions: Remove file.
35498 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35503 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35507 version from __vm86.
35509 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35511 * sysdeps/unix/common/lxstat.c: Remove file.
35512 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35514 * sysdeps/unix/sysv/Makefile: Remove file.
35516 * sysdeps/unix/sysv/direct.h: Remove file.
35518 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35519 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35520 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35521 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35522 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35523 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35524 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35526 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35528 * sysdeps/unix/xmknod.c: Remove file.
35529 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35531 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35533 * sysdeps/unix/sysv/i386/time.S: Remove file.
35535 * sysdeps/unix/fxstat.c: Remove file.
35536 * sysdeps/unix/xstat.c: Likewise.
35537 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35539 * sysdeps/unix/sysv/sigaction.c: Remove file.
35541 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35542 (sysdep_headers): Remove variable.
35543 [termio.h not in sysdep_headers] (generated): Likewise.
35544 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35545 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35546 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35547 * sysdeps/unix/sysv/tcflow.c: Likewise.
35548 * sysdeps/unix/sysv/tcflush.c: Likewise.
35549 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35550 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35551 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35552 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35553 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35555 * sysdeps/unix/siglist.c: Remove file.
35557 * sysdeps/unix/getppid.S: Remove file.
35559 * sysdeps/unix/mkdir.c: Remove file.
35560 * sysdeps/unix/rmdir.c: Likewise.
35562 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35564 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35566 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35567 errlist-compat value.
35569 2012-04-18 David S. Miller <davem@davemloft.net>
35571 * sysdeps/generic/memcopy.h (reg_char): Delete.
35572 * debug/strcat_chk.c: Use char, not reg_char.
35573 * debug/strcpy_chk.c: Likewise.
35574 * debug/strncat_chk.c: Likewise.
35575 * debug/strncpy_chk.c: Likewise.
35576 * string/memchr.c: Likewise.
35577 * string/memrchr.c: Likewise.
35578 * string/rawmemchr.c: Likewise.
35579 * string/strcat.c: Likewise.
35580 * string/strchr.c: Likewise.
35581 * string/strchrnul.c: Likewise.
35582 * string/strcmp.c: Likewise.
35583 * string/strcpy.c: Likewise.
35584 * string/strncat.c: Likewise.
35585 * string/strncmp.c: Likewise.
35586 * string/strncpy.c: Likewise.
35588 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35590 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35591 __builtin_memcopy is called when src and dest ranges are known to not
35594 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35596 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35597 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35598 fwd_align_merge macro call.
35599 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35600 bwd_align_merge macro call.
35601 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35603 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35605 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35606 bwd_align_merge macros.
35607 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35608 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35609 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35611 2012-04-18 David S. Miller <davem@davemloft.net>
35613 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35615 2012-04-18 Andreas Jaeger <aj@suse.de>
35618 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35619 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35620 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35622 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35623 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35624 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35626 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35627 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35628 Adjust for changed ldbl-128 files.
35630 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35631 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35632 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35634 2012-04-17 David S. Miller <davem@davemloft.net>
35636 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35638 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35640 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35641 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35642 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35643 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35644 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35645 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35647 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35650 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35651 * math/libm-test.inc: Add ilogb errno and exception tests.
35652 * math/w_ilogb.c: New file: ilogb wrapper.
35653 * math/w_ilogbf.c: New file: ilogbf wrapper.
35654 * math/w_ilogbl.c: New file: ilogbl wrapper.
35655 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35656 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35657 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35658 exception being thrown with 0.0 as argument.
35659 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35660 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35661 exception being thrown with 0.0 as argument.
35662 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35663 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35664 exception being thrown with 0.0 as argument.
35665 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35666 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35667 exception being thrown with 0.0 as argument.
35668 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35669 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35670 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35671 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35672 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35673 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35674 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35675 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35676 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35678 2012-04-17 Petr Baudis <pasky@ucw.cz>
35680 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35683 2012-04-16 Marek Polacek <polacek@redhat.com>
35685 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35687 2012-04-16 Marek Polacek <polacek@redhat.com>
35689 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35690 operands of fdivp instruction.
35692 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35694 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35695 * elf/tst-auditmod3b.c: Likewise.
35696 * elf/tst-auditmod4b.c: Likewise.
35697 * elf/tst-auditmod5b.c: Likewise.
35698 * elf/tst-auditmod6b.c: Likewise.
35699 * elf/tst-auditmod6c.c: Likewise.
35700 * elf/tst-auditmod7b.c: Likewise.
35701 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35702 * sysdeps/x86_64/preconfigure.in: Likewise.
35703 * sysdeps/x86_64/preconfigure: Regenerated.
35705 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35707 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35710 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35713 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35715 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35718 * locale/iso-639.def: Fix gl language name. Spotted by
35721 2012-04-12 Roland McGrath <roland@hack.frob.com>
35724 * libio/libio.h (__io_write_fn): Update comment.
35726 2012-04-12 Petr Baudis <pasky@ucw.cz>
35729 * stdio.texi (Hook Functions): The user provided writer function
35730 is not allowed to return -1.
35732 2012-04-11 David S. Miller <davem@davemloft.net>
35734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35736 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35738 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35739 Add a leading slash to rtkaio.
35741 2012-04-11 Jim Meyering <meyering@redhat.com>
35744 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35745 It is not necessarily an error to ignore fwrite's return
35746 value. One can reliably use ferror to test for errors after
35749 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35751 * bits/types.h (__snseconds_t): New type.
35752 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35754 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35755 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35756 (__SNSECONDS_T_TYPE): Likewise.
35757 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35758 (__SNSECONDS_T_TYPE): Likewise.
35759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35760 (__SNSECONDS_T_TYPE): Likewise.
35762 2012-04-10 Andreas Jaeger <aj@suse.de>
35765 * manual/time.texi (Processor Time): Return type of times is
35766 elapsed real time since an arbitrary point in the past.
35767 (CPU Time): Move CLK_TCK from here...
35768 (Processor Time): ...to here. Correct description.
35769 * manual/conf.texi (Constants for Sysconf): Correct description of
35772 2012-04-10 David S. Miller <davem@davemloft.net>
35775 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35776 where the is a gap between DT_REL(A) and DT_JMPREL.
35778 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35780 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35781 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35782 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35784 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35786 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35787 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35788 (dl_main): Handle --inhibit-cache.
35789 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35791 * elf/dl-load.c (_dl_map_object): Use it.
35792 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35794 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35797 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35798 (__ieee754_powl): Saturate large exponents rather than testing for
35799 overflow of y*log2(x).
35800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35801 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35805 * math/s_ctan.c: Include <float.h>.
35806 (__ctan): Avoid internal overflow or cancellation in calculating
35808 * math/s_ctanf.c: Likewise.
35809 * math/s_ctanl.c: Likewise.
35810 * math/s_ctanh.c: Likewise.
35811 * math/s_ctanhf.c: Likewise.
35812 * math/s_ctanhl.c: Likewise.
35813 * math/libm-test.inc (ctan_test): Add more tests.
35814 (ctanh_test): Likewise.
35815 * sysdeps/i386/fpu/libm-test-ulps: Update.
35816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35818 2012-04-09 Andreas Jaeger <aj@suse.de>
35821 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35822 is an optional BSD extension.
35825 * manual/stdio.texi (Opening Streams): Document additional fopen
35828 2012-04-09 Roland McGrath <roland@hack.frob.com>
35830 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35831 %eax without telling the compiler.
35833 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35836 * manual/install.texi: Use sourceware.org.
35838 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35841 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35842 (__ieee754_pow): Generate overflow and underflow using huge*huge
35843 and tiny*tiny rather than just returning constant infinity or zero
35844 for large exponents.
35845 * math/libm-test.inc (pow_test): Require overflow exceptions for
35846 applicable cases of large exponents.
35849 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35850 (__ieee754_pow): Use iterative multiplication algorithm only for
35851 integer exponents with absolute value below 1024. Check for odd
35852 integer exponents when using algorithm for real exponents.
35853 * math/libm-test.inc (pow_test): Add more tests.
35854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35856 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35859 * math/libm-test.inc (exp_test): Do not allow overflow exception
35862 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35865 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35866 instead of __kernel_standard_f.
35868 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35870 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35871 * sysdeps/x86_64/memset_chk.S: Likewise.
35873 2012-04-08 Andreas Jaeger <aj@suse.de>
35876 * manual/startup.texi (Environment Access): Describe return value
35877 for putenv and setenv.
35880 * manual/filesys.texi (Directory Entries): Add description for
35884 * manual/filesys.texi (Directory Entries): Clarify that it's file
35885 system not operating system in the description of DT_UNKNOWN.
35888 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35890 2012-04-08 Stephen Compall <s11@member.fsf.org>
35893 * manual/llio.texi (Opening and Closing Files): Add cross
35894 reference to explain mode argument.
35896 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35898 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35899 * sysdeps/x86_64/memset_chk.S: Likewise.
35901 2012-04-07 David S. Miller <davem@davemloft.net>
35903 * elf/elf.h (R_SPARC_WDISP10): Define.
35904 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35906 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35907 R_SPARC_SIZE64 and R_SPARC_H34.
35909 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35912 conditions and remove no longer applicable assertion.
35914 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35916 * bits/byteswap.h: Include <features.h>.
35917 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35918 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35920 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35922 * bits/byteswap.h (__bswap_16): Removed.
35923 Include <bits/byteswap-16.h> to get __bswap_16.
35924 * sysdeps/i386/bits/byteswap.h: Likewise.
35925 * sysdeps/s390/bits/byteswap.h: Likewise.
35926 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35927 * bits/byteswap-16.h: New file.
35928 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35929 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35930 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35931 * string/Makefile (headers): Add bits/byteswap-16.h.
35933 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35936 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35938 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35939 * nss/tst-nss-static.c: New.
35941 2012-04-06 Robert Millan <rmh@gnu.org>
35944 * manual/llio.texi (File Position Primitive): lseek
35945 refers to WHENCE when it really means OFFSET.
35947 2012-04-06 Andreas Jaeger <aj@suse.de>
35949 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35950 strncmp declarations.
35952 * abilist/libc.abilist: Add __poll and __ppoll.
35954 2012-04-05 David S. Miller <davem@davemloft.net>
35956 * scripts/check-local-headers.sh: Accept a host triplet in the
35957 path matched by the exclude regexp.
35959 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35961 * sysdeps/powerpc/powerpc32/dl-machine.h
35962 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35963 * sysdeps/s390/s390-32/dl-machine.h
35964 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35965 * sysdeps/sparc/sparc32/dl-machine.h
35966 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35967 * sysdeps/sparc/sparc64/dl-machine.h
35968 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35970 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35972 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35973 undefined symbol errors.
35975 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35978 2012-04-05 Michael Matz <matz@suse.de>
35981 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35983 2012-04-05 Andreas Jaeger <aj@suse.de>
35986 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35989 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35991 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35992 which ROUND is no valid rounding mode.
35994 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35996 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35998 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36000 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36002 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36003 an exception using FPU order intentionally.
36005 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36007 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36008 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36009 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36010 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36012 2012-04-05 Simon Josefsson <simon@josefsson.org>
36015 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36016 EINVAL when BUFLEN is too smal.
36018 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36021 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36022 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36024 2012-04-03 Andreas Jaeger <aj@suse.de>
36027 * manual/setjmp.texi (System V contexts): Fix sentence.
36030 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36031 New macro for this case.
36032 [!__GNUC__] (__bswap_64): New inline function for this case.
36033 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36034 * bits/byteswap.h: Likewise.
36035 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36036 ull, guard with __GLIBC_HAVE_LONG_LONG.
36038 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36039 __GLIBC_HAVE_LONG_LONG.
36041 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36042 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36044 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36047 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36048 inptr and inend, rather than using last_ch.
36050 2012-04-02 David S. Miller <davem@davemloft.net>
36052 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36053 * stdio-common/printf-parse.h (read_int): Change return type to
36054 'int', return -1 on INT_MAX overflow.
36055 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36056 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36057 overflows INT_MAX. Check for overflow of in-format-string precision
36058 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36059 SIZE_MAX not INT_MAX for integer overflow test.
36060 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36061 skip the construct in the format string but do not record anything.
36062 * stdio-common/bug22.c: Adjust to test both width/prevision
36063 INT_MAX overflow as well as total length INT_MAX overflow. Check
36064 explicitly for proper errno values.
36066 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36068 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36070 * string/test-strcmp.c [! WIDE]: Likewise.
36071 * time/tst-mktime2.c: Likewise for INT_MAX.
36072 * string/test-string.h: #include <sys/param.h> for MIN.
36074 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36075 * sysdeps/i386/init-first.c (init): Likewise.
36076 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36077 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36078 * sysdeps/sh/init-first.c (init): Likewise.
36080 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36082 * po/ru.po: Update from translation team.
36083 * po/vi.po: Likewise.
36085 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36087 * resolv/nss_dns/dns-host.c: Merge copyright years.
36089 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36091 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36092 Optimize memcpy with prefetch if
36093 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36094 src, dst pointers have unequal 16 byte alignments.
36096 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36099 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36100 from a CNAME entry and return the minimum ttl for the query.
36101 (gaih_getanswer_slice): Likewise.
36103 2012-03-30 Jeff Law <law@redhat.com>
36105 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36107 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36108 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36110 * resolv/nss_dns/dns-host.c: Update copyright year.
36112 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36114 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36115 requests to save a system call. Fix check that all bytes are sent.
36117 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36118 comments for sendmmsg.
36120 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36123 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36124 with only 1 character between 0x0041 and 0x01b0.
36125 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36126 * wcsmbs/tst-mbsnrtowcs.c: New file.
36128 2012-03-29 David S. Miller <davem@davemloft.net>
36130 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36131 small copies by hand.
36133 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36136 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36137 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36140 2012-03-28 David S. Miller <davem@davemloft.net>
36142 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36143 that branches into memcpy.
36144 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36146 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36147 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36150 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36151 implementation too.
36152 * sysdeps/sparc/mempcpy.S: New file.
36154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36155 the IFUNC routine in the libc case.
36156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36158 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36159 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36160 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36161 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36162 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36163 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36164 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36165 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36167 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36168 loop to 256 bytes instead of 64 bytes and fix test signedness.
36170 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36171 * sysdeps/sparc/sparc32/Makefile: rather than here...
36172 * sysdeps/sparc/sparc64/Makefile: and here.
36174 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36176 * malloc/mallocbug.c: Avoid warnings about unused variables.
36178 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36181 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36182 in the right place. Discard and retry query if response is
36183 larger than input buffer size.
36185 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36190 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36191 x for large integer exponent.
36192 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36193 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36194 sign of result as needed afterwards.
36195 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36196 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36197 result for underflowing pow the same as for overflow.
36198 (__kernel_standard_l): Handle powl overflow and underflow here
36199 rather than calling __kernel_standard.
36200 * math/libm-test.inc (pow_test): Add more tests.
36215 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36216 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36217 (__kernel_standard_l): New function.
36218 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36220 * math/w_acosl.c (__acosl): Likewise.
36221 * math/w_asinl.c (__asinl): Likewise.
36222 * math/w_atan2l.c (__atan2l): Likewise.
36223 * math/w_atanhl.c (__atanhl): Likewise.
36224 * math/w_coshl.c (__coshl): Likewise.
36225 * math/w_exp10l.c (__exp10l): Likewise.
36226 * math/w_exp2l.c (__exp2l): Likewise.
36227 * math/w_fmodl.c (__fmodl): Likewise.
36228 * math/w_hypotl.c (__hypotl): Likewise.
36229 * math/w_j0l.c (__j0l, __y0l): Likewise.
36230 * math/w_j1l.c (__j1l, __y1l): Likewise.
36231 * math/w_jnl.c (__jnl, __ynl): Likewise.
36232 * math/w_lgammal.c (__lgammal): Likewise.
36233 * math/w_log10l.c (__log10l): Likewise.
36234 * math/w_log2l.c (__log2l): Likewise.
36235 * math/w_logl.c (__logl): Likewise.
36236 * math/w_powl.c (__powl): Likewise.
36237 * math/w_remainderl.c (__remainderl): Likewise.
36238 * math/w_scalbl.c (sysv_scalbl): Likewise.
36239 * math/w_sinhl.c (__sinhl): Likewise.
36240 * math/w_sqrtl.c (__sqrtl): Likewise.
36241 * math/w_tgammal.c (__tgammal): Likewise.
36242 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36243 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36244 * math/libm-test.inc (acos_test): Add more tests.
36245 (acosh_test): Likewise.
36246 (asin_test): Likewise.
36247 (atanh_test): Likewise.
36248 (exp_test): Likewise.
36249 (exp10_test): Likewise.
36250 (exp2_test): Likewise.
36251 (expm1_test): Likewise.
36252 (lgamma_test): Likewise.
36253 (log_test): Likewise.
36254 (log10_test): Likewise.
36255 (log1p_test): Likewise.
36256 (log2_test): Likewise.
36257 (pow_test): Do not allow some spurious overflow exceptions.
36258 (sqrt_test): Add more tests.
36259 (tgamma_test): Likewise.
36260 (y0_test): Likewise.
36261 (y1_test): Likewise.
36262 (yn_test): Likewise.
36264 2012-03-27 Anton Blanchard <anton@samba.org>
36266 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36268 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36269 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36270 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36272 2012-03-27 David S. Miller <davem@davemloft.net>
36274 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36276 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36277 have-as-vis3 check.
36279 2012-03-27 Andreas Jaeger <aj@suse.de>
36281 * sysdeps/x86_64/elf/configure.in: Moved to ...
36282 * sysdeps/x86_64/configure.in: ... here.
36283 * sysdeps/x86_64/elf/start.S: Moved to ...
36284 * sysdeps/x86_64/start.S: ... here.
36285 * sysdeps/x86_64/elf/configure: Delete.
36287 * sysdeps/x86_64/configure.in: Merge contents from
36288 sysdeps/i386/configure.in (without i686 check).
36290 * sysdeps/i386/elf/Versions: Merge into ...
36291 * sysdeps/i386/Versions: ... this.
36292 * sysdeps/i386/elf/Versions: Delete file.
36293 * sysdeps/i386/elf/start.S: Moved to ...
36294 * sysdeps/i386/start.S: ...here.
36295 * sysdeps/i386/elf/configure.in: Merge into...
36296 * sysdeps/i386/configure.in: ...here.
36297 * sysdeps/i386/elf/configure.in: Delete file.
36298 * sysdeps/i386/elf/configure: Delete file.
36300 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36301 * debug/backtracesyms.c: ... here.
36302 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36303 * debug/backtracesymsfd.c: ... here.
36304 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36305 * sysdeps/generic/ifunc-sel.h: ... here.
36307 * sysdeps/unix/i386/start.c: Delete file.
36308 * sysdeps/unix/sparc/start.c: Delete file.
36309 * sysdeps/unix/start.c: Delete file.
36311 * sysdeps/sh/elf/configure.in: Moved to ...
36312 * sysdeps/sh/configure.in: ... here.
36313 * sysdeps/sh/elf/start.S: Moved to ...
36314 * sysdeps/sh/start.S: ... here.
36315 * sysdeps/sh/elf/configure: Delete file.
36317 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36318 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36319 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36320 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36321 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36322 * sysdeps/powerpc/powerpc64/start.S: here.
36323 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36324 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36325 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36326 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36327 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36329 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36330 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36331 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36332 * sysdeps/powerpc/powerpc32/start.S: ... here.
36333 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36334 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36335 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36337 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36338 * sysdeps/powerpc/ifunc-sel.h: ... here.
36339 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36340 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36342 * sysdeps/sparc/elf/configure.in: Moved to ...
36343 * sysdeps/sparc/configure.in: ... here.
36344 * sysdeps/sparc/elf/configure: Delete file.
36345 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36346 * sysdeps/sparc/sparc32/start.S: ... here.
36347 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36348 * sysdeps/sparc/sparc64/start.S: ... here.
36349 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36350 * sysdeps/sparc/sparc32/Makefile: ... this.
36351 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36352 * sysdeps/sparc/sparc64/Makefile: ... this.
36354 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36355 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36356 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36357 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36358 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36359 * sysdeps/s390/s390-32/setjmp.S: ... here.
36360 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36361 * sysdeps/s390/s390-32/configure.in: ... here.
36362 * sysdeps/s390/s390-32/elf/configure: Delete file.
36363 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36364 * sysdeps/s390/s390-32/start.S: ... here.
36366 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36367 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36368 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36369 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36370 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36371 * sysdeps/s390/s390-64/setjmp.S: ... here.
36372 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36373 * sysdeps/s390/s390-64/configure.in: ... here
36374 * sysdeps/s390/s390-64/elf/configure: Delete file.
36375 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36376 * sysdeps/s390/s390-64/start.S: ... here.
36377 * sysdeps/s390/s390-64/elf/configure: Delete.
36379 * configure.in: Remove support for elf directories in sysdeps.
36381 * configure: Regenerated.
36382 * sysdeps/i386/configure: Regenerated.
36383 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36384 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36385 * sysdeps/s390/s390-32/configure: Regenerated.
36386 * sysdeps/s390/s390-64/configure: Regenerated.
36387 * sysdeps/sh/configure: Regenerated.
36388 * sysdeps/sparc/configure: Regenerated.
36389 * sysdeps/x86_64/configure: Regenerated.
36391 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36396 denormal result into account.
36398 2012-03-25 Roland McGrath <roland@hack.frob.com>
36400 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36401 Reported by Allan McRae <allan@archlinux.org>.
36403 2012-03-23 Jeff Law <law@redhat.com>
36405 * nss/getnssent.c (__nss_getent): Fix typo.
36407 2012-03-23 David S. Miller <davem@davemloft.net>
36409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36411 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36413 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36414 to pad to uint64_t for each field.
36415 (dl_tls_index): Replace unsigned long with uint64_t.
36417 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36418 Paul Pluzhnikov <ppluzhnikov@google.com>
36421 * grp/Makefile (otherlibs): Don't set it.
36422 * inet/Makefile (otherlibs): Likewise.
36423 * login/Makefile (otherlibs): Likewise.
36424 * nscd/Makefile (otherlibs): Likewise.
36425 * posix/Makefile (otherlibs): Likewise.
36426 * pwd/Makefile (otherlibs): Likewise.
36427 * rt/Makefile (otherlibs): Likewise.
36428 * sunrpc/Makefile (otherlibs): Likewise.
36429 * nss/Makefile (otherlibs): Likewise.
36430 Add libnss_files to routines and static-only-routines.
36431 ($(objpfx)getent): Remove rule.
36432 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36433 static-only-routines.
36435 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36438 * math/s_cexp.c: Include <float.h>.
36439 (__cexp): Handle exp result overflowing not necessarily
36440 overflowing both real and imaginary parts of result.
36441 * math/s_cexpf.c: Likewise.
36442 * math/s_cexpl.c: Likewise.
36443 * math/libm-test.inc (cexp_test): Add more tests.
36444 * sysdeps/i386/fpu/libm-test-ulps: Update.
36445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36447 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36449 * include/link.h (ELFW): New macro.
36450 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36451 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36453 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36455 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36458 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36460 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36462 (struct La_x32_retval): Likewise.
36464 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36466 * sysdeps/x86_64/preconfigure.in: New file.
36467 * sysdeps/x86_64/preconfigure: New generated file.
36469 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36472 * math/e_exp2l.c: Include <float.h>.
36473 (__ieee754_exp2l): Handle overflow and underflow cases
36474 separately. Only pass fractional part of argument to
36476 * math/libm-test.inc (exp2_test): Add more tests.
36478 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36479 negating x to take absolute value.
36480 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36482 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36483 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36485 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36486 computing low part if x was negated.
36487 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36489 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36491 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36492 la_x32_gnu_pltexit.
36493 (pltexit): Cast int_retval to ptrdiff_t.
36494 * elf/tst-auditmod3b.c: Likewise.
36495 * elf/tst-auditmod4b.c: Likewise.
36496 * elf/tst-auditmod5b.c: Likewise.
36497 * elf/tst-auditmod6b.c: Likewise.
36498 * elf/tst-auditmod6c.c: Likewise.
36499 * elf/tst-auditmod7b.c: Likewise.
36501 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36502 and x32_gnu_pltexit.
36504 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36505 __ELF_NATIVE_CLASS.
36506 (La_x32_regs): New macro.
36507 (La_x32_retval): Likewise.
36508 (la_x32_gnu_pltenter): New function prototype.
36509 (la_x32_gnu_pltexit): Likewise.
36511 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36518 * configure.in (libc_cv_cc_nofma): Check for option to disable
36519 generation of FMA instructions.
36520 * configure: Regenerate.
36521 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36522 * sysdeps/ieee754/dbl-64/Makefile: New file.
36523 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36524 Remove brandred-fma4.
36525 (CFLAGS-brandred-fma4.c): Remove.
36526 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36527 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36529 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36532 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36534 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36535 LLONG_MAX != LONG_MAX.
36536 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36537 (_fitoa_word): Likewise.
36538 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36539 LLONG_MAX != LONG_MAX.
36540 * stdio-common/_itowa.h: Include <_itoa.h>.
36541 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36542 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36543 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36544 only if not defined.
36545 (_ITOA_WORD_TYPE): Likewise.
36546 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36547 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36549 2012-03-21 David S. Miller <davem@davemloft.net>
36551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36553 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36555 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36556 of x86_64 when setting libc_cv_slibdir, libdir and
36558 * sysdeps/unix/sysv/linux/configure: Regenerated.
36560 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36562 * manual/lang.texi (Old Varargs): Remove section.
36563 (How Variadic): Update menu.
36564 (va_start): Do not mention varargs.h.
36566 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36567 Joseph Myers <joseph@codesourcery.com>
36569 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36571 * configure: Regenerated.
36573 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36575 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36576 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36579 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36582 * Makefile (files-for-dist): Remove NOTES.
36583 (NOTES): Remove rule.
36584 * README: Don't refer to NOTES.
36585 * manual/creature.texi: Don't include macros.texi.
36586 * manual/intro.texi (creature.texi): Remove comment referring to
36589 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36590 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36591 * configure: Regenerated.
36592 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36593 LIBC_TRY_CC_OPTION.
36594 (libc_cv_as_i686): Likewise.
36595 (libc_cv_cc_avx): Likewise.
36596 (libc_cv_cc_sse2avx): Likewise.
36597 (libc_cv_cc_fma4): Likewise.
36598 (libc_cv_cc_novzeroupper): Likewise.
36599 * sysdeps/i386/configure: Regenerated.
36602 * sysdeps/i386/fpu/s_cexp.S: Remove.
36603 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36604 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36605 * math/libm-test.inc (cexp_test): Add more tests.
36606 * sysdeps/i386/fpu/libm-test-ulps: Update.
36607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36609 2012-03-21 Allan McRae <allan@archlinux.org>
36611 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36613 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36616 * math/w_exp2.c: Do not include <float.h>.
36617 (o_threshold, u_threshold): Remove.
36618 (__exp2): Calculate result before checking finiteness and calling
36620 * math/w_exp2f.c: Likewise.
36621 * math/w_exp2l.c: Likewise.
36622 * math/libm-test.inc (exp2_test): Require overflow exception for
36626 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36627 range of signed 64-bit integers before using fistpll. Remove
36628 checks for whether integers fit in mantissa bits.
36629 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36630 the range of signed 32-bit integers before using fistpl. Remove
36631 checks for whether integers fit in mantissa bits.
36632 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36633 (__ieee754_powl): Test for y outside the range of signed 64-bit
36634 integers before using fistpll. Reduce 64-bit values to 63-bit
36636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36637 divide-by-zero is raised for zero to large negative powers.
36638 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36639 (__ieee754_powl): Test for y outside the range of signed 64-bit
36640 integers before using fistpll. Reduce 64-bit values to 63-bit
36642 * math/libm-test.inc (pow_test): Add more tests.
36644 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36646 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36647 <stdio-common/_itoa.h>.
36648 * debug/segfault.c: Likewise.
36649 * elf/dl-cache.c: Likewise.
36650 * elf/dl-minimal.c: Likewise.
36651 * elf/dl-misc.c: Likewise.
36652 * elf/dl-sysdep.c: Likewise.
36653 * elf/dl-version.c: Likewise.
36654 * elf/rtld.c: Likewise.
36655 * hurd/hurdsock.c: Likewise.
36656 * hurd/lookup-retry.c: Likewise.
36657 * malloc/malloc.c: Likewise.
36658 * malloc/mtrace.c: Likewise.
36659 * nscd/nscd_getgr_r.c: Likewise.
36660 * nscd/nscd_getpw_r.c: Likewise.
36661 * nscd/nscd_getserv_r.c: Likewise.
36662 * posix/getopt_init.c: Likewise.
36663 * posix/wordexp.c: Likewise.
36664 * stdio-common/_itoa.c: Likewise.
36665 * stdio-common/printf_fphex.c: Likewise.
36666 * stdio-common/vfprintf.c: Likewise.
36667 * string/_strerror.c: Likewise.
36668 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36669 * sysdeps/i386/i686/hp-timing.h: Likewise.
36670 * sysdeps/mach/_strerror.c: Likewise.
36671 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36672 * sysdeps/mach/hurd/sethostid.c: Likewise.
36673 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36674 * sysdeps/mach/xpg-strerror.c: Likewise.
36675 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36676 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36677 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36678 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36679 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36680 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36681 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36682 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36683 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36684 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36685 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36686 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36687 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36688 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36689 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36690 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36691 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36692 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36693 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36694 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36695 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36697 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36699 * stdio-common/_itoa.h: Moved to ...
36700 * sysdeps/generic/_itoa.h: Here.
36702 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36704 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36705 instead of "_itoa.h" and "_itowa.h".
36706 * stdio-common/vfprintf.: Likewise.
36708 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36710 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36712 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36713 (__signbit): Likwise.
36714 (llrintf): Likwise.
36717 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36719 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36722 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36724 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36725 OVERFLOW_EXCEPTION_OK.
36726 * math/libm-test.inc ("Philosophy"): Update comment about
36728 (OVERFLOW_EXCEPTION): Define.
36729 (OVERFLOW_EXCEPTION_OK): Likewise.
36730 (INVALID_EXCEPTION_OK): Renumber.
36731 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36732 (IGNORE_ZERO_INF_SIGN): Likewise.
36733 (test_exceptions): Handle FE_OVERFLOW.
36734 (exp10_test): Expect overflow exceptions.
36735 (exp2_test): Likewise.
36736 (expm1_test): Likewise.
36737 (nextafter_test): Likewise.
36738 (pow_test): Likewise.
36739 (scalbn_test): Likewise.
36740 (scalbln_test): Likewise.
36742 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36744 * sysdeps/x86_64/bits/atomic.h
36745 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36747 (atomic_exchange_acq): Likewise.
36748 (__arch_exchange_and_add_body): Likewise.
36749 (__arch_add_body): Likewise.
36750 (atomic_add_negative): Likewise.
36751 (atomic_add_zero): Likewise.
36753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36755 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36756 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36758 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36760 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36761 Check __x86_64__ instead of __WORDSIZE.
36763 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36765 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36767 2012-03-19 David S. Miller <davem@davemloft.net>
36769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36771 * sysdeps/sparc/fpu/fenv_private.h: New file.
36772 * sysdeps/sparc/fpu/math_private.h: Use it.
36773 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36775 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36776 (libc_feholdexcept_setroundl): Remove.
36777 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36779 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36780 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36782 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36784 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36785 int64_t instead of long int.
36786 (INSERT_WORDS64): Likwise.
36788 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36790 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36791 _Unwind_GetCFA return to _Unwind_Ptr first.
36793 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36796 * math/s_clog.c: Include <float.h>.
36797 (__clog): Scale large or subnormal inputs.
36798 * math/s_clogf.c: Likewise.
36799 * math/s_clogl.c: Likewise.
36800 * math/s_clog10.c: Include <float.h>.
36801 (M_LOG10_2): Define.
36802 (__clog10): Scale large or subnormal inputs.
36803 * math/s_clog10f.c: Likewise.
36804 * math/s_clog10l.c: Likewise.
36805 * math/libm-test.inc (clog_test): Add more tests.
36806 (clog10_test): Likewise.
36807 * sysdeps/i386/fpu/libm-test-ulps: Update.
36808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36811 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36813 * math/libm-test.inc (atan2_test): Add another test.
36815 * Makerules (common-objdir-compile): Remove.
36816 * sysdeps/unix/Makefile (config-generated): Do not add
36817 $(unix-generated) to variable.
36818 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36819 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36821 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36823 [generic bits/local_lim.h] (before-compile): Do not append to
36825 [generic bits/local_lim.h] (common-generated): Likewise.
36826 [generic sys/param.h] (before-compile): Do not append to variable.
36827 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36828 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36829 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36830 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36832 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36833 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36834 [generic sys/param.h] ($(addprefix
36835 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36836 [generic sys/param.h] (common-generated): Do not append to
36838 [generic sys/param.h] (sysdep_headers): Likewise.
36839 [generic bits/errno.h] (before-compile): Do not append to
36841 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36843 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36844 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36845 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36846 [generic bits/errno.h] (common-generated): Do not append to
36848 [generic bits/ioctls.h] (before-compile): Do not append to
36850 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36852 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36853 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36854 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36856 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36857 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36858 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36859 [generic bits/ioctls.h] (common-generated): Do not append to
36861 [generic sys/syscall.h] (syscall.h): Remove variable.
36862 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36864 [generic sys/syscall.h] (before-compile): Do not append to
36866 [generic sys/syscall.h] (common-generated): Likewise.
36867 * sysdeps/unix/errnos-tmpl.c: Remove file.
36868 * sysdeps/unix/errnos.awk: Likewise.
36869 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36870 * sysdeps/unix/ioctls.awk: Likewise.
36871 * sysdeps/unix/mk-local_lim.c: Likewise.
36872 * sysdeps/unix/snarf-ioctls: Likewise.
36874 2012-03-19 Richard Henderson <rth@twiddle.net>
36876 * sysdeps/i386/fpu/fenv_private.h: New file.
36877 * sysdeps/i386/fpu/math_private.h: Use it.
36878 (math_opt_barrier, math_force_eval): Remove.
36879 (libc_feholdexcept_setround_53bit): Remove.
36880 (libc_feupdateenv_53bit): Remove.
36881 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36882 (math_opt_barrier, math_force_eval): Remove.
36883 (libc_feholdexcept): Remove.
36884 (libc_feholdexcept_setround): Remove.
36885 (libc_fetestexcept, libc_fesetenv): Remove.
36886 (libc_feupdateenv_test): Remove.
36887 (libc_feupdateenv, libc_feholdsetround): Remove.
36888 (libc_feresetround): Remove.
36890 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36891 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36893 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36894 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36895 (libc_feupdateenv_testl): New.
36896 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36897 (libc_feupdateenv_testf): New.
36898 (libc_feupdateenv): Use libc_feupdateenv_test.
36899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36900 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36902 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36903 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36904 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36905 (libc_feresetround_noex): New.
36906 (libc_feresetround_noexf): New.
36907 (libc_feresetround_noexl): New.
36908 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36909 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36910 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36911 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36914 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36916 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36917 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36918 SET_RESTORE_ROUND_NOEX.
36919 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36920 SET_RESTORE_ROUND_NOEXF.
36921 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36922 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36923 (libc_feholdsetroundf): New.
36924 (libc_feresetround, libc_feresetroundf): New.
36926 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36927 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36928 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36930 * sysdeps/generic/math_private.h: Include <fenv.h>.
36931 (default_libc_feholdexcept): New.
36932 (default_libc_feholdexcept_setround): New.
36933 (default_libc_fesetenv, default_libc_feupdateenv): New.
36934 (libc_feholdexcept): Only define if undefined.
36935 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36936 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36937 (libc_feholdexcept_setroundl): Likewise.
36938 (libc_feholdexcept_setround_53bit): Likewise.
36939 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36940 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36941 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36942 (libc_feupdateenv_53bit): Likewise.
36943 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36944 (libc_feholdexcept): Convert from macro to inline function.
36945 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36946 (libc_fesetenv, libc_feupdateenv): Likewise.
36948 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36949 not previously defined.
36950 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36951 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36952 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36953 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36954 * sysdeps/ieee754/flt-32/math_private.h: New file.
36955 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36956 math_private.h below SET_FLOAT_WORD.
36957 (__isnan, __isinf_ns, __finite): Remove.
36958 (__isnanf, __isinf_nsf, __finitef): Remove.
36960 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36964 2012-03-17 David S. Miller <davem@davemloft.net>
36967 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36970 2012-03-16 David S. Miller <davem@davemloft.net>
36972 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36976 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36978 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36979 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36980 sysdep_routines when subdir is sysvipc.
36981 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36982 __getshmlba helper.
36984 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36986 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36988 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36991 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36993 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36994 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36995 (__lround): Renamed to ...
36996 (__llround): This. Replace long int with long long int.
36997 Define lround functions as aliases of llround functions.
36998 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37000 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37002 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37003 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37004 adresses to uintptr_t. Replace "long int" and "unsigned long
37005 int" with "greg_t" on va_arg.
37007 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37009 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37010 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37012 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37013 Move e_machine check before EI_CLASS check. Handle x32
37014 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37015 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37016 SKIP_EM_IA_64 and include
37017 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37019 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37020 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37021 (add_system_dir): New macro.
37023 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37024 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37026 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37037 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37039 * math/w_j0f.c (j0f): Likewise.
37041 * math/w_j0l.c (__j0l): Likewise.
37043 * math/w_j1.c (j1): Likewise.
37045 * math/w_j1f.c (j1f): Likewise.
37047 * math/w_j1l.c (__j1l): Likewise.
37049 * math/w_jn.c (jn): Likewise.
37051 * math/w_jnf.c (jnf): Likewise.
37053 * math/w_jnl.c (__jnl): Likewise.
37055 * math/libm-test.inc (j0_test): Add more tests.
37056 (j1_test): Likewise.
37057 (jn_test): Likewise. Add trailing semicolon to existing test.
37058 (y0_test): Likewise.
37059 (y1_test): Likewise.
37060 * sysdeps/i386/fpu/libm-test-ulps: Update.
37061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37065 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37066 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37067 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37068 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37069 (__tanl): Set errno for infinite argument.
37070 * sysdeps/i386/fpu/mptan.c: Remove.
37071 * sysdeps/i386/fpu/s_tan.S: Likewise.
37072 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37073 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37074 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37075 * math/libm-test.inc (tan_test): Add more tests and enable more
37076 tests for double and long double.
37077 * sysdeps/i386/fpu/libm-test-ulps: Update.
37078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37080 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37082 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37083 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37085 2012-03-16 Roland McGrath <roland@hack.frob.com>
37087 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37088 * configure.in: Use it for both main tree and add-ons.
37089 * configure: Regenerated.
37091 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37093 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37095 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37097 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37101 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37102 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37107 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37108 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37109 != 0 for prec == 2.
37110 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37111 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37112 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37113 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37114 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37115 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37116 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37117 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37118 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37119 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37120 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37121 * math/libm-test.inc (cos_test): Add more tests and enable more
37122 tests for long double.
37123 (sin_test): Likewise.
37124 (sincos_test): Likewise.
37125 * sysdeps/i386/fpu/libm-test-ulps: Update.
37126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37128 2012-03-16 David S. Miller <davem@davemloft.net>
37130 * sysdeps/sparc/fpu/math_private.h: New file.
37132 2012-03-15 David S. Miller <davem@davemloft.net>
37134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37148 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37149 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37151 * sysdeps/sparc/sparc-ifunc.h: New file.
37152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37195 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37197 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37199 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37203 2012-03-15 Andreas Jaeger <aj@suse.de>
37206 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37207 ieee754/flt-32 implementation for sin, cos and sincos.
37208 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37209 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37210 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37211 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37212 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37213 ieee754/flt-32 implementation for tan.
37215 * math/libm-test.inc (cos_test): Enable some large input tests for
37217 (sin_test): Likewise.
37218 (sincos_test): Likewise.
37219 (tan_test): Add tests for large input.
37221 * sysdeps/i386/fpu/libm-test-ulps: Update.
37223 2012-03-15 Andreas Jaeger <aj@suse.de>
37226 * math/libm-test.inc (cos_test): Add more test cases.
37227 (sin_test): Likewise.
37228 (sincos_test): Likewise.
37230 2012-03-15 Andreas Jaeger <aj@suse.de>
37233 * math/libm-test.inc (cos_test): Add a test case for large input
37235 (sin_test): Likewise.
37236 (sincos_test): Likewise.
37238 2012-03-15 Andreas Jaeger <aj@suse.de>
37239 Joseph Myers <joseph@codesourcery.com>
37242 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37243 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37244 * sysdeps/i386/fpu/branred.c: Likewise.
37245 * sysdeps/i386/fpu/dosincos.c: Likewise.
37246 * sysdeps/i386/fpu/mpa.c: Likewise.
37247 * sysdeps/i386/fpu/s_cos.S: Likewise.
37248 * sysdeps/i386/fpu/s_sin.S: Likewise.
37249 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37250 * sysdeps/i386/fpu/sincos32.c: Likewise.
37252 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37254 (libc_feupdateenv_53bit): Define.
37255 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37257 (libc_feupdateenv_53bit): Define.
37259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37260 53 bit (without extend i386 double precision).
37262 * math/libm-test.inc (sincos_test): Add tests for large input.
37266 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37268 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37272 2012-03-15 David S. Miller <davem@davemloft.net>
37274 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37275 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37276 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37277 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37302 fmin/fmax sysdep routines.
37303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37305 2012-03-14 David S. Miller <davem@davemloft.net>
37307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37335 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37379 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37384 * sysdeps/sparc/configure.in: New file.
37385 * sysdeps/sparc/configure: Generate.
37386 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37387 * configure: Regenerate.
37388 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37389 * config.make.in (have-as-vis3): New.
37390 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37391 available use -Av9d instead of -Av9a.
37392 * sysdeps/sparc/sparc64/Makefile: Likewise.
37393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37402 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37408 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37409 fzeros/fnegs to load 0x80000000 into a float register instead of
37411 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37413 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37417 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37418 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37419 ($(inst_includedir)/bits/syscall.h): Remove rule.
37420 ($(objpfx)bits/syscall.d): Include instead of
37421 $(objpfx)syscall-list.d.
37422 (generated): Change syscall-list.h and syscall-list.d to
37423 bits/syscall.h and bits/syscall.d.
37425 2012-03-14 Roland McGrath <roland@hack.frob.com>
37428 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37430 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37433 * math/s_csqrt.c: Include <float.h>.
37434 (__csqrt): Scale large or subnormal inputs.
37435 * math/s_csqrtf.c: Likewise.
37436 * math/s_csqrtl.c: Likewise.
37437 * math/libm-test.inc (csqrt_test): Add more tests.
37438 * sysdeps/i386/fpu/libm-test-ulps: Update.
37439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37442 * math/libm-test.inc (hypot_test): Add more tests.
37444 2012-03-13 David S. Miller <davem@davemloft.net>
37447 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37448 double-precision for the calculation instead of scaling.
37450 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37452 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37453 manipulate bits before adding and subtracting TWO52[sx].
37454 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37455 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37457 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37459 2012-03-13 David S. Miller <davem@davemloft.net>
37461 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37462 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37464 rtld-global-offsets.h
37465 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37467 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37470 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37472 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37473 'err' in the ifdef scope in which it is actually used.
37475 * nss/nss_db/db-init.c: Include string.h
37477 2012-03-12 David S. Miller <davem@davemloft.net>
37479 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37480 masking out of the most significant byte of random value used.
37481 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37482 Fix coding style in previous change.
37484 * sysdeps/unix/sysv/linux/kernel-features.h
37485 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37486 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37488 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37491 2012-03-11 David S. Miller <davem@davemloft.net>
37493 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37494 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37495 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37496 for 'resultvar' otherwise things get truncated on 64-bit.
37498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37499 Fix masking out of the most significant byte of random value used.
37501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37503 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37507 2012-03-09 David S. Miller <davem@davemloft.net>
37509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37510 variables with appropriate CPP guards.
37511 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37512 from the frame pointer, not the stack pointer. Correct layout
37513 comments. Fix test on resulting framesize and the management of
37514 the outregs buffer for pltexit. Preserve floating point return
37515 values across _dl_call_pltexit call.
37516 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37517 framesize and the management of the outregs buffer for pltexit.
37518 Preserve floating point return values across _dl_call_pltexit
37520 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37521 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37522 (la_sparc64_gnu_pltexit): New functions.
37523 (print_exit): Fix format string for return register value.
37525 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37527 * sunrpc/Makefile (others): Add rpcgen.
37528 ($(objpfx)rpcgen): Remove special build rule and dependency on
37530 * sunrpc/rpcgen.c: New file.
37532 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37535 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37536 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37537 * sysdeps/i386/crti.S: Likewise.
37538 * sysdeps/i386/crtn.S: Likewise.
37539 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37540 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37541 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37542 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37543 * sysdeps/sh/crti.S: Likewise.
37544 * sysdeps/sh/crtn.S: Likewise.
37545 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37548 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37550 * locale/programs/locfile-kw.gperf: Likewise.
37551 * locale/programs/charmap-kw.h: Regenerated.
37552 * locale/programs/locfile-kw.h: Likewise.
37555 * intl/plural.y: Replace FSF snail mail address with URL.
37556 * intl/plural.c: Regenerated.
37558 2012-03-09 Richard Henderson <rth@twiddle.net>
37560 * include/math_private.h: Remove file.
37561 * math/math_private.h: Move file ...
37562 * sysdeps/generic/math_private.h: ... here.
37564 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37565 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37566 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37568 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37569 and <math_private.h>.
37570 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37571 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37572 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37573 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37574 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37585 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37615 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37642 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37649 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37650 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37651 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37658 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37659 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37660 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37661 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37663 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37664 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37665 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37666 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37667 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37668 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37669 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37670 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37671 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37672 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37673 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37674 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37675 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37676 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37677 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37678 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37679 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37680 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37681 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37682 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37683 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37684 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37685 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37686 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37687 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37688 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37689 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37691 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37692 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37693 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37694 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37695 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37696 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37697 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37698 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37699 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37700 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37701 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37702 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37703 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37704 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37705 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37706 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37707 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37708 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37709 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37710 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37711 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37712 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37713 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37714 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37718 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37719 * sysdeps/ieee754/k_standard.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37835 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37839 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37842 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37852 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37853 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37862 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37868 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37869 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37870 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37875 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37876 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37880 * sysdeps/ieee754/s_lib_version.c: Likewise.
37881 * sysdeps/ieee754/s_matherr.c: Likewise.
37882 * sysdeps/ieee754/s_signgam.c: Likewise.
37883 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37884 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37885 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37886 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37887 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37888 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37889 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37890 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37891 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37892 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37893 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37894 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37895 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37896 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37897 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37898 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37899 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37900 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37901 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37905 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37907 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37908 * sunrpc/rpc_main.c: Likewise.
37909 * sunrpc/rpc_svcout.c: Likewise.
37911 2012-03-09 David S. Miller <davem@davemloft.net>
37913 * include/math_private.h: New file.
37915 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37917 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37918 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37919 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37920 from <bits/socket_type.h>.
37921 (enum __socket_type): Don't define here.
37922 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37924 bits/socket_type.h.
37927 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37928 checking __USE_GNU.
37930 * Makerules ($(inst_includedir)/%.h): New rule.
37931 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37932 (install-others): Remove variable setting.
37933 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37935 2012-03-08 Richard Henderson <rth@twiddle.net>
37937 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37938 from macro to inline function; merge with the
37939 !__LIBC_INTERNAL_MATH_INLINES version.
37940 (__ieee754_sqrtf): Likewise.
37942 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37943 to inline function.
37944 (__rintf, __floor, __floorf): Likewise.
37946 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37947 macro to inline function.
37948 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37950 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37951 not <math/math_private.h>.
37953 2012-03-08 David S. Miller <davem@davemloft.net>
37955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37957 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37959 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37961 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37963 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37964 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37966 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37968 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37969 be defined individually, they must be defined as a block. Define
37970 S for printing a string instead of hidint the different by using a
37971 macro for adding the 'l'.
37972 * stdio-common/tst-fphex-wide.c: Adjust.
37974 2012-03-07 Marek Polacek <polacek@redhat.com>
37976 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37978 2012-03-08 Marek Polacek <polacek@redhat.com>
37981 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37982 * stdio-common/tst-fphex.c: Define a few macros to make the
37983 test reusable. Use them.
37984 * stdio-common/tst-fphex-wide.c: New file.
37986 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37989 * manual/macros.texi (gnusystems): New macro.
37990 (nongnusystems): Likewise.
37991 (gnulinuxhurdsystems): Likewise.
37992 (gnuhurdsystems): Likewise..
37993 (gnulinuxsystems): Likewise.
37994 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37995 variants of the GNU system, not "GNU system".
37996 * manual/conf.texi: Likewise.
37997 * manual/errno.texi: Likewise. Update example of errno macro
37999 * manual/filesys.texi: Likewise.
38000 (getumask): Document as specific to GNU/Hurd.
38001 * manual/install.texi: Likewise. Reword some references to
38003 * manual/intro.texi: Likewise.
38004 * manual/io.texi: Likewise.
38005 (File Name Portability): Detail which constraints are inapplicable
38006 to all GNU systems and which are only inapplicable to GNU/Hurd.
38007 * manual/job.texi: Likewise.
38008 * manual/llio.texi: Likewise.
38009 (O_NOCTTY): Document as present on GNU/Linux.
38010 * manual/maint.texi: Likewise.
38011 * manual/memory.texi: Likewise.
38012 * manual/pattern.texi: Likewise.
38013 * manual/pipe.texi: Likewise.
38014 * manual/process.texi: Likewise.
38015 * manual/resource.texi: Likewise.
38016 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38018 * manual/setjmp.texi: Likewise.
38019 * manual/signal.texi: Likewise.
38020 * manual/startup.texi: Likewise.
38021 * manual/stdio.texi: Likewise.
38022 * manual/terminal.texi: Likewise.
38023 (ONLCR): Document as POSIX.
38024 (OXTABS): Document availability on GNU/Linux as XTABS.
38025 (ONOEOT): Document availability separately from other bits.
38026 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38027 * manual/time.texi: Likewise.
38028 * manual/users.texi: Likewise.
38029 * INSTALL: Regenerated.
38030 * sysdeps/gnu/errlist.c: Regenerated.
38032 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38033 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38034 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38036 * configure: Regenerated.
38038 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38040 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38041 default includes instead of AC_HEADER_CHECK.
38042 * sysdeps/i386/configure: Regenerated.
38045 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38046 * math/s_cacoshf.c (__cacoshf): Likewise.
38047 * math/s_cacoshl.c (__cacoshl): Likewise.
38048 * math/s_casinh.c (__casinh): Set signs of result from argument.
38049 * math/s_casinhf.c (__casinhf): Likewise.
38050 * math/s_casinhl.c (__casinhl): Likewise.
38051 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38052 (casinh_test): Add more tests.
38053 * sysdeps/i386/fpu/libm-test-ulps: Update.
38054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38056 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38058 * po/zh_TW.po: Update from translation team.
38060 * login/Makefile (distribute): Remove variable.
38061 * catgets/Makefile: Likewise.
38062 * mach/Makefile: Likewise.
38063 * malloc/Makefile: Likewise.
38064 * misc/Makefile: Likewise.
38065 * iconv/Makefile: Likewise.
38066 * nscd/Makefile: Likewise.
38067 * hurd/Makefile: Likewise.
38068 * manual/Makefile: Likewise.
38069 * locale/Makefile: Likewise.
38070 * intl/Makefile: Likewise.
38071 * conform/Makefile: Likewise.
38072 * nss/Makefile: Likewise.
38073 * time/Makefile: Likewise.
38074 * soft-fp/Makefile: Likewise.
38075 * dirent/Makefile: Likewise.
38076 * gmon/Makefile: Likewise.
38077 * po/Makefile: Likewise.
38078 * rt/Makefile: Likewise.
38079 * socket/Makefile: Likewise.
38080 * math/Makefile: Likewise.
38081 * signal/Makefile: Likewise.
38082 * debug/Makefile: Likewise.
38083 * elf/Makefile: Likewise.
38084 * timezone/Makefile: Likewise.
38085 * stdlib/Makefile: Likewise.
38086 * iconvdata/Makefile: Likewise.
38087 * sunrpc/Makefile: Likewise.
38088 * io/Makefile: Likewise.
38089 * argp/Makefile: Likewise.
38090 * inet/Makefile: Likewise.
38091 * hesiod/Makefile: Likewise.
38092 * grp/Makefile: Likewise.
38093 * csu/Makefile: Likewise.
38094 * wctype/Makefile: Likewise.
38095 * crypt/Makefile: Likewise.
38096 * libio/Makefile: Likewise.
38097 * string/Makefile: Likewise.
38098 * nis/Makefile: Likewise.
38099 * resolv/Makefile: Likewise.
38100 * stdio-common/Makefile: Likewise.
38101 * wcsmbs/Makefile: Likewise.
38102 * dlfcn/Makefile: Likewise.
38103 * posix/Makefile: Likewise.
38106 * timezone/Makefile: Don't install timezone files, just the programs
38109 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38111 * nss/databases.def: Add missing gshadow entry.
38113 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38115 2012-03-06 Marek Polacek <polacek@redhat.com>
38118 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38119 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38120 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38121 * stdio-common/tst-long-dbl-fphex.c: New file.
38123 2012-03-06 David S. Miller <davem@davemloft.net>
38125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38126 (set_obp_int): New function.
38127 (get_obp_int): New function.
38128 (__get_clockfreq_via_dev_openprom): Likewise.
38129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38130 Avoid unused variable warnings on 'val' and use builtin_expect.
38131 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38133 (INLINE_CLONE_SYSCALL): Likewise.
38135 2012-03-05 David S. Miller <davem@davemloft.net>
38137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38139 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38144 only for |x| >= 40.
38145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38147 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38150 Replace gettimeofday with __vdso_gettimeofday.
38152 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38153 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38154 __vdso_clock_gettime and __vdso_getcpu.
38156 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38157 time with __vdso_time.
38159 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38161 * manual/lang.texi (size_t): Note types to which size_t may be
38162 equivalent with the GNU C Library, but do not describe when
38163 differences between them are significant.
38165 2012-03-05 Andreas Jaeger <aj@suse.de>
38167 * sysdeps/i386/fpu/libm-test-ulps: Update.
38169 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38172 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38173 (__ieee754_pow): Save and restore rounding mode and use
38174 round-to-nearest for main computations.
38175 * math/libm-test.inc (pow_test_tonearest): New function.
38176 (pow_test_towardzero): Likewise.
38177 (pow_test_downward): Likewise.
38178 (pow_test_upward): Likewise.
38179 (main): Call the new functions.
38180 * sysdeps/i386/fpu/libm-test-ulps: Update.
38181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38184 * math/libm-test.inc (cosh_test_tonearest): New function.
38185 (cosh_test_towardzero): Likewise.
38186 (cosh_test_downward): Likewise.
38187 (cosh_test_upward): Likewise.
38188 (sinh_test_tonearest): Likewise.
38189 (sinh_test_towardzero): Likewise.
38190 (sinh_test_downward): Likewise.
38191 (sinh_test_upward): Likewise.
38192 (main): Call the new functions.
38193 * sysdeps/i386/fpu/libm-test-ulps: Update.
38194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38196 2012-03-05 Tom de Vries <tom@codesourcery.com>
38198 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38199 default stack guard is set in last bytes.
38200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38202 2012-03-05 Kees Cook <keescook@chromium.org>
38204 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38207 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38208 possibly allocate from heap instead of stack.
38209 * stdio-common/bug-vfprintf-nargs.c: New file.
38210 * stdio-common/Makefile (tests): Add nargs overflow test.
38212 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38216 2012-03-03 Marek Polacek <polacek@redhat.com>
38218 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38219 * math/math_private.h: Likewise.
38220 * stdlib/tst-strtod.c: Likewise.
38221 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38222 * sysdeps/x86_64/bits/atomic.h: Likewise.
38224 2012-03-02 David S. Miller <davem@davemloft.net>
38226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38230 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38231 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38232 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38233 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38235 2012-03-02 Roland McGrath <roland@hack.frob.com>
38238 * manual/examples/README: New file, says the example source files
38239 can be used under GPL>=2.
38240 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38241 line containing just "*/".
38242 * manual/examples/add.c: Add copyright header (GPL>=2).
38243 * manual/examples/argp-ex1.c: Likewise.
38244 * manual/examples/argp-ex2.c: Likewise.
38245 * manual/examples/argp-ex3.c: Likewise.
38246 * manual/examples/argp-ex4.c: Likewise.
38247 * manual/examples/atexit.c: Likewise.
38248 * manual/examples/db.c: Likewise.
38249 * manual/examples/dir.c: Likewise.
38250 * manual/examples/dir2.c: Likewise.
38251 * manual/examples/execinfo.c: Likewise.
38252 * manual/examples/filecli.c: Likewise.
38253 * manual/examples/filesrv.c: Likewise.
38254 * manual/examples/fmtmsgexpl.c: Likewise.
38255 * manual/examples/genpass.c: Likewise.
38256 * manual/examples/inetcli.c: Likewise.
38257 * manual/examples/inetsrv.c: Likewise.
38258 * manual/examples/isockad.c: Likewise.
38259 * manual/examples/longopt.c: Likewise.
38260 * manual/examples/memopen.c: Likewise.
38261 * manual/examples/memstrm.c: Likewise.
38262 * manual/examples/mkfsock.c: Likewise.
38263 * manual/examples/mkisock.c: Likewise.
38264 * manual/examples/mygetpass.c: Likewise.
38265 * manual/examples/pipe.c: Likewise.
38266 * manual/examples/popen.c: Likewise.
38267 * manual/examples/rprintf.c: Likewise.
38268 * manual/examples/search.c: Likewise.
38269 * manual/examples/select.c: Likewise.
38270 * manual/examples/setjmp.c: Likewise.
38271 * manual/examples/sigh1.c: Likewise.
38272 * manual/examples/sigusr.c: Likewise.
38273 * manual/examples/stpcpy.c: Likewise.
38274 * manual/examples/strdupa.c: Likewise.
38275 * manual/examples/strftim.c: Likewise.
38276 * manual/examples/strncat.c: Likewise.
38277 * manual/examples/subopt.c: Likewise.
38278 * manual/examples/swapcontext.c: Likewise.
38279 * manual/examples/termios.c: Likewise.
38280 * manual/examples/testopt.c: Likewise.
38281 * manual/examples/testpass.c: Likewise.
38282 * manual/examples/timeval_subtract.c: Likewise.
38285 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38287 * manual/timeval_subtract.c.texi: ... here, new file.
38289 2012-03-02 David S. Miller <davem@davemloft.net>
38291 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38293 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38296 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38297 (__sin): Save and restore rounding mode and use round-to-nearest
38298 for all computations.
38299 (__cos): Save and restore rounding mode and use round-to-nearest
38300 for all computations.
38301 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38303 (tan): Save and restore rounding mode and use round-to-nearest for
38305 * math/libm-test.inc (cos_test_tonearest): New function.
38306 (cos_test_towardzero): Likewise.
38307 (cos_test_downward): Likewise.
38308 (cos_test_upward): Likewise.
38309 (sin_test_tonearest): Likewise.
38310 (sin_test_towardzero): Likewise.
38311 (sin_test_downward): Likewise.
38312 (sin_test_upward): Likewise.
38313 (tan_test_tonearest): Likewise.
38314 (tan_test_towardzero): Likewise.
38315 (tan_test_downward): Likewise.
38316 (tan_test_upward): Likewise.
38317 (main): Call the new functions.
38318 * sysdeps/i386/fpu/libm-test-ulps: Update.
38319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38322 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38323 small n, then large n, before computing and testing k+n.
38324 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38325 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38329 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38330 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38332 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38335 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38336 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38337 * math/libm-test.inc (scalbn_test): Add more tests.
38338 (scalbln_test): Likewise.
38340 * manual/filesys.texi (mode_t): Describe constraints on size and
38341 signedness, not exact equivalence to a particular type.
38343 (ino64_t): Likewise.
38345 (nlink_t): Likewise.
38346 (blkcnt_t): Likewise.
38347 (blkcnt64_t): Likewise.
38348 * manual/llio.texi (off_t): Likewise.
38351 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38352 (__ieee754_exp): Save and restore rounding mode and use
38353 round-to-nearest for all computations.
38354 * math/libm-test.inc (exp_test_tonearest): New function.
38355 (exp_test_towardzero): Likewise.
38356 (exp_test_downward): Likewise.
38357 (exp_test_upward): Likewise.
38358 (main): Call the new functions.
38359 * sysdeps/i386/fpu/libm-test-ulps: Update.
38360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38362 2012-03-01 Chris Demetriou <cgd@google.com>
38364 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38365 have predictable order.
38367 2012-03-01 David S. Miller <davem@davemloft.net>
38369 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38371 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38372 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38373 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38374 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38376 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38377 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38378 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38380 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38381 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38382 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38383 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38384 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38388 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38389 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38390 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38392 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38393 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38394 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38395 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38396 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38397 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38398 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38399 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38400 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38401 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38402 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38403 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38405 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38406 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38407 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38408 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38409 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38410 * sysdeps/sparc/elf/configure: Regenerated.
38412 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38414 * configure.in (AS, LD): Require binutils 2.20 or later.
38415 * configure: Regenerated.
38416 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38417 as required minimum version.
38418 * INSTALL: Regenerated.
38422 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38423 before squaring exponent.
38424 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38425 bottom long double and 27 bits of top long double before squaring
38427 * math/libm-test.inc (erfc_test): Add more tests.
38428 * sysdeps/i386/fpu/libm-test-ulps: Update.
38429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38432 2012-03-01 Kai Tietz <ktietz@redhat.com>
38434 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38435 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38436 containing bit-fields.
38437 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38438 * soft-fp/single.h (_FP_UNION_S): Likewise.
38439 * soft-fp/double.h (_FP_UNION_D): Likewise.
38441 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38444 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38445 not include ../strcmp.S.
38446 [USE_AS_STRNCASECMP_L]: Likewise.
38447 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38448 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38449 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38450 (__strncasecmp_l_ia32): Define as alias to
38451 __strncasecmp_l_nonascii.
38454 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38455 * sysdeps/i386/fpu/libm-test-ulps: Update.
38456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38458 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38461 2012-02-29 Jeff Law <law@redhat.com>
38463 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38464 out of bounds read.
38466 2012-02-29 Marek Polacek <polacek@redhat.com>
38469 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38470 * elf/Makefile: Add rules to run tst-unused-dep.out.
38472 2012-02-28 David S. Miller <davem@davemloft.net>
38474 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38475 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38477 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38478 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38479 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38481 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38483 * math/libm-test.inc (llround_test): Move one test from
38484 lround_test. Use TEST_f_L in moved test.
38485 (lround_test): Move misplaced test to llround_test. Add testcase
38488 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38490 * sysdeps/x86_64/fpu/e_expf.S: New file.
38491 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38493 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38496 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38497 of remain_len that may cause incomplete multi-byte character and
38499 * posix/bug-regex33.c: New file.
38500 * posix/Makefile (tests): Add bug-regex33.
38502 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38504 * manual/macros.texi: New file.
38505 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38506 * manual/libc.texinfo: Include macros.texi.
38507 * manual/creatute.texi: Likewise.
38508 * manual/install.texi: Likewise.
38509 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38510 @glibcadj{} in references to the GNU C Library.
38511 * manual/charset.texi: Likewise.
38512 * manual/conf.texi: Likewise.
38513 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38514 when not using those macros.
38515 * manual/creature.texi: Likewise.
38516 * manual/crypt.texi: Likewise.
38517 * manual/errno.texi: Likewise.
38518 * manual/filesys.texi: Likewise.
38519 * manual/header.texi: Likewise.
38520 * manual/install.texi: Likewise.
38521 * manual/intro.texi: Likewise.
38522 * manual/io.texi: Likewise.
38523 * manual/job.texi: Likewise.
38524 * manual/lang.texi: Likewise.
38525 * manual/libc.texiinfo: Likewise.
38526 * manual/llio.texi: Likewise.
38527 * manual/locale.texi: Likewise.
38528 * manual/maint.texi: Likewise.
38529 * manual/math.texi: Likewise.
38530 * manual/memory.texi: Likewise.
38531 * manual/message.texi: Likewise.
38532 * manual/nss.texi: Likewise.
38533 * manual/pattern.texi: Likewise.
38534 * manual/process.texi: Likewise.
38535 * manual/resource.texi: Likewise.
38536 * manual/search.texi: Likewise.
38537 * manual/setjmp.texi: Likewise.
38538 * manual/signal.texi: Likewise.
38539 * manual/socket.texi: Likewise.
38540 * manual/startup.texi: Likewise.
38541 * manual/stdio.texi: Likewise.
38542 * manual/string.texi: Likewise.
38543 * manual/sysinfo.texi: Likewise.
38544 * manual/syslog.texi: Likewise.
38545 * manual/terminal.texi: Likewise.
38546 * manual/time.texi: Likewise.
38547 * manual/users.texi: Likewise.
38548 * INSTALL: Regenerated.
38549 * NOTES: Regenerated.
38550 * sysdeps/gnu/errlist.c: Regenerated.
38552 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38554 * include/dirent.h: Include <dirstream.h> before
38557 2012-02-28 David S. Miller <davem@davemloft.net>
38559 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38560 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38561 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38562 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38564 2012-02-27 David S. Miller <davem@davemloft.net>
38566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38568 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38569 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38572 frame pointer instead of stack pointer relative arg slot.
38573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38574 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38575 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38577 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38580 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38582 2012-02-27 David S. Miller <davem@davemloft.net>
38584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38588 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38589 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38590 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38591 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38593 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38595 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38596 later. Allow versions 5-9.
38597 * configure: Regenerated.
38598 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38599 required minimum version and 4.6 as recommended version. Do not
38600 mention bugs in GCC 2.7 and 2.8.
38601 * INSTALL: Regenerated.
38603 2012-02-27 David S. Miller <davem@davemloft.net>
38605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38609 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38610 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38611 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38612 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38614 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38615 manipulate bits before adding and subtracting TWO112[sx].
38616 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38618 2012-02-27 Roland McGrath <roland@hack.frob.com>
38621 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38622 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38623 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38624 being in POSIX, because they are in 1003.1-2008.
38626 * rt/tst-aio.c: Include <fcntl.h>.
38627 * rt/tst-aio7.c: Likewise.
38628 * rt/tst-aio64.c: Likewise.
38630 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38632 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38634 * manual/install.texi (--with-headers): Describe headers as
38635 interface headers, not private headers.
38636 (Specific advice for GNU/Linux systems): Describe use of headers
38637 from "make headers_install", not private headers from older
38639 * INSTALL: Regenerated.
38640 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38642 * sysdeps/unix/sysv/linux/configure: Regenerated.
38644 * manual/llio.texi (fclean): Remove documentation.
38646 * manual/Makefile (libc-texi-generated): New variable. Include
38648 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38649 $(libc-texi-generated), not duplicated list of files.
38650 (version.texi, stamp-version): New rules.
38651 (realclean): Remove $(libc-texi-generated), not individual files
38652 from that list. Do not remove dir-add.texinfo.
38653 * manual/libc.texinfo: Comment out uses of edition numbers and
38654 references to printed manual. Remove last-updated dates.
38655 (EDITION): Comment out.
38657 (VERSION, UPDATED): Remove.
38658 (version.texi): Include.
38660 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38662 * sysdeps/posix/spawni.c: Include <signal.h>.
38663 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38664 * sysdeps/pthread/aio_fsync.c: Likewise.
38666 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38668 * conform/Makefile (tests): Run only when not cross-compiling and
38669 when fast-check is not defined.
38671 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38672 * conform/data/limits.h-data: Fixes for POSIX2008.
38673 * conform/run-conformtest.sh: Run all tests.
38674 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38676 * include/bits/dlfcn.h: Likewise.
38677 * include/langinfo.h: Likewise.
38678 * include/monetary.h: Likewise.
38679 * include/sys/poll.h: Likewise.
38681 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38683 * posix/spawn.h: Define __need_sigset_t.
38684 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38685 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38686 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38687 to get sigevent_t only.
38688 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38689 only for __USE_GNU.
38690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38691 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38692 process_vm_writev only for __USE_GNU.
38693 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38695 * conform/Makefile: For now ignore errors from run-conformtest.
38696 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38697 POSIX to avoid namespace pollution. Don't prepend headers.
38698 * conform/data/aio.h-data: Fixes for POSIX testing.
38699 * conform/data/fcntl.h-data: Likewise.
38700 * conform/data/glob.h-data: Likewise.
38701 * conform/data/grp.h-data: Likewise.
38702 * conform/data/pthread.h-data: Likewise.
38703 * conform/data/pwd.h-data: Likewise.
38704 * conform/data/signal.h-data: Likewise.
38705 * conform/data/spawn.h-data: Likewise.
38706 * conform/data/stdio.h-data: Likewise.
38707 * conform/data/stdlib.h-data: Likewise.
38708 * conform/data/stropts.h-data: Likewise.
38709 * conform/data/sys/mman.h-data: Likewise.
38710 * conform/data/sys/stat.h-data: Likewise.
38711 * conform/data/sys/types.h-data: Likewise.
38712 * conform/data/sys/wait.h-data: Likewise.
38713 * conform/data/time.h-data: Likewise.
38714 * conform/data/unistd.h-data: Likewise.
38715 * conform/data/utime.h-data: Likewise.
38717 * io/sys/stat.h: fchmod was always in POSIX.
38718 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38719 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38720 * rt/aio.h: Define __need_timespec before including <time.h>.
38721 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38722 struct. Add forward declaration of pthread_attr_t and use it in
38724 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38726 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38727 always remove CLK_TCK definition.
38729 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38731 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38733 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38735 * conform/run-conformtest.sh: New file.
38736 * conform/Makefile: Run run-conformtest for tests.
38737 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38740 * conform/data/uchar.h-data: New file.
38741 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38742 * conform/data/arpa/inet.h-data: Likewise.
38743 * conform/data/assert.h-data: Likewise.
38744 * conform/data/complex.h-data: Likewise.
38745 * conform/data/cpio.h-data: Likewise.
38746 * conform/data/ctype.h-data: Likewise.
38747 * conform/data/dirent.h-data: Likewise.
38748 * conform/data/dlfcn.h-data: Likewise.
38749 * conform/data/errno.h-data: Likewise.
38750 * conform/data/fcntl.h-data: Likewise.
38751 * conform/data/float.h-data: Likewise.
38752 * conform/data/fmtmsg.h-data: Likewise.
38753 * conform/data/fnmatch.h-data: Likewise.
38754 * conform/data/ftw.h-data: Likewise.
38755 * conform/data/glob.h-data: Likewise.
38756 * conform/data/grp.h-data: Likewise.
38757 * conform/data/iconv.h-data: Likewise.
38758 * conform/data/inttypes.h-data: Likewise.
38759 * conform/data/langinfo.h-data: Likewise.
38760 * conform/data/libgen.h-data: Likewise.
38761 * conform/data/limits.h-data: Likewise.
38762 * conform/data/locale.h-data: Likewise.
38763 * conform/data/math.h-data: Likewise.
38764 * conform/data/monetary.h-data: Likewise.
38765 * conform/data/mqueue.h-data: Likewise.
38766 * conform/data/ndbm.h-data: Likewise.
38767 * conform/data/net/if.h-data: Likewise.
38768 * conform/data/netdb.h-data: Likewise.
38769 * conform/data/netinet/in.h-data: Likewise.
38770 * conform/data/nl_types.h-data: Likewise.
38771 * conform/data/poll.h-data: Likewise.
38772 * conform/data/pthread.h-data: Likewise.
38773 * conform/data/pwd.h-data: Likewise.
38774 * conform/data/regex.h-data: Likewise.
38775 * conform/data/sched.h-data: Likewise.
38776 * conform/data/search.h-data: Likewise.
38777 * conform/data/semaphore.h-data: Likewise.
38778 * conform/data/setjmp.h-data: Likewise.
38779 * conform/data/signal.h-data: Likewise.
38780 * conform/data/spawn.h-data: Likewise.
38781 * conform/data/stdarg.h-data: Likewise.
38782 * conform/data/stdio.h-data: Likewise.
38783 * conform/data/stdlib.h-data: Likewise.
38784 * conform/data/string.h-data: Likewise.
38785 * conform/data/strings.h-data: Likewise.
38786 * conform/data/stropts.h-data: Likewise.
38787 * conform/data/sys/ipc.h-data: Likewise.
38788 * conform/data/sys/mman.h-data: Likewise.
38789 * conform/data/sys/msg.h-data: Likewise.
38790 * conform/data/sys/resource.h-data: Likewise.
38791 * conform/data/sys/select.h-data: Likewise.
38792 * conform/data/sys/sem.h-data: Likewise.
38793 * conform/data/sys/shm.h-data: Likewise.
38794 * conform/data/sys/socket.h-data: Likewise.
38795 * conform/data/sys/stat.h-data: Likewise.
38796 * conform/data/sys/statvfs.h-data: Likewise.
38797 * conform/data/sys/time.h-data: Likewise.
38798 * conform/data/sys/timeb.h-data: Likewise.
38799 * conform/data/sys/times.h-data: Likewise.
38800 * conform/data/sys/types.h-data: Likewise.
38801 * conform/data/sys/uio.h-data: Likewise.
38802 * conform/data/sys/un.h-data: Likewise.
38803 * conform/data/sys/utsname.h-data: Likewise.
38804 * conform/data/sys/wait.h-data: Likewise.
38805 * conform/data/syslog.h-data: Likewise.
38806 * conform/data/tar.h-data: Likewise.
38807 * conform/data/termios.h-data: Likewise.
38808 * conform/data/utime.h-data: Likewise.
38809 * conform/data/utmpx.h-data: Likewise.
38810 * conform/data/varargs.h-data: Likewise.
38811 * conform/data/wchar.h-data: Likewise.
38812 * conform/data/wctype.h-data: Likewise.
38813 * conform/data/wordexp.h-data: Likewise.
38815 * include/stropts.h: New file.
38816 * include/uchar.h: New file.
38817 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38818 * include/assert.h: Likewise.
38819 * include/ctype.h: Likewise.
38820 * include/dirent.h: Likewise.
38821 * include/dlfcn.h: Likewise.
38822 * include/fcntl.h: Likewise.
38823 * include/fnmatch.h: Likewise.
38824 * include/glob.h: Likewise.
38825 * include/grp.h: Likewise.
38826 * include/libio.h: Likewise.
38827 * include/locale.h: Likewise.
38828 * include/math.h: Likewise.
38829 * include/net/if.h: Likewise.
38830 * include/netdb.h: Likewise.
38831 * include/netinet/in.h: Likewise.
38832 * include/pthread.h: Likewise.
38833 * include/pwd.h: Likewise.
38834 * include/regex.h: Likewise.
38835 * include/sched.h: Likewise.
38836 * include/search.h: Likewise.
38837 * include/setjmp.h: Likewise.
38838 * include/signal.h: Likewise.
38839 * include/stdio.h: Likewise.
38840 * include/stdlib.h: Likewise.
38841 * include/string.h: Likewise.
38842 * include/sys/cdefs.h: Likewise.
38843 * include/sys/mman.h: Likewise.
38844 * include/sys/msg.h: Likewise.
38845 * include/sys/resource.h: Likewise.
38846 * include/sys/select.h: Likewise.
38847 * include/sys/socket.h: Likewise.
38848 * include/sys/stat.h: Likewise.
38849 * include/sys/statvfs.h: Likewise.
38850 * include/sys/time.h: Likewise.
38851 * include/sys/times.h: Likewise.
38852 * include/sys/uio.h: Likewise.
38853 * include/sys/utsname.h: Likewise.
38854 * include/sys/wait.h: Likewise.
38855 * include/termios.h: Likewise.
38856 * include/time.h: Likewise.
38857 * include/ulimit.h: Likewise.
38858 * include/unistd.h: Likewise.
38859 * include/utime.h: Likewise.
38860 * include/wchar.h: Likewise.
38861 * include/wctype.h: Likewise.
38862 * include/wordexp.h: Likewise.
38864 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38866 * time/time.h: TIME_UTC must be a macro.
38867 Make timespec_get available for ISO C11 only as well.
38869 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38871 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38872 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38874 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38876 * configure.in: Use -o not -a in test for unsupported multi-arch.
38878 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38880 * manual/texinfo.tex: Update to version 2012-01-19.16.
38882 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38884 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38886 2012-02-24 Roland McGrath <roland@hack.frob.com>
38889 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38890 * manual/fdl-1.3.texi: New file.
38891 * manual/fdl-1.1.texi: File removed.
38894 * manual/libc.texinfo (FDL_VERSION): New @set.
38895 Use it for mention of FDL in cover text.
38896 (Documentation License): Use it in @include file name.
38898 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38899 Roland McGrath <roland@hack.frob.com>
38902 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38903 (not LONG_LONG_MAX and LONG_LONG_MIN.
38904 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38905 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38907 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38909 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38913 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38914 manipulate bits before adding and subtracting TWO23[sx].
38915 * math/libm-test.inc (nearbyint_test): Add more tests.
38917 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38920 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38921 bits before adding and subtracting TWO23[sx].
38922 * math/libm-test.inc (rint_test): Add more tests.
38923 (rint_test_tonearest): Likewise.
38924 (rint_test_towardzero): Likewise.
38925 (rint_test_downward): Likewise.
38926 (rint_test_upward: Likewise.
38928 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38931 * include/stdc-predef.h: New file. Extracted from features.h.
38932 * include/features.h: Include stdc-predef.h.
38933 * Makefile (headers): Add stdc-predef.h.
38934 * CONFORMANCE (Compiler limitations): Update.
38936 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38938 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38940 2012-02-21 David S. Miller <davem@davemloft.net>
38942 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38943 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38945 2012-02-20 David S. Miller <davem@davemloft.net>
38947 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38948 using a normal save/restore sequence, rather than allocating a
38949 dummy stack frame just to store a frame pointer and restore.
38950 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38952 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38954 * manual/install.texi: Fix stray word in line-wrapped comment.
38956 2012-02-20 David S. Miller <davem@davemloft.net>
38958 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38959 both binutils and gcc support GOTDATA.
38961 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38962 "rd %pc" in the PIC register setup sequences.
38964 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38965 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38966 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38967 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38968 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38970 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38971 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38973 (SYSCALL_ERROR_HANDLER): Likewise.
38974 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38975 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38977 (SYSCALL_ERROR_HANDLER): Likewise.
38979 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38980 (HAVE_GCC_GOTDATA): New.
38981 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38982 relocation support in both binutils and gcc.
38983 * sysdeps/sparc/elf/configure: Regenerate.
38985 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38986 * sysdeps/sparc/sparc32/elf/configure: Delete.
38987 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38988 * sysdeps/sparc/sparc64/elf/configure: Delete.
38989 * sysdeps/sparc/elf/configure.in: New file.
38990 * sysdeps/sparc/elf/configure: Generate.
38992 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38993 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38994 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38995 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38996 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38998 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39000 * manual/install.texi: Do not mention specific glibc version
39002 * manual/libc.texinfo (VERSION, UPDATED): Update.
39003 (@copying): Use @copyright{} and range of years.
39005 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39008 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39009 [crti.S not in sysdirs] (generated): Do not append.
39010 [crti.S not in sysdirs] (omit-deps): Likewise.
39011 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39012 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39013 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39014 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39015 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39017 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39018 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39019 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39020 * csu/defs.awk: Remove file.
39021 * sysdeps/generic/initfini.c: Likewise.
39022 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39024 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39027 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39029 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39030 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39031 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39032 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39034 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39036 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39037 (__EPOLL_PACKED): Define to empty if not defined by
39039 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39043 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39045 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39046 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39047 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39048 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39050 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39054 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39056 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39058 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39059 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39063 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39065 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39066 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39068 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39070 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39071 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39073 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39075 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39078 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39080 * math/w_acos.c: Use non-signaling floating-point comparisons.
39081 * math/w_acosf.c: Likewise.
39082 * math/w_acosh.c: Likewise.
39083 * math/w_acoshf.c: Likewise.
39084 * math/w_acoshl.c: Likewise.
39085 * math/w_acosl.c: Likewise.
39086 * math/w_asin.c: Likewise.
39087 * math/w_asinf.c: Likewise.
39088 * math/w_asinl.c: Likewise.
39089 * math/w_atanh.c: Likewise.
39090 * math/w_atanhf.c: Likewise.
39091 * math/w_atanhl.c: Likewise.
39092 * math/w_exp2.c: Likewise.
39093 * math/w_exp2f.c: Likewise.
39094 * math/w_exp2l.c: Likewise.
39095 * math/w_j0.c: Likewise.
39096 * math/w_j0f.c: Likewise.
39097 * math/w_j0l.c: Likewise.
39098 * math/w_j1.c: Likewise.
39099 * math/w_j1f.c: Likewise.
39100 * math/w_j1l.c: Likewise.
39101 * math/w_jn.c: Likewise.
39102 * math/w_jnf.c: Likewise.
39103 * math/w_log.c: Likewise.
39104 * math/w_log10.c: Likewise.
39105 * math/w_log10f.c: Likewise.
39106 * math/w_log10l.c: Likewise.
39107 * math/w_log2.c: Likewise.
39108 * math/w_log2f.c: Likewise.
39109 * math/w_log2l.c: Likewise.
39110 * math/w_logf.c: Likewise.
39111 * math/w_logl.c: Likewise.
39112 * math/w_sqrt.c: Likewise.
39113 * math/w_sqrtf.c: Likewise.
39114 * math/w_sqrtl.c: Likewise.
39115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39116 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39117 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39118 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39119 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39121 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39124 * manual/string.texi (strnlen): Use correct parameter name in
39125 equivalent expression.
39127 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39130 * manual/users.texi (seteuid): Consistently use neweuid for
39133 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39136 * manual/nss.texi (Services in the NSS configuration): Correct
39137 list of services in example configuration file.
39139 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39142 * manual/arith.texi: Remove statements about negative zero
39143 behaving identically to zero.
39145 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39148 * manual/install.texi: Do not document upgrading from libc5.
39150 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39153 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39155 2012-02-18 David S. Miller <davem@davemloft.net>
39157 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39158 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39159 %o7 across the call.
39160 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39163 SETUP_PIC_REG_LEAF.
39164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39165 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39166 * sysdeps/sparc/crtn.S: Likewise.
39168 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39170 * aout/Makefile: Remove.
39172 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39175 * manual/examples/argp-ex1.c (main): Format definition in GNU
39177 * manual/examples/argp-ex2.c (main): Likewise.
39178 * manual/examples/argp-ex3.c (main): Likewise.
39179 * manual/examples/argp-ex4.c (main): Likewise.
39180 * manual/examples/longopt.c (main): Use new-style prototype
39182 * manual/examples/strncat.c (main): Specify return type and use
39183 (void) for arguments.
39184 * manual/examples/subopt.c (main): Use char **argv argument.
39186 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39189 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39192 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39195 * manual/string.texi (strchr): Change when strchrnul is
39198 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39201 * manual/locale.texi (setlocale): Document LOCPATH.
39203 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39206 * manual/process.texi (execle): Move @dots{} before last argument.
39208 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39211 * manual/charset.texi (Generic Charset Conversion): Fix typo
39212 (LC_TYPE -> LC_CTYPE).
39214 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39217 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39218 (scalbnf): Likewise.
39219 (scalbnl): Likewise.
39220 (scalbln): Likewise.
39221 (scalblnf): Likewise.
39222 (scalblnl): Likewise.
39223 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39224 (vwarnx): Likewise.
39227 * manual/filesys.texi (telldir): Use braces around return type.
39228 * manual/llio.texi (mmap): Add space after comma.
39229 (mmap64): Likewise.
39230 * manual/math.texi (jn): Use @var{} on parameter names.
39236 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39238 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39240 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39241 (sched_get_priority_max): Likewise.
39242 * manual/signal.texi (sigvec): Add space after comma.
39243 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39245 (if_indextoname): Likewise.
39246 (if_freenameindex): Likewise.
39247 (sendto): Use ',' instead of '.' in prototype.
39248 * manual/startup.texi (syscall): Use @dots{} instead of literal
39250 * manual/stdio.texi (__fpending): Separate initial words of
39251 paragraph from @deftypefun line.
39252 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39254 (vsyslog): Use @var{} on parameter names.
39255 * manual/terminal.texi (stty): Use @var{} on parameter names.
39256 * manual/users.texi (getutmp): Use @var{} on parameter names.
39257 (getutmpx): Likewise.
39259 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39262 * manual/stdio.texi (fopen): Fix typos in description of
39265 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39268 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39269 get clock_id definition.
39271 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39274 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39275 (madvise): Cast every argument to void on its own.
39277 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39280 * manual/startup.texi (Exit Status): Fix typo.
39282 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39285 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39286 * manual/examples/argp-ex2.c: Likewise.
39287 * manual/examples/argp-ex3.c: Likewise.
39289 2012-02-16 Richard Henderson <rth@redhat.com>
39291 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39292 * sysdeps/s390/s390-32/initfini.c: Remove.
39293 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39294 * sysdeps/s390/s390-64/initfini.c: Remove.
39296 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39298 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39299 compiler output for sysdeps/generic/initfini.c.
39300 * sysdeps/sh/elf/initfini.c: Remove file.
39302 2012-02-16 David S. Miller <davem@davemloft.net>
39305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39307 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39308 * sysdeps/sparc/crti.S: New file.
39309 * sysdeps/sparc/crtn.S: New file.
39310 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39311 * sysdeps/sparc/sparc64/Makefile: Likewise.
39313 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39316 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39318 2012-02-15 Roland McGrath <roland@hack.frob.com>
39321 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39323 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39324 (write, read, close): Likewise.
39325 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39327 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39329 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39330 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39331 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39332 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39334 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39338 2012-02-14 Marek Polacek <polacek@redhat.com>
39340 * sysdeps/x86_64/crti.S: New file.
39341 * sysdeps/x86_64/crtn.S: New file.
39342 * sysdeps/x86_64/elf/initfini.c: Remove file.
39344 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39346 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39347 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39348 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39349 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39351 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39355 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39357 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39358 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39359 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39360 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39362 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39366 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39368 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39369 __feraiseexcept instead of feraiseexcept.
39371 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39372 nanosleep invocations.
39373 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39374 strings, and add error checking for a nanosleep invocations.
39376 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39378 Replace FSF snail mail address with URLs, as per GNU coding standards.
39379 Most of the snail mail addresses were wrong anyway, and omitting
39380 them makes the source code easier to maintain. Almost all of the
39381 changes are to license notices and to locale LC_IDENTIFICATION
39382 addresses, except for this one:
39383 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39384 not its snail mail address.
39386 2012-02-09 Richard Henderson <rth@twiddle.net>
39388 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39389 of kernel-features.h.
39391 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39393 2012-02-08 Marek Polacek <polacek@redhat.com>
39395 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39396 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39397 * sysdeps/gnu/_G_config.h: Likewise.
39398 * sysdeps/generic/_G_config.h: Likewise.
39400 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39402 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39406 * sysdeps/powerpc/powerpc32/crti.S: New file.
39407 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39408 * sysdeps/powerpc/powerpc64/crti.S: New file.
39409 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39411 * Makeconfig (have-initfini): Don't set.
39412 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39413 * configure.in (nopic_initfini): Don't substitute.
39414 * config.h.in (HAVE_INITFINI): Don't #undef.
39415 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39416 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39418 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39420 Support crti.S and crtn.S provided directly by architectures.
39421 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39422 [crti.S in sysdirs] (omit-deps): Likewise.
39423 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39424 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39425 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39426 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39427 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39428 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39429 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39430 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39431 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39432 compiler output for sysdeps/generic/initfini.c.
39433 * sysdeps/i386/elf/Makefile: Remove file.
39434 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39436 2012-02-07 Marek Polacek <polacek@redhat.com>
39438 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39439 * sysdeps/gnu/_G_config.h: Likewise.
39440 * sysdeps/mach/hurd/_G_config.h: Likewise.
39442 2012-02-07 Marek Polacek <polacek@redhat.com>
39444 * math/Makefile (tests): Add tst-CMPLX2.
39445 * math/tst-CMPLX2.c: New file.
39447 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39449 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39451 * math/libm-test.inc (jn_test): Add missing L suffix.
39453 2012-02-06 Marek Polacek <polacek@redhat.com>
39455 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39456 * sysdeps/i386/fpu/e_powf.S: Likewise.
39457 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39458 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39459 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39460 * sysdeps/i386/fpu/e_pow.S: Likewise.
39461 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39462 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39463 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39464 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39465 * sysdeps/i386/fpu/e_log2.S: Likewise.
39466 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39467 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39468 * sysdeps/i386/fpu/e_powl.S: Likewise.
39469 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39470 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39471 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39472 * sysdeps/i386/fpu/e_logl.S: Likewise.
39473 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39474 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39475 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39476 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39477 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39478 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39479 * sysdeps/i386/fpu/e_log.S: Likewise.
39480 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39481 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39482 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39483 * sysdeps/i386/fpu/e_logf.S: Likewise.
39484 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39485 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39486 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39487 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39488 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39489 * sysdeps/i386/fpu/e_log10.S: Likewise.
39490 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39491 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39492 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39493 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39494 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39495 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39496 * sysdeps/i386/asm-syntax.h: Likewise.
39497 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39498 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39499 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39500 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39501 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39502 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39503 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39504 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39505 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39506 * sysdeps/powerpc/sysdep.h: Likewise.
39507 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39508 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39510 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39513 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39515 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39517 * sysdeps/i386/sysdep.h: Include <features.h>.
39518 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39521 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39523 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39525 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39528 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39530 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39531 (SETUP_PIC_REG): Use GET_PC_THUNK.
39532 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39535 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39537 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39538 for non-PIC compilation.
39539 (SETUP_PIC_REG): Add .p2align directive.
39540 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39541 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39542 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39543 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39544 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39545 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39546 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39547 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39548 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39549 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39550 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39551 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39552 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39553 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39554 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39555 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39556 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39557 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39558 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39559 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39560 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39561 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39562 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39563 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39564 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39566 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39567 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39568 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39569 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39570 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39571 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39572 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39573 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39574 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39575 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39576 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39577 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39578 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39579 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39580 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39582 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39584 * math/tst-CMPLX.c: Include <stdio.h>.
39586 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39588 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39590 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39591 * sysdeps/sparc/bits/mathdef.h: Likewise.
39593 2012-01-31 Marek Polacek <polacek@redhat.com>
39595 * libio/libio.h: Don't define _PARAMS.
39596 * locale/programs/config.h: Don't define PARAMS.
39597 * stdlib/strtol_l.c: Likewise.
39598 (__strtol_l): Remove PARAMS from the prototype.
39600 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39602 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39603 names. Just use the correct names. Remove unnecessary wrapper
39605 * malloc/arena.c: Likewise.
39606 * malloc/hooks.c: Likewise.
39608 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39609 ARENA_TEST says not to. Simplify test for creation of a new arena.
39610 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39612 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39614 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39616 (update_get_addr): New function.
39617 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39618 GET_ADDR_MODULE parameter.
39620 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39622 * crypt/cert.c: Remove __STDC__ conditionals.
39623 * crypt/crypt-entry.c: Likewise.
39624 * crypt/crypt_util.c: Likewise.
39625 * libio/filedoalloc.c: Likewise.
39626 * libio/fileops.c: Likewise.
39627 * libio/genops.c: Likewise.
39628 * libio/iofclose.c: Likewise.
39629 * libio/iofdopen.c: Likewise.
39630 * libio/iofopen.c: Likewise.
39631 * libio/iofopen64.c: Likewise.
39632 * libio/iogetdelim.c: Likewise.
39633 * libio/iopopen.c: Likewise.
39634 * libio/obprintf.c: Likewise.
39635 * libio/oldfileops.c: Likewise.
39636 * libio/oldiofclose.c: Likewise.
39637 * libio/oldiofdopen.c: Likewise.
39638 * libio/oldiofopen.c: Likewise.
39639 * libio/oldiopopen.c: Likewise.
39640 * libio/wfiledoalloc.c: Likewise.
39641 * libio/wgenops.c: Likewise.
39642 * locale/programs/xmalloc.c: Likewise.
39643 * misc/syslog.c: Likewise.
39644 * stdio-common/xbug.c: Likewise.
39645 * string/memchr.c: Likewise.
39646 * string/memcmp.c: Likewise.
39647 * string/memrchr.c: Likewise.
39648 * string/rawmemchr.c: Likewise.
39649 * sysdeps/posix/getcwd.c: Likewise.
39650 * time/strftime_l.c: Likewise.
39652 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39654 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39655 * config.make.in (config-cflags-sse2avx): Define.
39656 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39659 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39661 * scripts/config.guess: Update from upstream config git repository.
39662 * scripts/config.sub: Likewise.
39664 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39666 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39668 (R_TILEPRO_*, R_TILEGX_*): New macros.
39670 * scripts/firstversions.awk: Fix bug in version range handling.
39672 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39674 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39676 * include/sys/epoll.h: New file.
39677 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39680 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39682 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39683 Avoid unnecessary __WORDSIZE == 64 test.
39684 (fmaxf): Use VEX format if possible.
39689 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39690 * math/math_private.h: Remove libc_fegetround* and
39692 * sysdeps/i386/configure.in: Check for -msse2avx.
39693 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39694 also if SSE2AVX is defined.
39695 Remove libc_fegetround* and libc_fesetround*.
39696 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39697 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39698 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39700 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39701 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39702 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39703 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39704 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39706 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39708 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39710 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39712 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39714 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39717 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39719 * Makeconfig (libm): Define.
39720 * elf/Makefile: Add rules to build and run tst-relsort1.
39721 * elf/tst-relsort1.c: New file.
39722 * elf/tst-relsort1mod1.c: New file.
39723 * elf/tst-relsort1mod2.c: New file.
39725 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39727 * math/s_ldexp.c: Remove __STDC__ conditionals.
39728 * math/s_ldexpf.c: Likewise.
39729 * math/s_ldexpl.c: Likewise.
39730 * math/s_nextafter.c: Likewise.
39731 * math/s_nexttowardf.c: Likewise.
39732 * math/s_significand.c: Likewise.
39733 * math/s_significandf.c: Likewise.
39734 * math/s_significandl.c: Likewise.
39735 * math/w_jnl.c: Likewise.
39736 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39737 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39738 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39739 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39740 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39741 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39742 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39750 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39751 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39752 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39755 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39756 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39757 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39758 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39759 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39760 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39761 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39762 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39763 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39764 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39765 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39766 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39767 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39768 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39769 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39770 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39771 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39772 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39773 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39774 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39775 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39776 * sysdeps/ieee754/k_standard.c: Likewise.
39777 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39781 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39782 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39784 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39786 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39787 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39795 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39796 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39838 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39843 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39845 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39846 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39848 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39851 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39852 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39854 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39855 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39856 * sysdeps/ieee754/s_matherr.c: Likewise.
39857 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39858 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39859 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39862 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39864 * crypt/md5.h: Remove __STDC__ conditionals.
39865 * libio/libioP.h: Likewise.
39866 * locale/programs/config.h: Likewise.
39867 * sysdeps/generic/sysdep.h: Likewise.
39868 * sysdeps/i386/asm-syntax.h: Likewise.
39869 * sysdeps/s390/asm-syntax.h: Likewise.
39870 * sysdeps/unix/sysdep.h: Likewise.
39871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39874 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39876 * libio/libio.h: Remove __STDC__ conditionals.
39877 * malloc/obstack.h: Likewise.
39878 * math/complex.h: Likewise.
39879 * math/math.h: Likewise.
39880 * sysdeps/generic/_G_config.h: Likewise.
39881 * sysdeps/gnu/_G_config.h: Likewise.
39882 * sysdeps/mach/hurd/_G_config.h: Likewise.
39883 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39884 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39885 * sysdeps/sparc/bits/mathdef.h: Likewise.
39887 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39890 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39891 Clean up HAS_* macros.
39892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39893 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39895 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39898 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39899 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39900 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39901 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39903 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39905 * elf/tst-unique3.cc (gets): Remove declaration.
39906 * elf/tst-unique3lib.cc (gets): Likewise.
39907 * elf/tst-unique3lib2.cc (gets): Likewise.
39908 * elf/tst-unique4.cc (gets): Likewise.
39910 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39912 * include/stdio.h: Add C++ protection. Add gets declarations and
39914 * debug/tst-chk1.c: Don't declare gets here.
39915 * stdio-common/tst-gets.c: Likewise.
39917 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39919 * posix/glob: Remove directory.
39921 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39923 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39925 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39927 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39928 of the non-standard EPFNOSUPPORT.
39930 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39932 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39933 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39934 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39936 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39938 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39940 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39942 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39944 * nscd/grpcache.c (cache_addgr): Likewise.
39945 * nscd/hstcache.c (cache_addhst): Likewise.
39946 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39947 * nscd/pwdcache.c (cache_addpw): Likewise.
39948 * nscd/servicescache.c (cache_addserv): Likewise.
39950 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39952 * malloc/malloc.c: Various cleanups.
39953 * malloc/hooks.c: Likewise.
39955 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39956 * stdlib/bug-fmtmsg1.c: New file.
39958 * stdlib/fmtmsg.c (init): Add missing unlock.
39959 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39961 2012-01-12 Marek Polacek <polacek@redhat.com>
39963 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39966 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39968 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39969 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39970 macro to ensure uniqueness of label name.
39971 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39972 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39974 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39976 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39978 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39979 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39981 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39983 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39985 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39987 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39988 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39989 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39991 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39993 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39994 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39995 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39998 * math/bits/math-finite.h: Add ldexp support.
40000 2012-01-10 Marek Polacek <polacek@redhat.com>
40002 * locale/programs/localedef.h (show_archive_content): Add noreturn
40005 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40007 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40009 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40011 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40013 * io/Makefile (headers): Add bits/poll2.h.
40015 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40018 typo #include statement.
40020 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40022 * include/sys/cdefs.h: Define __attribute_alloc_size.
40023 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40024 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40025 * elf/pldd.c: Likewise.
40026 * iconv/iconv_charmap.c: Likewise.
40027 * iconv/iconvconfig.c: Likewise.
40028 * iconv/strtab.c: Likewise.
40029 * locale/programs/locale.c: Likewise.
40030 * locale/programs/localedef.h: Likewise.
40031 * locale/programs/simple-hash.c: Likewise.
40032 * nscd/nscd.h: Likewise.
40033 * nss/makedb.c: Likewise.
40034 * sysdeps/generic/ldconfig.h: Likewise.
40035 * locale/programs/localedef.c: Remove xmalloc prototype.
40036 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40038 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40040 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40043 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40045 * math/Makefile (tests): Add tst-CMPLX.
40046 * math/tst-CMPLX.c: New file.
40048 * math/complex.h (CMPLXL): Fix typo.
40050 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40051 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40053 * debug/tst-chk1.c: Add poll and ppoll tests.
40054 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40055 * include/sys/poll.h: Add hidden proto for ppoll.
40056 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40057 * sysdeps/mach/hurd/ppoll.c: Likewise.
40058 * io/ppoll.c: Likewise.
40059 * debug/poll_chk.c: New file.
40060 * debug/ppoll_chk.c: New file.
40061 * include/bits/poll2.h: New file.
40062 * io/bits/poll2.h: New file.
40065 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40067 * configure.in: static is always set to yes. Remove.
40068 * config.make.in: Don't set build-static.
40069 * Makeconfig: Remove use of build-static.
40070 * dlfcn/Makefile: Likewise.
40071 * elf/Makefile: Likewise.
40072 * math/Makefile: Likewise.
40073 * misc/Makefile: Likewise.
40074 * nptl/Makefile: Likewise.
40075 * sysdeps/mach/hurd/Makefile: Likewise.
40077 * configure.in: PWD_P is not used anymore.
40078 * config.make.in: Remove PWD_P entry.
40080 * configure.in: Remove last remnants of RANLIB.
40081 No need to check for signed size_t anymore.
40082 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40084 Remove __builtin_expect test because we require at least gcc 3.4.
40085 * aclocal.m4: Likewise.
40087 * wcsmbs/mbrtoc16.c: Implement using towc function.
40088 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40089 * wcsmbs/wcsmbsload.c: Likewise.
40090 * iconv/gconv_simple.c: Likewise.
40091 * iconv/gconv_int.h: Likewise.
40092 * iconv/gconv_builtin.h: Likewise.
40093 * iconv/iconv_prog.c: Remove CHAR16 handling.
40095 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40097 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40099 * configure.in: Remove --with-elf and --enable-bounded options.
40100 Dont set base_machine for ia64. More non-ELF conditions removed.
40101 Remove testing and setting of leading underscore information.
40102 * config.make.in (build-bounded): Set to no.
40103 * config.h.in: Remove NO_UNDERSCORES entry.
40104 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40106 * csu/start.c: Remove !NO_UNDERSCORE code.
40107 * locale/localeinfo.h: Likewise.
40108 * sysdeps/generic/machine-gmon.h: Likewise.
40109 * sysdeps/generic/sysdep.h: Likewise.
40110 * sysdeps/i386/sysdep.h: Likewise.
40111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40112 * sysdeps/mach/sysdep.h: Likewise.
40113 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40115 * sysdeps/sh/sysdep.h: Likewise.
40116 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40117 * sysdeps/unix/i386/sysdep.S: Likewise.
40118 * sysdeps/unix/sparc/start.c: Likewise.
40119 * sysdeps/unix/sparc/sysdep.S: Likewise.
40120 * sysdeps/unix/sparc/sysdep.h: Likewise.
40121 * sysdeps/unix/start.c: Likewise.
40122 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40123 * sysdeps/x86_64/sysdep.h: Likewise.
40125 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40128 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40130 * argp/argp-fmtstream.h: Use const instead __const.
40131 * argp/argp.h: Likewise.
40132 * assert/assert.h: Likewise.
40133 * bits/fenv.h: Likewise.
40134 * bits/sched.h: Likewise.
40135 * bits/sigset.h: Likewise.
40136 * bits/sigthread.h: Likewise.
40137 * catgets/nl_types.h: Likewise.
40138 * conform/data/pthread.h-data: Likewise.
40139 * crypt/crypt-private.h: Likewise.
40140 * crypt/crypt.h: Likewise.
40141 * crypt/crypt_util.c: Likewise.
40142 * ctype/ctype.h: Likewise.
40143 * debug/execinfo.h: Likewise.
40144 * debug/mbsnrtowcs_chk.c: Likewise.
40145 * debug/mbsrtowcs_chk.c: Likewise.
40146 * debug/wcsnrtombs_chk.c: Likewise.
40147 * debug/wcsrtombs_chk.c: Likewise.
40148 * debug/wcstombs_chk.c: Likewise.
40149 * dirent/dirent.h: Likewise.
40150 * dlfcn/dlfcn.h: Likewise.
40151 * elf/neededtest4.c: Likewise.
40152 * grp/grp.h: Likewise.
40153 * gshadow/gshadow.h: Likewise.
40154 * iconv/gconv.h: Likewise.
40155 * iconv/gconv_int.h: Likewise.
40156 * iconv/gconv_simple.c: Likewise.
40157 * iconv/iconv.h: Likewise.
40158 * iconv/loop.c: Likewise.
40159 * iconv/skeleton.c: Likewise.
40160 * include/aio.h: Likewise.
40161 * include/aliases.h: Likewise.
40162 * include/argz.h: Likewise.
40163 * include/arpa/inet.h: Likewise.
40164 * include/assert.h: Likewise.
40165 * include/dirent.h: Likewise.
40166 * include/dlfcn.h: Likewise.
40167 * include/execinfo.h: Likewise.
40168 * include/fcntl.h: Likewise.
40169 * include/fenv.h: Likewise.
40170 * include/glob.h: Likewise.
40171 * include/grp.h: Likewise.
40172 * include/libintl.h: Likewise.
40173 * include/mntent.h: Likewise.
40174 * include/netdb.h: Likewise.
40175 * include/pwd.h: Likewise.
40176 * include/rpc/netdb.h: Likewise.
40177 * include/sched.h: Likewise.
40178 * include/search.h: Likewise.
40179 * include/shadow.h: Likewise.
40180 * include/signal.h: Likewise.
40181 * include/stdio.h: Likewise.
40182 * include/stdlib.h: Likewise.
40183 * include/string.h: Likewise.
40184 * include/sys/socket.h: Likewise.
40185 * include/sys/stat.h: Likewise.
40186 * include/sys/statfs.h: Likewise.
40187 * include/sys/statvfs.h: Likewise.
40188 * include/sys/syslog.h: Likewise.
40189 * include/sys/time.h: Likewise.
40190 * include/sys/uio.h: Likewise.
40191 * include/time.h: Likewise.
40192 * include/unistd.h: Likewise.
40193 * include/utmp.h: Likewise.
40194 * include/wchar.h: Likewise.
40195 * include/wctype.h: Likewise.
40196 * inet/aliases.h: Likewise.
40197 * inet/arpa/inet.h: Likewise.
40198 * inet/netinet/ether.h: Likewise.
40199 * inet/netinet/in.h: Likewise.
40200 * intl/libintl.h: Likewise.
40201 * io/bits/fcntl2.h: Likewise.
40202 * io/fcntl.h: Likewise.
40203 * io/ftw.h: Likewise.
40204 * io/sys/poll.h: Likewise.
40205 * io/sys/stat.h: Likewise.
40206 * io/sys/statfs.h: Likewise.
40207 * io/sys/statvfs.h: Likewise.
40208 * io/utime.h: Likewise.
40209 * libio/bits/stdio.h: Likewise.
40210 * libio/bits/stdio2.h: Likewise.
40211 * libio/libio.h: Likewise.
40212 * libio/libioP.h: Likewise.
40213 * libio/stdio.h: Likewise.
40214 * locale/lc-ctype.c: Likewise.
40215 * locale/locale.h: Likewise.
40216 * login/utmp.h: Likewise.
40217 * malloc/arena.c: Likewise.
40218 * malloc/malloc.c: Likewise.
40219 * malloc/malloc.h: Likewise.
40220 * malloc/mcheck.c: Likewise.
40221 * malloc/mtrace.c: Likewise.
40222 * math/bits/mathcalls.h: Likewise.
40223 * math/fenv.h: Likewise.
40224 * math/math_private.h: Likewise.
40225 * misc/bits/error.h: Likewise.
40226 * misc/bits/syslog.h: Likewise.
40227 * misc/err.h: Likewise.
40228 * misc/error.h: Likewise.
40229 * misc/fstab.h: Likewise.
40230 * misc/mntent.h: Likewise.
40231 * misc/regexp.h: Likewise.
40232 * misc/search.h: Likewise.
40233 * misc/sgtty.h: Likewise.
40234 * misc/sys/mman.h: Likewise.
40235 * misc/sys/syslog.h: Likewise.
40236 * misc/sys/uio.h: Likewise.
40237 * misc/sys/xattr.h: Likewise.
40238 * misc/ttyent.h: Likewise.
40239 * nis/rpcsvc/ypclnt.h: Likewise.
40240 * nss/nss.h: Likewise.
40241 * posix/bits/unistd.h: Likewise.
40242 * posix/fnmatch.h: Likewise.
40243 * posix/glob.h: Likewise.
40244 * posix/sched.h: Likewise.
40245 * posix/spawn.h: Likewise.
40246 * posix/sys/wait.h: Likewise.
40247 * posix/unistd.h: Likewise.
40248 * posix/wordexp.h: Likewise.
40249 * pwd/pwd.h: Likewise.
40250 * resolv/netdb.h: Likewise.
40251 * resource/sys/resource.h: Likewise.
40252 * rt/aio.h: Likewise.
40253 * rt/bits/mqueue2.h: Likewise.
40254 * rt/mqueue.h: Likewise.
40255 * shadow/shadow.h: Likewise.
40256 * signal/signal.h: Likewise.
40257 * socket/send.c: Likewise.
40258 * socket/sendto.c: Likewise.
40259 * socket/sys/socket.h: Likewise.
40260 * stdio-common/printf.h: Likewise.
40261 * stdlib/bits/stdlib.h: Likewise.
40262 * stdlib/fmtmsg.h: Likewise.
40263 * stdlib/monetary.h: Likewise.
40264 * stdlib/stdlib.h: Likewise.
40265 * stdlib/ucontext.h: Likewise.
40266 * streams/stropts.h: Likewise.
40267 * string/argz.h: Likewise.
40268 * string/bits/string2.h: Likewise.
40269 * string/string.h: Likewise.
40270 * string/strings.h: Likewise.
40271 * sunrpc/rpc/auth.h: Likewise.
40272 * sunrpc/rpc/auth_des.h: Likewise.
40273 * sunrpc/rpc/clnt.h: Likewise.
40274 * sunrpc/rpc/netdb.h: Likewise.
40275 * sunrpc/rpc/pmap_clnt.h: Likewise.
40276 * sunrpc/rpc/xdr.h: Likewise.
40277 * sysdeps/generic/inttypes.h: Likewise.
40278 * sysdeps/generic/net/if.h: Likewise.
40279 * sysdeps/generic/sys/swap.h: Likewise.
40280 * sysdeps/gnu/net/if.h: Likewise.
40281 * sysdeps/gnu/utmpx.h: Likewise.
40282 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40283 * sysdeps/i386/i486/bits/string.h: Likewise.
40284 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40285 * sysdeps/s390/bits/string.h: Likewise.
40286 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40287 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40288 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40289 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40290 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40291 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40292 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40293 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40294 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40295 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40296 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40297 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40298 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40299 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40300 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40301 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40302 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40303 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40305 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40306 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40307 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40308 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40309 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40310 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40311 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40312 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40313 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40314 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40315 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40316 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40317 * sysvipc/sys/ipc.h: Likewise.
40318 * sysvipc/sys/msg.h: Likewise.
40319 * sysvipc/sys/sem.h: Likewise.
40320 * sysvipc/sys/shm.h: Likewise.
40321 * termios/termios.h: Likewise.
40322 * time/sys/time.h: Likewise.
40323 * time/time.h: Likewise.
40324 * wcsmbs/bits/wchar2.h: Likewise.
40325 * wcsmbs/uchar.h: Likewise.
40326 * wcsmbs/wchar.h: Likewise.
40327 * wctype/wctype.h: Likewise.
40330 * Makeconfig: Remove all but ELF support including AIX support.
40331 * Makerules: Likewise.
40332 * config.h.in: Likewise.
40333 * config.make.in: Likewise.
40334 * configure: Likewise.
40335 * configure.in: Likewise.
40336 * csu/Makefile: Likewise.
40337 * csu/version.c: Likewise.
40338 * debug/Makefile: Likewise.
40339 * dlfcn/Makefile: Likewise.
40340 * elf/Makefile: Likewise.
40341 * extra-lib.mk: Likewise.
40342 * iconv/Makefile: Likewise.
40343 * include/libc-symbols.h: Likewise.
40344 * include/shlib-compat.h: Likewise.
40345 * resolv/Makefile: Likewise.
40346 * resolv/res_libc.c: Likewise.
40347 * rt/Makefile: Likewise.
40348 * sysdeps/i386/asm-syntax.h: Likewise.
40349 * sysdeps/i386/sysdep.h: Likewise.
40350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40351 * sysdeps/mach/sysdep.h: Likewise.
40352 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40353 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40354 * sysdeps/s390/asm-syntax.h: Likewise.
40355 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40357 * sysdeps/sh/sysdep.h: Likewise.
40358 * sysdeps/unix/sparc/sysdep.h: Likewise.
40359 * sysdeps/wordsize-32/divdi3.c: Likewise.
40360 * sysdeps/x86_64/sysdep.h: Likewise.
40362 * argp/Versions: Remove _argp_unlock_xxx.
40365 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40366 * abilist/libBrokenLocale.abilist: Likewise.
40367 * abilist/libanl.abilist: Likewise.
40368 * abilist/libc.abilist: Likewise.
40369 * abilist/libcrypt.abilist: Likewise.
40370 * abilist/libdl.abilist: Likewise.
40371 * abilist/libm.abilist: Likewise.
40372 * abilist/libnsl.abilist: Likewise.
40373 * abilist/libpthread.abilist: Likewise.
40374 * abilist/libresolv.abilist: Likewise.
40375 * abilist/librt.abilist: Likewise.
40376 * abilist/libthread_db.abilist: Likewise.
40377 * abilist/libutil.abilist: Likewise.
40378 * abilist/libnss_db.abilist: New file.
40380 * scripts/abilist.awk: Add support for indirect functions.
40382 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40384 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40386 * shlib-versions: Remove entries for ports architectures.
40388 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40390 * elf/stackguard-macros.h: Remove support for IA-64.
40391 * elf/tst-auditmod1.c: Likewise.
40392 * sysdeps/generic/ldsodefs.h: Likewise.
40394 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40395 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40399 * configure.in: Remove --enable-omitfp support.
40401 * config.make.in: Likewise.
40402 * Makeconfig: Likewise.
40403 * manual/install.texi: Likewise.
40405 In case anyone cares, the IA-64 architecture could move to ports.
40406 * sysdeps/ia64/*: Removed.
40407 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40408 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40411 * configure.in: Remove entries for unsupported architectures.
40414 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40415 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40417 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40418 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40419 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40420 fall back to using wcrtomb.
40421 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40422 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40424 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40425 * wcsmbs/tst-c16c32-1.c: New file.
40427 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40430 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40432 * elf/tst-unique3.cc: Add explicit declaration of gets.
40433 * elf/tst-unique3lib.cc: Likewise.
40434 * elf/tst-unique3lib2.cc: Likewise.
40435 * elf/tst-unique4.cc: Likewise.
40437 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40439 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40442 * assert/assert.h (static_assert): Don't define for C++.
40443 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40444 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40446 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40448 * iconv/loop.c (single loop): Fix assertion in storing of
40451 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40453 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40455 * posix/getconf.c: Update copyright year.
40456 * nss/getent.c: Likewise.
40457 * nss/makedb.c: Likewise.
40458 * iconv/iconvconfig.c: Likewise.
40459 * iconv/iconv_prog.c: Likewise.
40460 * elf/ldconfig.c: Likewise.
40461 * elf/pldd.c: Likewise.
40462 * elf/sotruss.ksh: Likewise.
40463 * catgets/gencat.c: Likewise.
40464 * csu/version.c: Likewise.
40465 * elf/ldd.bash.in: Likewise.
40466 * elf/sprof.c (print_version): Likewise.
40467 * locale/programs/locale.c: Likewise.
40468 * locale/programs/localedef.c: Likewise.
40469 * login/programs/pt_chown.c: Likewise.
40470 * nscd/nscd.c (print_version): Likewise.
40471 * debug/xtrace.sh: Likewise.
40472 * malloc/memusage.sh: Likewise.
40473 * malloc/mtrace.pl: Likewise.
40474 * debug/catchsegv.sh: Likewise.
40476 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40478 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40481 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40484 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40485 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40487 * iconv/gconv_int.h: Likewise.
40488 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40489 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40490 from libc for GLIBC_2.16.
40491 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40492 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40493 * wcsmbs/uchar.h: Really define mbstate_t.
40494 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40495 * wcsmbs/c16rtomb.c: New file.
40496 * wcsmbs/mbrtoc16.c: New file.
40497 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40498 for C/POSIX locale.
40499 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40500 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40502 * wcsmbs/wchar.h: Add missing __restrict.
40504 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40507 * time/Makefile (routines): Add timespec_get.
40508 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40509 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40510 timespec for ISO C11.
40511 * time/timespec_get.c: New file.
40512 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40513 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40516 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40517 * stdlib/stdlib.h: Declare aligned_alloc.
40518 * Versions.def: Add GLIBC_2.16 for libc.
40519 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40522 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40525 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40529 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40532 * assert/assert.h (static_assert): Define.
40534 * version.h: Update for 2.16 development version.
40537 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40540 * version.h (RELEASE): Bump for 2.15 release.
40541 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40543 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40544 Patch by Marek Polacek <mpolacek@redhat.com>.
40546 * bits/byteswap.h: Protect long long constants with __extension__.
40547 * sysdeps/i386/bits/byteswap.h: Likewise.
40548 * sysdeps/ia64/bits/byteswap.h: Likewise.
40549 * sysdeps/s390/bits/byteswap.h: Likewise.
40550 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40552 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40556 destination buffer.
40557 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40559 2011-12-23 Marek Polacek <polacek@redhat.com>
40561 * elf/dl-addr.c (determine_info): Add inline keyword.
40562 * elf/tst-auditmod4b.c (check_avx): Likewise.
40563 * elf/tst-auditmod6b.c (check_avx): Likewise.
40564 * elf/tst-auditmod6c.c (check_avx): Likewise.
40565 * elf/tst-auditmod7b.c (check_avx): Likewise.
40567 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40569 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40572 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40575 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40576 processing for last bytes.
40578 2011-08-06 Bruno Haible <bruno@clisp.org>
40581 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40582 U+0385, not to U+1FEE.
40585 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40586 entry for U+00A5 U+0301.
40588 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40591 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40592 buffer for the output is too small.
40594 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40598 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40599 SSE flags if possible.
40601 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40605 processing for last bytes.
40607 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40609 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40610 (syscall-list-default-options, syscall-list-default-condition)
40611 (syscall-list-includes): Define.
40612 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40613 list of ABIs and options and #if conditions for each ABI. Do not
40614 handle common syscalls between ABIs specially.
40615 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40617 (syscall-list-variants, syscall-list-32bit-options)
40618 (syscall-list-32bit-condition, syscall-list-64bit-options)
40619 (syscall-list-64bit-condition): Define.
40620 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40621 (syscall-list-variants, syscall-list-32bit-options)
40622 (syscall-list-32bit-condition, syscall-list-64bit-options)
40623 (syscall-list-64bit-condition): Define.
40624 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40626 (syscall-list-variants, syscall-list-32bit-options)
40627 (syscall-list-32bit-condition, syscall-list-64bit-options)
40628 (syscall-list-64bit-condition): Define.
40629 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40631 (syscall-list-variants, syscall-list-32bit-options)
40632 (syscall-list-32bit-condition, syscall-list-64bit-options)
40633 (syscall-list-64bit-condition): Define.
40635 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40637 * locale/iso-639.def: Add brx entry.
40640 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40641 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40643 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40644 __feraiseexcept_renamed.
40646 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40649 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40650 EPOLLET with unsigned values.
40651 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40652 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40654 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40655 to large cancellation.
40656 * math/s_cacoshf.c: Likewise.
40657 * math/s_cacoshl.c: Likewise.
40659 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40663 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40664 * math/s_cacoshf.c: Likewise.
40665 * math/s_cacoshl.c: Likewise.
40667 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40670 * iconv/gconv.h: Define __GCONV_SWAP.
40671 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40672 * iconvdata/utf-16.c: Likewise.
40673 * iconvdata/utf-32.c: Likewise.
40675 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40678 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40679 numerator after shifting it by one limb.
40681 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40684 under [__USE_EXTERN_INLINES].
40686 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40689 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40691 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40693 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40694 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40696 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40697 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40698 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40699 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40700 for strncasecmp/strncasecmp_l compilation.
40701 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40702 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40704 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40707 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40710 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40713 * time/tzfile.c (__tzfile_read): Check values from file header.
40715 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40717 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40718 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40719 * powerpc/powerpc32/dl-start.S: Likewise.
40720 * powerpc/powerpc32/elf/start.S: Likewise.
40721 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40722 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40723 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40724 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40725 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40726 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40727 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40728 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40729 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40730 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40731 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40732 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40733 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40734 * powerpc/powerpc32/memset.S: Likewise.
40735 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40736 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40737 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40738 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40739 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40740 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40741 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40742 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40743 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40744 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40745 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40746 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40747 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40749 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40751 * math/libm-test.inc: Added more nearbyint tests.
40752 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40753 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40755 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40757 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40759 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40762 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40764 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40765 Add wcscpy-ssse3 wcscpy-c.
40766 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40767 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40768 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40769 * sysdeps/x86_64/wcschr.S: New file.
40770 * sysdeps/x86_64/wcsrchr.S: New file.
40771 * string/test-strcmp.c: Remove checking of wcscmp function for
40773 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40774 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40775 wcsrchr-sse2 wcsrchr-c.
40776 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40777 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40778 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40779 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40780 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40781 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40782 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40783 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40784 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40785 * wcsmbc/wcschr.c (WCSCHR): New macro.
40787 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40789 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40790 * wcsmbs/test-wcsrchr.c: New file.
40791 * string/test-strrchr.c: Add wcsrchr support.
40793 * wcsmbs/test-wcscpy.c: New file.
40794 * string/test-strcpy.c: Add wcscpy support.
40797 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40799 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40802 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40805 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40807 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40809 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40810 Minor optimizations.
40812 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40813 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40814 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40816 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40818 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40819 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40820 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40821 for gcc to avoid warnings.
40822 * inet/Makefile (tests): Add tst-checks.
40823 * inet/tst-checks.c: New file.
40825 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40828 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40831 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40832 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40834 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40836 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40838 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40841 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40843 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40845 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40846 conditional on GCC version.
40847 (__arch_compare_and_exchange_val_8_acq)
40848 (__arch_compare_and_exchange_val_16_acq)
40849 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40850 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40851 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40853 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40855 * sysdeps/sh/backtrace.c: New file.
40857 2011-12-02 Andreas Schwab <schwab@redhat.com>
40859 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40862 2011-12-01 Andreas Schwab <schwab@redhat.com>
40864 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40865 falling back to utime.
40867 2011-11-30 Andreas Schwab <schwab@redhat.com>
40869 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40870 expectations for float.
40872 2011-11-29 Andreas Schwab <schwab@redhat.com>
40874 * locale/weight.h (findidx): Add parameter len.
40875 * locale/weightwc.h (findidx): Likewise.
40876 * posix/fnmatch_loop.c (FCT): Adjust caller.
40877 * posix/regcomp.c (build_equiv_class): Likewise.
40878 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40879 * posix/regexec.c (check_node_accept_bytes): Likewise.
40880 * string/strcoll_l.c (STRCOLL): Likewise.
40881 * string/strxfrm_l.c (STRXFRM): Likewise.
40883 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40885 * Makefile.in: Remove CVSOPT handling.
40886 * configure.in: Remove use of AC_REVISION.
40887 * iconvdata/Makefile (distribute): No need to filter out CVS.
40888 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40891 2011-11-16 Andreas Schwab <schwab@redhat.com>
40893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40894 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40895 [USE_AS_STRNCASECMP_L]: Likewise.
40896 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40897 NO_TLS_DIRECT_SEG_REFS.
40898 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40899 Fix argument offsets for non-PIC.
40900 [USE_AS_STRNCASECMP_L]: Likewise.
40901 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40902 NO_TLS_DIRECT_SEG_REFS.
40904 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40906 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40908 * locale/loadlocale.c (_nl_load_locale): Likewise.
40910 2011-11-15 Andreas Schwab <schwab@redhat.com>
40912 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40913 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40914 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40915 (SYSCALL_GETTIME): Set errno on error.
40917 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40918 count references to noai6ai_cached.
40920 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40922 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40924 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40925 FD_CLOEXEC for /proc/self/maps.
40927 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40928 FD_CLOEXEC for /proc/meminfo.
40930 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40933 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40934 FD_CLOEXEC for given file.
40936 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40938 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40939 FD_CLOEXEC for /etc/hosts.
40940 (_gethtent): Likewise.
40942 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40944 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40945 cancellation and set FD_CLOEXEC for /etc/netgroup.
40947 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40948 reading /etc/publickey.
40950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40951 allow cancellation when reading /etc/group.
40953 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40955 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40957 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40958 when using data file.
40960 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40962 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40963 (write_nis_obj): Use "c" and "e" in fopen.
40965 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40967 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40969 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40971 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40973 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40976 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40978 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40980 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40982 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40983 file parsing and set FD_CLOEXEC.
40985 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40987 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40989 2011-11-14 Andreas Schwab <schwab@redhat.com>
40991 * malloc/arena.c (arena_get2): Don't call reused_arena when
40992 _int_new_arena failed.
40994 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40996 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40997 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40998 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41001 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41002 to compile strcasecmp and strncasecmp.
41003 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41004 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41008 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41010 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41011 locale-defines.sym to gen-as-const-headers.
41012 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41013 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41015 to compile strcasecmp and strncasecmp.
41016 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41017 strcasecmp_l and strncasecmp_l.
41018 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41019 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41020 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41021 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41022 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41023 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41024 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41025 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41026 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41027 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41028 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41030 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41032 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41033 result of SYSDEP_GETTIME_CPU to retval.
41034 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41035 parameter list to macro. Remove trailing semicolon. Adjust users.
41037 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41040 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41042 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41044 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41045 from unused variable.
41047 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41049 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41052 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41055 * sunrpc/rpc_prot.c (rejected): Fix case value.
41057 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41058 unsigned long long int to avoid warnings in shift.
41060 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41062 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41065 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41066 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41067 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41069 * nis/nis_table.c (nis_list): Use variable of correct type for
41070 result of __follow_path call.
41072 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41074 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41075 of math functions ceil, trunc, floor, round, and sqrt, when
41076 avaliable on the platform.
41077 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41079 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41080 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41081 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41083 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41085 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41086 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41088 2011-11-11 Roland McGrath <roland@hack.frob.com>
41090 * include/unistd.h: Fix __readlink return type.
41091 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41093 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41095 * stdlib/ucontext.h: Undo last change for makecontext.
41097 2011-11-11 Andreas Schwab <schwab@redhat.com>
41099 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41101 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41102 * setjmp/setjmp.h: Mark functions as non-leaf.
41103 * setjmp/bits/setjmp2.h: Likewise.
41104 * stdlib/ucontext.h: Likewise.
41106 2011-11-10 Andreas Schwab <schwab@redhat.com>
41108 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41109 (reused_arena): Don't check arena limit.
41110 (arena_get2): Atomically check arena limit.
41112 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41114 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41115 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41120 2011-11-07 Andreas Schwab <schwab@redhat.com>
41122 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41123 handler when locking.
41125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41126 Fix size of allocated buffer.
41128 2011-11-04 Andreas Schwab <schwab@redhat.com>
41131 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41132 declarations for long double functions.
41133 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41135 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41137 2011-11-03 Andreas Schwab <schwab@redhat.com>
41139 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41142 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41145 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41147 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41149 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41151 * include/alloca.h (stackinfo_alloca_round): Define.
41152 (extend_alloca): Use it.
41153 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41154 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41157 * scripts/check-local-headers.sh: Ignore libaudit.h.
41159 * nscd/Makefile (extra-objs): Make recursively expanded.
41161 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41163 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41166 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41167 * posix/tst-rfc3484-2.c: Likewise.
41168 * posix/tst-rfc3484-3.c: Likewise.
41170 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41172 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41174 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41175 process_vm_writev from libc using GLIBC_2.15 version.
41177 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41179 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41181 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41184 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41187 * nss/getent.c (initgroups_keys): Show error message in case no group
41190 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41191 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41192 __bump_nl_timestamp.
41193 * nscd/connections (nscd_init): When host database is served open
41194 netlink socket and request notification about configuration changes.
41195 (main_loop_poll): Track netlink file descriptor and bump timestamp
41196 in case data becomes available.
41197 (main_loop_epoll): Likewise.
41198 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41199 (database_pers_head): Add extra_data fileds.
41200 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41201 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41202 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41204 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41205 in6ai data, call __free_in6ai.
41206 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41207 Add -DHAVE_NETLINK.
41208 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41209 interface information. Reuse previous data if netlink timestamp
41211 (__bump_nl_timestamp): New function.
41212 (__free_in6ai): New function.
41214 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41216 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41217 close_not_cancel_no_status here.
41218 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41220 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41223 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41226 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41227 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41228 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41230 2011-07-03 Andreas Jaeger <aj@suse.de>
41233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41234 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41235 * math/libm-test.inc (sin_test): Add test case.
41237 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41240 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41241 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41243 * elf/chroot_canon.c (chroot_canon): Cleanups.
41245 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41248 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41249 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41251 * string/test-strchr.c: Make usable for strchrnul testing.
41252 * string/test-strchrnul.c: New file.
41253 * string/Makefile (strop-tests): Add strchrnul.
41255 * po/it.po: Update from translation team.
41256 * po/es.po: Likewise.
41258 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41260 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41261 the three constants needed as parameters. Drop the others.
41262 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41263 __m128i_strloadu_tolower.
41264 Create and initialize variable zero and use it in all the places
41265 where _mm_setzero_si128 was used.
41267 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41268 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41269 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41270 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41272 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41274 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41275 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41276 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41277 __mpranred, __mptan.
41278 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41279 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41280 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41281 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41282 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41283 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41284 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41285 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41286 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41288 2011-10-28 Andreas Schwab <schwab@redhat.com>
41290 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41291 redefine if SHARED.
41292 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41295 wide char related routines to wcsmbs subdir.
41297 2011-10-27 Andreas Schwab <schwab@redhat.com>
41300 * misc/sys/cdefs.h (__THROWNL): Define.
41301 * posix/unistd.h: Use __THREADNL instead of __THREAD
41302 for memory synchronization functions.
41304 2011-10-26 Roland McGrath <roland@hack.frob.com>
41307 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41309 * manual/stdio.texi (Obstack Streams): Node removed.
41311 2011-10-26 Andreas Schwab <schwab@redhat.com>
41313 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41314 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41315 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41317 * math/math_private.h (math_force_eval): Allow non-addressable
41319 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41321 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41323 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41324 file is not needed.
41326 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41329 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41333 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41335 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41336 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41337 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41338 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41339 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41340 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41341 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41342 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41343 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41344 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41345 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41346 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41347 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41348 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41349 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41350 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41351 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41352 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41353 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41355 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41356 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41358 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41359 place. Use VEX encoding when compiling for AVX.
41361 2011-10-25 Andreas Schwab <schwab@redhat.com>
41363 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41364 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41366 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41368 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41370 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41371 useless if() expression.
41372 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41373 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41374 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41376 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41377 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41378 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41381 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41382 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41383 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41384 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41385 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41386 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41387 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41388 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41389 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41390 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41392 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41394 2011-10-25 Andreas Schwab <schwab@redhat.com>
41396 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41398 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41400 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41402 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41403 .text section. Avoid duplicate constants.
41404 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41406 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41411 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41412 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41413 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41414 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41415 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41416 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41417 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41418 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41419 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41420 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41421 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41422 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41424 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41425 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41426 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41427 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41428 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41429 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41430 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41431 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41433 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41434 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41435 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41436 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41437 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41438 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41439 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41440 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41441 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41442 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41443 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41444 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41445 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41446 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41447 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41448 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41450 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41452 * sysdeps/x86_64/dla.h: Move to ...
41453 * sysdeps/x86_64/fpu/dla.h: ...here.
41454 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41455 situations. Use __builtin_fma only for gcc 4.6 and up.
41457 * config.make.in: Add have-mfma4 entry.
41458 * configure.in: Substitute libc_cv_cc_fma4.
41459 * math/Makefile (dbl-only-routines): Add sincostab.
41460 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41461 Use __sincostab not sincos.
41462 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41464 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41469 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41470 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41471 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41472 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41474 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41475 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41477 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41478 define aliases when function name is a macro.
41479 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41480 sysdeps/ieee754/dbl-64/sincos.tbl.
41481 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41482 fma4-enabled routines.
41483 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41484 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41485 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41486 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41487 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41488 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41489 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41490 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41491 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41492 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41493 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41494 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41495 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41496 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41497 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41498 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41499 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41500 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41501 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41503 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41504 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41505 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41506 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41507 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41508 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41509 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41510 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41511 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41512 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41514 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41522 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41525 2011-10-24 Andreas Schwab <schwab@redhat.com>
41527 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41529 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41531 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41533 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41535 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41537 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41538 Remove unused variable magic_bits.
41539 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41541 * string/strnlen.c: Define and use STRNLEN macro.
41542 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41543 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41545 * wcsmbs/wcslen.c: Define and use WCSLEN.
41546 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41547 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41548 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41549 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41550 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41551 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41552 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41554 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41557 strnlen-sse2-no-bsf.
41558 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41560 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41561 Add strnlen support.
41562 (USE_AS_STRNLEN): New macro.
41563 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41564 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41565 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41566 * sysdeps/x86_64/wcslen.S: New file.
41568 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41570 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41571 XMM-moves are used for copying on small sizes.
41573 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41575 * wcsmbs/Makefile (strop-tests): Add wcschr.
41576 * wcsmbs/test-wcschr.c: New file.
41577 * string/test-strchr.c: Update.
41578 Add wcschr support.
41581 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41583 * wcsmbs/Makefile (strop-tests): Add wcslen.
41584 * wcsmbs/test-wcslen.c: New file.
41585 * string/test-strlen.c: Update.
41586 Add wcslen support.
41589 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41591 * po/it.po: Update from translation team.
41593 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41595 * sysdeps/x86_64/wcscmp.S: Update.
41596 Fix wrong comparison semantics.
41597 wcscmp shall use signed comparison not unsigned.
41598 Don't use substraction to avoid overflow bug.
41599 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41600 * wcsmbc/wcscmp.c: Likewise.
41601 * string/test-strcmp.c: Likewise.
41602 Add new tests to check cases with negative values.
41604 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41606 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41607 * sysdeps/x86_64/dla.h: ...here. New file.
41608 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41618 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41621 __ynl_finite aliases.
41623 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41627 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41629 [DLA_FMA] (EMULV): Use DLA_FMA.
41630 [DLA_FMA] (MUL12): Use EMULV.
41631 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41632 that are not needed.
41633 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41636 * sysdeps/ieee754/dbl-64/e_pow.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-22 Andreas Schwab <schwab@linux-m68k.org>
41643 * math/s_nan.c: Undef __nan.
41644 * math/s_nanf.c: Undef __nanf.
41645 * math/s_nanl.c: Undef __nanl.
41646 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41649 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41651 * math/s_catan.c: Add branch predictions.
41652 * math/s_catanf.c: Likewise.
41653 * math/s_catanh.c: Likewise.
41654 * math/s_catanhf.c: Likewise.
41655 * math/s_catanhl.c: Likewise.
41656 * math/s_catanl.c: Likewise.
41657 * math/s_cexp.c: Likewise.
41658 * math/s_cexpf.c: Likewise.
41659 * math/s_cexpl.c: Likewise.
41660 * math/s_clog.c: Likewise.
41661 * math/s_clog10.c: Likewise.
41662 * math/s_clog10f.c: Likewise.
41663 * math/s_clog10l.c: Likewise.
41664 * math/s_clogf.c: Likewise.
41665 * math/s_clogl.c: Likewise.
41666 * math/s_csqrt.c: Likewise.
41667 * math/s_csqrtf.c: Likewise.
41668 * math/s_csqrtl.c: Likewise.
41669 * math/s_ctanf.c: Likewise.
41670 * math/s_ctanh.c: Likewise.
41671 * math/s_ctanhf.c: Likewise.
41672 * math/s_ctanhl.c: Likewise.
41673 * math/s_ctanl.c: Likewise.
41675 * math/math_private.h: Define __nan, __nanf, __nanl.
41676 * math/s_cacosh.c: Include <math_private.h>.
41677 * math/s_cacoshl.c: Likewise.
41678 * math/s_casinh.c: Likewise.
41679 * math/s_casinhf.c: Likewise.
41680 * math/s_casinhl.c: Likewise.
41681 * math/s_ccos.c: Rely entire on ccosh.
41682 * math/s_ccosf.c: Rely entire on ccoshf.
41683 * math/s_ccosl.c: Rely entirely on ccoshl.
41684 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41685 Remove tests for FE_INVALID.
41686 * math/s_ccoshf.c: Likewise.
41687 * math/s_ccoshl.c: Likewise.
41688 * math/s_csin.c: Likewise.
41689 * math/s_csinf.c: Likewise.
41690 * math/s_csinh.c Likewise.
41691 * math/s_csinhf.c: Likewise.
41692 * math/s_csinhl.c: Likewise.
41693 * math/s_csinl.c: Likewise.
41694 * math/s_ctan.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41696 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41697 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41699 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41702 compilation problems.
41704 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41707 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41709 * sysdeps/i386/configure.in: Test for -mfma4 option.
41710 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41711 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41712 COMMON_CPUID_INDEX_80000001.
41713 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41714 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41715 use it if FMA3 is not supported.
41716 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41718 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41719 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41721 2011-10-20 Andreas Schwab <schwab@redhat.com>
41724 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41725 it would create a cycle with a link time dependency.
41727 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41729 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41731 * string/Makefile (strop-tests): Add rawmemchr.
41732 * string/test-rawmemchr.c: New file.
41734 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41736 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41737 when compiling str{,n}casecmp and when AVX is available. Hook up
41738 new optimized code in initializers.
41740 2011-10-19 Andreas Schwab <schwab@redhat.com>
41742 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41743 __feraiseexcept instead of feraiseexcept.
41745 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41747 * math/math_private.h: Define defaults for libc_fetestexcept and
41749 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41750 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41751 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41752 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41753 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41754 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41755 libc_fetestexcept and libc_feupdateenv.
41757 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41758 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41759 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41760 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41761 libc_feholdexcept_setround.
41763 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41764 Add s_nearbyint-c and s_nearbyintf-c.
41765 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41766 nearbyintf inlines.
41767 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41768 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41769 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41770 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41772 * math/math_private.h: Define defaults for libc_fegetround,
41773 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41774 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41775 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41776 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41777 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41778 standard functions.
41779 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41780 Remove comments and hacks for old compiler versions.
41781 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41782 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41783 libc_feholdexceptl.
41785 2011-10-18 Andreas Schwab <schwab@redhat.com>
41787 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41788 (__feraiseexcept_renamed): Add __NTH.
41789 (feraiseexcept): Add __NTH. Rename local variables to fix
41790 namespace violations.
41792 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41794 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41796 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41798 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41799 recently added interfaces.
41800 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41802 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41803 about macro parameter expansion.
41805 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41806 __NO_MATH_INLINES is defined. Cleanups.
41808 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41809 and __floorf is target has SSE4.1.
41810 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41811 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41812 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41813 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41815 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41817 (floorf): Likewise.
41819 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41821 2011-10-17 Andreas Schwab <schwab@redhat.com>
41823 * misc/sys/cdefs.h: Fix last change.
41825 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41828 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41830 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41832 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41834 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41835 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41837 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41838 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41839 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41840 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41841 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41842 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41843 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41844 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41845 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41846 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41847 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41848 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41849 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41850 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41851 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41852 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41853 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41855 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41856 ceil, ceilf, floor, floorf.
41858 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41859 Perform IRELATIVE relocations last.
41861 * elf/do-rel.h: Add another parameter nrelative, replacing the
41862 local variable with the same name. Change name of the function
41863 to end in Rel or Rela (uppercase).
41864 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41865 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41866 elf_dynamic_do_##reloc function.
41868 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41870 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41871 is sufficient, at least on modern CPUs.
41873 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41875 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41876 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41878 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41880 * math/bits/math-finite.h: Add entries for exp.
41881 * math/e_expl.c: Add __*_finite alias.
41882 * sysdeps/i386/fpu/e_exp.S: Likewise.
41883 * sysdeps/i386/fpu/e_expf.S: Likewise.
41884 * sysdeps/i386/fpu/e_expl.c: Likewise.
41885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41886 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41887 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41889 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41890 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41891 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41893 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41894 is sufficient, at least on modern CPUs.
41896 * ctype/ctype-info.c (__ctype_init): Define.
41897 * include/ctype.h (__ctype_init): Declare.
41898 (__ctype_b_loc): The variable is always initialized.
41899 (__ctype_toupper_loc): Likewise.
41900 (__ctype_tolower_loc): Likewise.
41901 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41902 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41904 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41906 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41908 * configure.in: Also look in $cxxmachine/include for C++ system
41911 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41913 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41914 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41915 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41916 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41917 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41918 (USE_AS_WMEMCMP): New macro.
41920 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41921 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41922 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41923 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41925 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41926 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41927 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41928 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41929 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41931 (USE_AS_WMEMCMP): New macro.
41932 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41933 * sysdeps/string/test-memcmp.c: Update.
41934 Fix simple_wmemcmp.
41936 * wcsmbs/wmemcmp.c: Update.
41937 (WMEMCMP): New macro.
41940 2011-10-12 Andreas Jaeger <aj@suse.de>
41943 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41945 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41947 * libio/iofwide.c (do_length): Avoid warning.
41949 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41951 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41953 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41955 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41956 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41957 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41958 * sysdeps/i386/i686/fpu/e_log.S: New file.
41959 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41960 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41962 * ctype/ctype.h: Add support for inlined isXXX functions when
41963 compiling C++ code.
41965 2011-10-14 Andreas Schwab <schwab@redhat.com>
41967 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41969 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41971 2011-10-13 Roland McGrath <roland@hack.frob.com>
41974 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41976 2011-10-13 Andreas Schwab <schwab@redhat.com>
41978 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41979 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41982 * sysdeps/x86_64/memrchr.S: Check for zero size.
41984 * string/stratcliff.c: Add memrchr tests.
41986 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41989 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41990 rawmemchr-sse2 rawmemchr-sse2-bsf.
41991 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41992 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41993 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41994 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41995 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41996 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41997 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41998 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41999 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42000 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42001 * string/memrchr.c (MEMRCHR): New macro.
42003 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42005 Add integration with gcc's -ffinite-math-only and optimize wrapper
42007 * Versions.def: Define GLIBC_2.15 version for libm.
42008 * math/Makefile (headers): Add bits/math-finite.h.
42009 * math/bits/math-finite.h: New file.
42010 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42011 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42012 * math/e_acoshl.c: Add __*_finite alias.
42013 * math/e_acosl.c: Likewise.
42014 * math/e_asinl.c: Likewise.
42015 * math/e_atan2l.c: Likewise.
42016 * math/e_atanhl.c: Likewise.
42017 * math/e_coshl.c: Likewise.
42018 * math/e_exp10.c: Likewise.
42019 * math/e_exp10f.c: Likewise.
42020 * math/e_exp10l.c: Likewise.
42021 * math/e_exp2l.c: Likewise.
42022 * math/e_fmodl.c: Likewise.
42023 * math/e_gammal_r.c: Likewise.
42024 * math/e_hypotl.c: Likewise.
42025 * math/e_j0l.c: Likewise.
42026 * math/e_j1l.c: Likewise.
42027 * math/e_jnl.c: Likewise.
42028 * math/e_lgammal_r.c: Likewise.
42029 * math/e_log10l.c: Likewise.
42030 * math/e_log2l.c: Likewise.
42031 * math/e_logl.c: Likewise.
42032 * math/e_powl.c: Likewise.
42033 * math/e_sinhl.c: Likewise.
42034 * math/e_sqrtl.c: Likewise.
42035 * math/e_scalb.c: Completely rewritten and optimized.
42036 * math/e_scalbf.c: Likewise.
42037 * math/e_scalbl.c: Likewise.
42038 * math/w_acos.c: Likewise.
42039 * math/w_acosf.c: Likewise.
42040 * math/w_acosl.c: Likewise.
42041 * math/w_acosh.c: Likewise.
42042 * math/w_acoshf.c: Likewise.
42043 * math/w_acoshl.c: Likewise.
42044 * math/w_asin.c: Likewise.
42045 * math/w_asinf.c: Likewise.
42046 * math/w_asinl.c: Likewise.
42047 * math/w_atan2.c: Likewise.
42048 * math/w_atan2f.c: Likewise.
42049 * math/w_atan2l.c: Likewise.
42050 * math/w_atanh.c: Likewise.
42051 * math/w_atanhf.c: Likewise.
42052 * math/w_atanhl.c: Likewise.
42053 * math/w_exp10.c: Likewise.
42054 * math/w_exp10f.c: Likewise.
42055 * math/w_exp10l.c: Likewise.
42056 * math/w_fmod.c: Likewise.
42057 * math/w_fmodf.c: Likewise.
42058 * math/w_fmodl.c: Likewise.
42059 * math/w_j0.c: Likewise.
42060 * math/w_j0f.c: Likewise.
42061 * math/w_j0l.c: Likewise.
42062 * math/w_j1.c: Likewise.
42063 * math/w_j1f.c: Likewise.
42064 * math/w_j1l.c: Likewise.
42065 * math/w_jn.c: Likewise.
42066 * math/w_jnf.c: Likewise.
42067 * math/w_log.c: Likewise.
42068 * math/w_logf.c: Likewise.
42069 * math/w_logl.c: Likewise.
42070 * math/w_log10.c: Likewise.
42071 * math/w_log10f.c: Likewise.
42072 * math/w_log10l.c: Likewise.
42073 * math/w_log2.c: Likewise.
42074 * math/w_log2f.c: Likewise.
42075 * math/w_log2l.c: Likewise.
42076 * math/w_pow.c: Likewise.
42077 * math/w_powf.c: Likewise.
42078 * math/w_powl.c: Likewise.
42079 * math/w_remainder.c: Likewise.
42080 * math/w_remainderf.c: Likewise.
42081 * math/w_remainderl.c: Likewise.
42082 * math/w_scalb.c: Likewise.
42083 * math/w_scalbf.c: Likewise.
42084 * math/w_scalbl.c: Likewise.
42085 * math/w_sqrt.c: Likewise.
42086 * math/w_sqrtf.c: Likewise.
42087 * math/w_sqrtl.c: Likewise.
42088 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42089 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42091 * math/math_private.h: Declare __kernel_standard_f.
42092 * math/w_cosh.c: Remove cruft and optimize a bit.
42093 * math/w_coshf.c: Likewise.
42094 * math/w_coshl.c: Likewise.
42095 * math/w_exp2.c: Likewise.
42096 * math/w_exp2f.c: Likewise.
42097 * math/w_exp2l.c: Likewise.
42098 * math/w_hypot.c: Likewise.
42099 * math/w_hypotf.c: Likewise.
42100 * math/w_hypotl.c: Likewise.
42101 * math/w_lgamma.c: Likewise.
42102 * math/w_lgamma_r.c: Likewise.
42103 * math/w_lgammaf.c: Likewise.
42104 * math/w_lgammaf_r.c: Likewise.
42105 * math/w_lgammal.c: Likewise.
42106 * math/w_lgammal_r.c: Likewise.
42107 * math/w_sinh.c: Likewise.
42108 * math/w_sinhf.c: Likewise.
42109 * math/w_sinhl.c: Likewise.
42110 * math/w_tgamma.c: Likewise.
42111 * math/w_tgammaf.c: Likewise.
42112 * math/w_tgammal.c: Likewise.
42113 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42114 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42115 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42116 Minor optimizations. Pretty printing. Remove cruft.
42117 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42118 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42119 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42120 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42121 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42122 * sysdeps/i386/fpu/e_asin.S: Likewise.
42123 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42124 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42125 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42126 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42127 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42128 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42129 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42130 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42131 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42132 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42133 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42134 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42135 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42136 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42137 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42138 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42139 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42140 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42141 * sysdeps/i386/fpu/e_log.S: Likewise.
42142 * sysdeps/i386/fpu/e_log10.S: Likewise.
42143 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42144 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42145 * sysdeps/i386/fpu/e_log2.S: Likewise.
42146 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42147 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42148 * sysdeps/i386/fpu/e_logf.S: Likewise.
42149 * sysdeps/i386/fpu/e_logl.S: Likewise.
42150 * sysdeps/i386/fpu/e_pow.S: Likewise.
42151 * sysdeps/i386/fpu/e_powf.S: Likewise.
42152 * sysdeps/i386/fpu/e_powl.S: Likewise.
42153 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42154 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42155 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42156 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42157 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42158 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42159 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42160 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42161 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42162 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42163 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42165 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42166 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42167 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42168 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42169 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42172 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42173 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42174 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42175 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42176 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42178 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42179 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42180 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42181 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42182 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42183 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42186 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42187 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42188 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42189 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42190 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42191 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42193 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42196 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42197 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42198 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42199 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42200 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42201 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42202 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42203 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42204 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42205 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42208 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42209 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42210 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42211 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42212 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42213 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42214 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42215 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42216 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42217 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42218 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42219 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42221 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42222 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42223 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42226 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42227 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42233 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42234 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42237 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42238 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42242 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42245 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42247 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42248 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42250 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42251 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42252 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42253 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42255 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42256 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42257 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42258 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42259 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42260 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42261 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42262 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42263 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42264 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42265 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42266 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42267 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42268 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42269 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42270 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42272 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42273 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42274 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42275 (__isnanf): Likewise.
42276 (__isinf_ns): Likewise.
42277 (__isinf_nsf): Likewise.
42278 (__finite): Likewise.
42279 (__finitef): Likewise.
42280 (__ieee754_sqrt): Define as macro.
42281 (__ieee754_sqrtf): Define as macro.
42282 (__ieee754_sqrtl): Define as macro.
42283 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42285 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42286 __FINITE_MATH_ONLY__ consistent.
42287 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42289 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42291 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42294 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42296 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42298 * po/ja.po: Update from translation team.
42300 2011-10-08 Roland McGrath <roland@hack.frob.com>
42302 * locale/programs/locarchive.c (prepare_address_space): New function.
42303 (create_archive, enlarge_archive, open_archive): Use it.
42305 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42306 inside [SHARED], where it is used.
42308 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42310 * nss/getent.c (netgroup_keys): Remove unused variable.
42311 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42313 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42315 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42316 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42318 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42319 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42320 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42321 * math/Makefile (libm-calls): Add s_isinf_ns.
42322 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42323 * math/multc3.c: Likewise.
42324 * math/s_casin.c: Likewise.
42325 * math/s_casinf.c: Likewise.
42326 * math/s_casinl.c: Likewise.
42327 * math/s_ccos.c: Likewise.
42328 * math/s_ccosf.c: Likewise.
42329 * math/s_ccosl.c: Likewise.
42330 * math/s_ctan.c: Likewise.
42331 * math/s_ctanf.c: Likewise.
42332 * math/s_ctanh.c: Likewise.
42333 * math/s_ctanhf.c: Likewise.
42334 * math/s_ctanhl.c: Likewise.
42335 * math/s_ctanl.c: Likewise.
42336 * math/w_fmod.c: Likewise.
42337 * math/w_fmodf.c: Likewise.
42338 * math/w_fmodl.c: Likewise.
42339 * math/w_remainder.c: Likewise.
42340 * math/w_remainderf.c: Likewise.
42341 * math/w_remainderl.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42343 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42344 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42346 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42347 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42348 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42349 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42351 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42353 * stdio-common/printf_fphex.c: Likewise.
42354 * stdio-common/printf_size.c: Likewise.
42356 * math/e_exp10.c: Include math_private.h using <...> not "...".
42357 * math/e_exp10f.c: Likewise.
42358 * math/e_exp10l.c: Likewise.
42359 * math/e_exp2l.c: Likewise.
42360 * math/e_j0l.c: Likewise.
42361 * math/e_j1l.c: Likewise.
42362 * math/e_jnl.c: Likewise.
42363 * math/e_lgammal_r.c: Likewise.
42364 * math/e_rem_pio2l.c: Likewise.
42365 * math/e_scalb.c: Likewise.
42366 * math/e_scalbf.c: Likewise.
42367 * math/e_scalbl.c: Likewise.
42368 * math/k_cosl.c: Likewise.
42369 * math/k_sinl.c: Likewise.
42370 * math/k_tanl.c: Likewise.
42371 * math/s_cacoshf.c: Likewise.
42372 * math/s_catan.c: Likewise.
42373 * math/s_catanf.c: Likewise.
42374 * math/s_catanh.c: Likewise.
42375 * math/s_catanhf.c: Likewise.
42376 * math/s_catanhl.c: Likewise.
42377 * math/s_catanl.c: Likewise.
42378 * math/s_ccosh.c: Likewise.
42379 * math/s_ccoshf.c: Likewise.
42380 * math/s_ccoshl.c: Likewise.
42381 * math/s_cexp.c: Likewise.
42382 * math/s_cexpf.c: Likewise.
42383 * math/s_cexpl.c: Likewise.
42384 * math/s_clog.c: Likewise.
42385 * math/s_clog10.c: Likewise.
42386 * math/s_clog10f.c: Likewise.
42387 * math/s_clog10l.c: Likewise.
42388 * math/s_clogf.c: Likewise.
42389 * math/s_clogl.c: Likewise.
42390 * math/s_csin.c: Likewise.
42391 * math/s_csinf.c: Likewise.
42392 * math/s_csinh.c: Likewise.
42393 * math/s_csinhf.c: Likewise.
42394 * math/s_csinhl.c: Likewise.
42395 * math/s_csinl.c: Likewise.
42396 * math/s_csqrt.c: Likewise.
42397 * math/s_csqrtf.c: Likewise.
42398 * math/s_csqrtl.c: Likewise.
42399 * math/s_ctan.c: Likewise.
42400 * math/s_ctanf.c: Likewise.
42401 * math/s_ctanh.c: Likewise.
42402 * math/s_ctanhf.c: Likewise.
42403 * math/s_ctanhl.c: Likewise.
42404 * math/s_ctanl.c: Likewise.
42405 * math/s_ldexp.c: Likewise.
42406 * math/s_ldexpf.c: Likewise.
42407 * math/s_ldexpl.c: Likewise.
42408 * math/s_significand.c: Likewise.
42409 * math/s_significandf.c: Likewise.
42410 * math/s_significandl.c: Likewise.
42411 * math/w_acos.c: Likewise.
42412 * math/w_acosf.c: Likewise.
42413 * math/w_acosh.c: Likewise.
42414 * math/w_acoshf.c: Likewise.
42415 * math/w_acoshl.c: Likewise.
42416 * math/w_acosl.c: Likewise.
42417 * math/w_asin.c: Likewise.
42418 * math/w_asinf.c: Likewise.
42419 * math/w_asinl.c: Likewise.
42420 * math/w_atan2.c: Likewise.
42421 * math/w_atan2f.c: Likewise.
42422 * math/w_atan2l.c: Likewise.
42423 * math/w_atanh.c: Likewise.
42424 * math/w_atanhf.c: Likewise.
42425 * math/w_atanhl.c: Likewise.
42426 * math/w_cosh.c: Likewise.
42427 * math/w_coshf.c: Likewise.
42428 * math/w_coshl.c: Likewise.
42429 * math/w_dremf.c: Likewise.
42430 * math/w_exp10.c: Likewise.
42431 * math/w_exp10f.c: Likewise.
42432 * math/w_exp10l.c: Likewise.
42433 * math/w_exp2.c: Likewise.
42434 * math/w_exp2f.c: Likewise.
42435 * math/w_fmod.c: Likewise.
42436 * math/w_fmodf.c: Likewise.
42437 * math/w_fmodl.c: Likewise.
42438 * math/w_hypot.c: Likewise.
42439 * math/w_hypotf.c: Likewise.
42440 * math/w_hypotl.c: Likewise.
42441 * math/w_j0.c: Likewise.
42442 * math/w_j0f.c: Likewise.
42443 * math/w_j0l.c: Likewise.
42444 * math/w_j1.c: Likewise.
42445 * math/w_j1f.c: Likewise.
42446 * math/w_j1l.c: Likewise.
42447 * math/w_jn.c: Likewise.
42448 * math/w_jnf.c: Likewise.
42449 * math/w_jnl.c: Likewise.
42450 * math/w_lgamma.c: Likewise.
42451 * math/w_lgamma_r.c: Likewise.
42452 * math/w_lgammaf.c: Likewise.
42453 * math/w_lgammaf_r.c: Likewise.
42454 * math/w_lgammal.c: Likewise.
42455 * math/w_lgammal_r.c: Likewise.
42456 * math/w_log.c: Likewise.
42457 * math/w_log10.c: Likewise.
42458 * math/w_log10f.c: Likewise.
42459 * math/w_log10l.c: Likewise.
42460 * math/w_log2.c: Likewise.
42461 * math/w_log2f.c: Likewise.
42462 * math/w_log2l.c: Likewise.
42463 * math/w_logf.c: Likewise.
42464 * math/w_logl.c: Likewise.
42465 * math/w_pow.c: Likewise.
42466 * math/w_powf.c: Likewise.
42467 * math/w_powl.c: Likewise.
42468 * math/w_remainder.c: Likewise.
42469 * math/w_remainderf.c: Likewise.
42470 * math/w_remainderl.c: Likewise.
42471 * math/w_scalb.c: Likewise.
42472 * math/w_scalbf.c: Likewise.
42473 * math/w_scalbl.c: Likewise.
42474 * math/w_sinh.c: Likewise.
42475 * math/w_sinhf.c: Likewise.
42476 * math/w_sinhl.c: Likewise.
42477 * math/w_sqrt.c: Likewise.
42478 * math/w_sqrtf.c: Likewise.
42479 * math/w_sqrtl.c: Likewise.
42480 * math/w_tgamma.c: Likewise.
42481 * math/w_tgammaf.c: Likewise.
42482 * math/w_tgammal.c: Likewise.
42484 * po/ja.po: Update from translation team.
42486 2011-09-29 Andreas Jaeger <aj@suse.de>
42489 * sunrpc/netname.c (netname2host): Fix logic.
42493 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42495 * math/w_remainder.c (__remainder): Likewise.
42496 * math/w_remainderf.c (__remainderf): Likewise.
42497 * math/libm-test.inc (remainder_test): Add test cases.
42499 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42501 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42504 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42506 * string/test-memcmp.c: Avoid unncessary #defines.
42507 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42509 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42511 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42512 Use new sse2 version for core i3 - i7 as it's faster
42513 than sse42 version.
42514 (bit_Prefer_PMINUB_for_stringop): New.
42515 * sysdeps/x86_64/rawmemchr.S: Update.
42516 Replace with faster SSE2 version.
42517 * sysdeps/x86_64/memrchr.S: New file.
42518 * sysdeps/x86_64/memchr.S: Update.
42519 Replace with faster SSE2 version.
42521 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42523 * elf/dl-load.c (lose): Add cast to avoid warning.
42525 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42527 * po/ca.po: Update from translation team.
42529 * inet/getnetgrent_r.c: Hook up nscd.
42530 * nscd/Makefile (routines): Add nscd_netgroup.
42531 (nscd-modules): Add netgroupcache.
42532 (CFLAGS-netgroupcache.c): Define.
42533 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42534 (cache_search): Add const to second parameter.
42535 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42537 (dbs): Add netgrdb entry.
42538 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42539 (verify_persistent_db): Handle netgrdb.
42540 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42541 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42543 (netgroup_response_header): Define.
42544 (innetgroup_response_header): Define.
42545 (datahead): Add netgroup_response_header and innetgroup_response_header
42547 * nscd/nscd.conf: Add entries for netgroup cache.
42548 * nscd/nscd.h (dbtype): Add netgrdb.
42549 (_PATH_NSCD_NETGROUP_DB): Define.
42550 (netgroup_iov_disabled): Declare.
42551 (xmalloc, xcalloc, xrealloc): Move declarations here.
42552 (cache_search): Adjust prototype.
42553 Add netgroup-related prototypes.
42554 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42555 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42556 (__nscd_innetgr): Declare.
42557 * nscd/selinux.c (perms): Use access_vector_t as element type and
42558 add netgroup-related initializers.
42559 * nscd/netgroupcache.c: New file.
42560 * nscd/nscd_netgroup.c: New file.
42561 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42562 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42563 For four parameters use innetgr.
42564 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42565 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42566 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42567 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42569 * nscd/connections.c (register_traced_file): Don't register file
42570 for disabled databases.
42572 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42574 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42576 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42577 from tree and freeing node.
42579 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42581 * nss/nsswitch.c (__nss_database_lookup): Handle
42582 nss_parse_service_list out of memory case.
42584 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42586 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42587 out of memory case.
42589 2011-10-04 Andreas Schwab <schwab@redhat.com>
42591 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42592 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42594 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42595 elf_machine_rela, elf_machine_lazy_rel.
42596 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42597 (ELF_DYNAMIC_DO_REL): Likewise.
42598 (ELF_DYNAMIC_DO_RELA): Likewise.
42599 (ELF_DYNAMIC_RELOCATE): Likewise.
42600 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42601 to ELF_DYNAMIC_DO_REL.
42602 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42603 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42604 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42606 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42607 skip_ifunc, don't call ifunc function if non-zero.
42608 (elf_machine_rela): Likewise.
42609 (elf_machine_lazy_rel): Likewise.
42610 (elf_machine_lazy_rela): Likewise.
42611 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42612 (elf_machine_lazy_rel): Likewise.
42613 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42615 (elf_machine_lazy_rel): Likewise.
42616 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42618 (elf_machine_lazy_rel): Likewise.
42619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42620 (elf_machine_lazy_rel): Likewise.
42621 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42622 (elf_machine_lazy_rel): Likewise.
42623 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42624 (elf_machine_lazy_rel): Likewise.
42625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42626 (elf_machine_lazy_rel): Likewise.
42627 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42628 (elf_machine_lazy_rel): Likewise.
42629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42630 (elf_machine_lazy_rel): Likewise.
42632 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42634 * nss/nss_files/files-init.c (_nss_files_init): Use static
42635 initialization for all the *_traced_file variables.
42637 2011-09-28 Andreas Schwab <schwab@redhat.com>
42639 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42641 2011-09-27 Roland McGrath <roland@hack.frob.com>
42644 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42646 2011-09-27 Andreas Schwab <schwab@redhat.com>
42648 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42649 Reread the line before reparsing it.
42651 2011-09-26 Andreas Schwab <schwab@redhat.com>
42653 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42655 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42656 Maxim Kuvyrkov <maxim@codesourcery.com>
42657 Joseph Myers <joseph@codesourcery.com>
42659 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42660 if needed for __stack_chk_guard.
42662 2011-09-19 Roland McGrath <roland@hack.frob.com>
42664 * sysdeps/posix/spawni.c (script_execute): Always define it.
42665 It will be optimized away if unused.
42666 (maybe_script_execute): New function.
42667 (__spawni): Call it.
42669 * Makerules: Don't include tls.make.
42670 (config-tls): Always set to thread.
42671 * tls.make.c: File removed.
42673 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42675 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42676 * config.make.in (CPPFLAGS-config): New substituted variable.
42678 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42680 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42683 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42684 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42686 2011-09-15 Roland McGrath <roland@hack.frob.com>
42688 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42689 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42691 (CALL_FAIL): Likewise.
42692 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42693 (CALL_FAIL): Macro removed.
42694 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42696 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42698 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42699 for __FINITE_MATH_ONLY__ == 1.
42701 2011-09-15 Andreas Schwab <schwab@redhat.com>
42703 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42704 __ieee754_sqrt instead of sqrt.
42705 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42706 __ieee754_sqrtf instead of sqrtf.
42707 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42708 __floorf instead of floorf.
42709 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42710 __floorf, __truncf instead of floorf, truncf.
42712 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42714 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42716 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42717 __extern_always_inline.
42718 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42721 2011-09-14 Andreas Schwab <schwab@redhat.com>
42723 * elf/rtld.c (dl_main): Also relocate in dependency order when
42724 doing symbol dependency testing.
42726 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42729 Always define `refsym'.
42731 2011-09-13 Andreas Schwab <schwab@redhat.com>
42733 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42734 (__FD_ELT): Renamed from __FDELT.
42735 * misc/bits/select2.h (__FD_ELT): Likewise.
42736 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42737 __FD_MASK instead of __FDELT, __FDMASK.
42738 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42740 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42743 * elf/Makefile (gen-ldd): Fix pattern.
42745 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42746 (init_tls): Likewise.
42748 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42752 2011-09-12 Andreas Schwab <schwab@redhat.com>
42754 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42755 `struct cmsghdr *' instead of `void *'.
42756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42759 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42761 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42763 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42764 ldd_rewrite_script.
42766 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42768 * configure.in: Remove --with-tls option.
42769 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42770 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42771 out in case it is missing.
42772 * sysdeps/ia64/elf/configure.in: Likewise.
42773 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42774 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42775 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42776 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42777 * sysdeps/sh/elf/configure.in: Likewise.
42778 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42779 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42780 * sysdeps/x86_64/elf/configure.in: Likewise.
42781 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42782 * sysdeps/mach/hurd/tls.h: Likewise.
42785 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42788 * configure.in: Fix use of AC_INIT.
42790 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42792 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42794 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42796 * malloc/hooks.c: Likewise.
42799 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42800 variables statically.
42801 (narenas): Initialize.
42802 (list_lock): Initialize.
42803 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42804 initializtion of main_arena and list_lock. Small cleanups.
42805 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42806 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42807 Add initializers to main_arena and mp_.
42808 (malloc_state): Remove pagesize member. Change all users to use
42811 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42812 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42813 is always initialized.
42815 * malloc/malloc.c: Removed unused configurations and dead code.
42816 * malloc/arena.c: Likewise.
42817 * malloc/hooks.c: Likewise.
42818 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42820 * include/tls.h: Removed. USE___THREAD must always be defined.
42821 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42822 * elf/dl-libc.c: Likewise.
42823 * elf/dl-tsd.c: Likewise.
42824 * include/errno.h: Likewise.
42825 * include/netdb.h: Likewise.
42826 * include/resolv.h: Likewise.
42827 * inet/herrno-loc.c: Likewise.
42828 * inet/herrno.c: Likewise.
42829 * malloc/arena.c: Likewise.
42830 * malloc/hooks.c: Likewise.
42831 * malloc/malloc.c: Likewise.
42832 * resolv/res-state.c: Likewise.
42833 * resolv/res_libc.c: Likewise.
42834 * sysdeps/i386/dl-machine.h: Likewise.
42835 * sysdeps/ia64/dl-machine.h: Likewise.
42836 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42837 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42838 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42839 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42840 * sysdeps/sh/dl-machine.h: Likewise.
42841 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42842 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42843 * sysdeps/unix/i386/sysdep.S: Likewise.
42844 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42845 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42850 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42854 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42855 * sysdeps/x86_64/dl-machine.h: Likewise.
42856 * tls.make.c: Likewise.
42858 * configure.in: Remove --with-__thread option. Make tests for
42859 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42860 tls_model attribute fail if no support is available. Remove
42862 * Makeconfig: Adjust for dropped configure option. All features are
42864 * Makerules: Likewise.
42865 * Versions.def: Likewise.
42866 * argp/argp-fmtstream.c: Likewise.
42867 * argp/argp-fmtstream.h: Likewise.
42868 * argp/argp-help.c: Likewise.
42869 * assert/assert.c: Likewise.
42870 * config.h.in: Likewise.
42871 * config.make.in: Likewise.
42872 * configure: Likewise.
42873 * configure.in: Likewise.
42874 * csu/Versions: Likewise.
42875 * csu/init.c: Likewise.
42876 * elf/tst-audit2.c: Likewise.
42877 * elf/tst-tls10.c: Likewise.
42878 * elf/tst-tls10.h: Likewise.
42879 * elf/tst-tls11.c: Likewise.
42880 * elf/tst-tls12.c: Likewise.
42881 * elf/tst-tls14.c: Likewise.
42882 * elf/tst-tlsmod11.c: Likewise.
42883 * elf/tst-tlsmod12.c: Likewise.
42884 * elf/tst-tlsmod13.c: Likewise.
42885 * elf/tst-tlsmod13a.c: Likewise.
42886 * elf/tst-tlsmod14a.c: Likewise.
42887 * elf/tst-tlsmod15b.c: Likewise.
42888 * elf/tst-tlsmod16a.c: Likewise.
42889 * elf/tst-tlsmod16b.c: Likewise.
42890 * elf/tst-tlsmod7.c: Likewise.
42891 * elf/tst-tlsmod8.c: Likewise.
42892 * elf/tst-tlsmod9.c: Likewise.
42893 * gmon/gmon.c: Likewise.
42894 * grp/fgetgrent_r.c: Likewise.
42895 * grp/putgrent.c: Likewise.
42896 * hurd/fopenport.c: Likewise.
42897 * include/libc-symbols.h: Likewise.
42898 * include/tls.h: Likewise.
42899 * intl/gettextP.h: Likewise.
42900 * intl/loadinfo.h: Likewise.
42901 * locale/global-locale.c: Likewise.
42902 * locale/localeinfo.h: Likewise.
42903 * mach/devstream.c: Likewise.
42904 * malloc/arena.c: Likewise.
42905 * malloc/set-freeres.c: Likewise.
42906 * misc/err.c: Likewise.
42907 * misc/getttyent.c: Likewise.
42908 * misc/mntent_r.c: Likewise.
42909 * posix/getopt.c: Likewise.
42910 * posix/wordexp.c: Likewise.
42911 * pwd/fgetpwent_r.c: Likewise.
42912 * resolv/Versions: Likewise.
42913 * resolv/res_hconf.c: Likewise.
42914 * shadow/fgetspent_r.c: Likewise.
42915 * shadow/putspent.c: Likewise.
42916 * stdio-common/printf_fphex.c: Likewise.
42917 * stdio-common/tmpfile.c: Likewise.
42918 * stdlib/abort.c: Likewise.
42919 * stdlib/fmtmsg.c: Likewise.
42920 * sunrpc/auth_unix.c: Likewise.
42921 * sunrpc/clnt_perr.c: Likewise.
42922 * sunrpc/clnt_tcp.c: Likewise.
42923 * sunrpc/clnt_udp.c: Likewise.
42924 * sunrpc/clnt_unix.c: Likewise.
42925 * sunrpc/openchild.c: Likewise.
42926 * sunrpc/svc_simple.c: Likewise.
42927 * sunrpc/svc_tcp.c: Likewise.
42928 * sunrpc/svc_udp.c: Likewise.
42929 * sunrpc/svc_unix.c: Likewise.
42930 * sunrpc/xdr.c: Likewise.
42931 * sunrpc/xdr_array.c: Likewise.
42932 * sunrpc/xdr_rec.c: Likewise.
42933 * sunrpc/xdr_ref.c: Likewise.
42934 * sunrpc/xdr_stdio.c: Likewise.
42936 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42938 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42940 2011-07-03 Andreas Jaeger <aj@suse.de>
42942 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42943 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42944 regenerate with gen-libm-tests.pl.
42946 2010-05-12 Petr Baudis <pasky@suse.cz>
42949 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42950 around j0() zero points by switching to j1().
42951 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42952 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42956 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42958 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42960 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42963 Patch in part by Pavel Roskin <proski@gnu.org>.
42966 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42968 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42969 Free memory block if necessary.
42972 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42973 be NULL. Don't lock in this case.
42975 2011-09-09 Roland McGrath <roland@hack.frob.com>
42977 * elf/elf.h (ELFOSABI_GNU): New macro.
42978 (ELFOSABI_LINUX): Define to that.
42980 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42982 * string/strncat.c (strncat): Undef the symbol in case it has been
42983 defined in bits/string.h.
42985 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42987 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42989 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42992 2011-08-17 Andreas Jaeger <aj@suse.de>
42994 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42996 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42997 Ian Lance Taylor <iant@google.com>
42999 * math/libm-test.inc (lround_test): New testcase.
43000 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43002 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43004 * Makefile: Remove support for automatic cvs check-ins.
43005 * Makerules: Likewise.
43006 * config.make.in: Likewise.
43007 * configure.in: Likewise.
43008 * intl/Makefile: Likewise.
43009 * locale/Makefile: Likewise.
43010 * po/Makefile: Likewise.
43011 * posix/Makefile: Likewise.
43012 * sysdeps/gnu/Makefile: Likewise.
43013 * sysdeps/mach/hurd/Makefile: Likewise.
43014 * sysdeps/sparc/sparc32/Makefile: Likewise.
43017 * posix/Makefile (bug-regex32-ENV): Define.
43018 Patch by John Stanley <jpsinthemix@verizon.net>.
43020 * misc/Makefile (headers): Add bits/select2.h.
43021 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43022 * misc/bits/select2.h: New file.
43023 * include/bits/select2.h: New file.
43024 * debug/Makefile (routines): Add fdelt_chk.
43025 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43026 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43028 * debug/fdelt_chk.c: New file.
43030 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43031 * wcsmbs/test-wmemcmp.c: Likewise.
43032 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43033 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43035 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43037 * string/Makefile (strop-tests): Add memcmp.
43038 * string/test-wmemcmp.c: New file.
43039 * string/test-memcmp.c: Add wmemcmp support.
43041 2011-09-08 Roland McGrath <roland@hack.frob.com>
43044 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43047 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43048 garbage value in a __mach_port_mod_refs call in the cases of the
43049 task-self and thread-self ports.
43051 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43053 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43055 2011-09-08 Andreas Schwab <schwab@redhat.com>
43057 * elf/dl-load.c (lose): Check for non-null L.
43059 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43061 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43063 * elf/dl-libc.c (dlerror_run): Pass back error code from
43067 * elf/dl-load.c (lose): Free l_origin if it is valid.
43069 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43071 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43074 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43075 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43076 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43078 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43080 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43081 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43082 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43083 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43084 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43085 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43086 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43087 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43088 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43089 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43091 2011-08-15 Alan Modra <amodra@gmail.com>
43094 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43095 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43096 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43097 ppc_mcount to static-only-routines.
43098 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43100 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43101 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43103 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43105 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43106 for finite and infinity parameters.
43108 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43110 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43111 and add nop instructions for throughput optimization.
43112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43114 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43116 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43117 aligned copy for power7 with vector-scalar instructions.
43118 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43120 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43125 2011-09-07 Andreas Schwab <schwab@redhat.com>
43128 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43131 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43133 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43134 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43135 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43136 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43139 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43141 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43142 Forgot to demangle the pointer.
43144 * sysdeps/i386/sysdep.h: Define atom_text_section.
43145 * sysdeps/x86_64/sysdep.h: Likewise.
43146 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43147 section with atom_text_section.
43148 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43149 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43150 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43152 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43154 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43155 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43156 already be defined. Change to take two parameters and don't assign
43157 result to variable. Adjust all users.
43158 Define INTERNAL_GETTIME if not already defined.
43159 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43162 HAVE_CLOCK_GETTIME_VSYSCALL.
43163 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43166 gettimeofday vsyscall, just use time.
43168 2011-09-06 Andreas Schwab <schwab@redhat.com>
43170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43173 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43175 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43179 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43181 syscall if possible.
43183 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43185 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43186 e_ident. Don't pass to find_mapsXX.
43187 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43189 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43192 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43193 * sysdeps/x86_64/multiarch/strchr.S: Update.
43194 Check bit_slow_BSF bit.
43195 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43196 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43197 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43199 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43202 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43204 (tryshell): Define.
43205 (__spawni): Change last parameter to be flag. Test
43206 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43207 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43208 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43209 * posix/spawni.c: Likewise.
43210 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43211 * posix/spawnp.c: Likewise. Change normal version to use
43212 SPAWN_XFLAGS_USE_PATH.
43213 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43214 SPAWN_XFLAGS_TRY_SHELL.
43217 * posix/glob.h: Remove gcc 1.x support.
43220 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43222 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43225 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43227 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43228 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43229 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43230 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43231 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43232 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43234 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43236 * sysdeps/x86_64/wcscmp.S: New file.
43238 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43239 wcscmp-c wcscmp-sse2
43240 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43241 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43242 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43243 * wcsmbs/wcscmp.c: Allow renaming.
43245 2011-09-05 David S. Miller <davem@davemloft.net>
43247 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43248 stack slot, rather than the struct return pointer slot.
43249 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43250 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43252 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43254 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43256 * po/ja.po: Update from translation team.
43259 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43260 kernel in 64-bit binaries.
43262 2011-09-01 David S. Miller <davem@davemloft.net>
43264 * elf/elf.h (HWCAP_SPARC_*): Move to..
43265 * sysdeps/sparc/sysdep.h: this new file and add new values.
43266 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43267 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43268 _DL_HWCAP_COUNT to 24.
43269 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43271 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43272 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43273 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43275 instead of magic constants.
43276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43278 2011-08-31 David S. Miller <davem@davemloft.net>
43280 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43282 Reimplement to do errno handling inline.
43283 (SYSCALL_ERROR_HANDLER): New macro.
43284 (__SYSCALL_STRING): Do not do errno handling in asm.
43285 (__CLONE_SYSCALL_STRING): Delete.
43286 (__INTERNAL_SYSCALL_STRING): Delete.
43287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43288 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43289 (PSEUDO): Reimplement to do errno handling inline.
43290 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43291 (SYSCALL_ERROR_HANDLER): New macro.
43292 (__SYSCALL_STRING): Do not do errno handling in asm.
43293 (__CLONE_SYSCALL_STRING): Delete.
43294 (__INTERNAL_SYSCALL_STRING): Delete.
43295 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43296 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43298 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43299 (inline_syscall*): Add 'err' argument.
43300 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43301 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43302 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43303 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43305 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43306 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43308 2011-08-30 Andreas Schwab <schwab@redhat.com>
43310 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43312 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43314 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43317 2011-08-24 David S. Miller <davem@davemloft.net>
43319 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43321 2011-08-24 Andreas Schwab <schwab@redhat.com>
43323 * elf/Makefile: Add rules to build and run unload8 test.
43324 * elf/unload8.c: New file.
43325 * elf/unload8mod1.c: New file.
43326 * elf/unload8mod1x.c: New file.
43327 * elf/unload8mod2.c: New file.
43328 * elf/unload8mod3.c: New file.
43330 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43333 2011-08-23 David S. Miller <davem@davemloft.net>
43335 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43336 subtract stack bias.
43337 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43338 %sp not %fp in calculations.
43339 (_JMPBUF_UNWINDS_ADJ): Likewise.
43341 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43342 (aio_suspend): Call it to force an exception region around the
43343 AIO_MISC_WAIT() invocation.
43345 2011-08-23 Andreas Schwab <schwab@redhat.com>
43347 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43350 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43352 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43354 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43355 and <dl-machine.h>.
43356 (Elf64_FuncDesc): Remove.
43358 2011-08-22 David S. Miller <davem@davemloft.net>
43360 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43361 sigaltstack check, add missing cfi directives.
43362 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43363 missing cfi directives, and sigaltstack handling.
43365 2011-08-16 Andreas Schwab <schwab@redhat.com>
43368 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43369 object is seen twice.
43370 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43372 * elf/Makefile (distribute): Add tst-initorder2.c.
43373 (tests): Add tst-initorder2.
43374 (modules-names): Add tst-initorder2a tst-initorder2b
43375 tst-initorder2c tst-initorder2d. Add rules to build them.
43376 ($(objpfx)tst-initorder2.out): New rule.
43377 * elf/tst-initorder2.c: New file.
43378 * elf/tst-initorder2.exp: New file.
43380 2011-08-22 Andreas Schwab <schwab@redhat.com>
43382 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43384 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43385 dependencies back to end of function.
43387 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43388 $(elfobjdir)/ld.so.
43390 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43392 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43393 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43395 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43396 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43397 of __vdso_gettimeofday.
43398 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43399 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43401 (_libc_vdso_platform_setup): Remove initialization of
43402 __vdso_gettimeofday and __vdso_time.
43404 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43406 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43407 and fgetc_unlocked.
43408 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43411 * elf/dl-open.c (add_to_global): Report additions to the global scope
43412 for LD_DEBUG=scopes.
43413 (dl_open_worker): Also print scope of newly loaded dependencies.
43414 (_dl_show_scope): Indicate if there is no scope.
43417 * stdio-common/Makefile (tests): Add bug24.
43418 * stdio-common/bug24.c: New file.
43420 2011-08-19 Andreas Jaeger <aj@suse.de>
43423 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43424 non-existant file when using close-on-exec mode.
43426 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43429 the very first instruction.
43431 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43432 the CFI state in the end.
43433 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43434 inclusion of dl-trampoline.h.
43435 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43437 2011-08-19 Andreas Schwab <schwab@redhat.com>
43439 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43440 expectations for long double.
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43443 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43445 2011-08-14 David S. Miller <davem@davemloft.net>
43447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43448 artificual limit depends upon the system page size.
43450 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43452 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43453 * resolv/Makefile: Define CFLAGS-libresolv.
43455 2011-08-17 Andreas Schwab <schwab@redhat.com>
43457 * nss/makedb.c (compute_tables): Make variables used in nested
43460 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43462 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43463 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43464 if buffer was too small.
43466 * elf/pldd.c (main): Attach to all threads in the process.
43467 Rewrite /proc handling to use *at functions.
43469 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43471 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43472 specifies first scope to show.
43473 (dl_open_worker): Update callers. Move printing scope of new
43474 object to before the relocation.
43475 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43476 * sysdeps/generic/ldsodefs.h: Update declaration.
43478 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43479 string for the scope number.
43481 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43483 * nscd/servicescache.c (cache_addserv): Make sure written is always
43486 2011-08-14 Roland McGrath <roland@hack.frob.com>
43488 * sysdeps/i386/i486/bits/atomic.h
43489 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43490 statement expression, so as to suppress "set but not used" warning.
43491 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43493 * string/strncat.c (STRNCAT): Use prototype definition.
43495 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43496 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43498 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43499 (localedef-modules): Add localedef.
43500 (locale-modules): Add locale.
43502 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43503 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43504 to avoid a warning.
43506 2011-08-14 David S. Miller <davem@davemloft.net>
43508 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43509 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43511 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43513 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43514 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43515 * elf/rtld.c (dl_main): Set l_name of vDSO.
43516 Call _dl_show_scope when DL_DEBUG_SCOPES.
43517 (process_dl_debug): Recognize scopes flag and also set it for all.
43518 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43519 Declare _dl_show_scope.
43521 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43522 (do_dlopen): Pass caller_dlopen to dl_open.
43523 (__libc_dlopen_mode): Initialize caller_dlopen.
43525 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43526 of libc. Make tolower call locale-independent. Optimize a bit by
43527 using isdigit instead of isalnum.
43528 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43530 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43532 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43533 was a dependency or dynamically loaded.
43535 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43537 * intl/l10nflist.c: Allow architecture-specific pop function.
43538 * sysdeps/x86_64/l10nflist.c: New file.
43540 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43543 2011-08-10 Andreas Schwab <schwab@redhat.com>
43545 * include/dirent.h: Add libc_hidden_proto for scandirat and
43546 scandirat64. Don't declare __scandirat64.
43547 * dirent/scandirat.c: Add libc_hidden_def.
43548 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43549 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43551 2011-08-10 David S. Miller <davem@davemloft.net>
43553 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43555 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43556 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43557 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43559 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43561 * Versions.def [libc]: Add GLIBC_2.15.
43562 * dirent/Makefile (routines): Add scandirat and scandirat64.
43563 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43565 * dirent/dirent.h: Declare scandirat and scandirat64.
43566 * dirent/scandirat.c: New file.
43567 * dirent/scandirat64.c: New file.
43568 * sysdeps/wordsize-64/scandirat.c: New file.
43569 * sysdeps/wordsize-64/scandirat64.c: New file.
43570 * dirent/opendir.c: Define opendirat.
43571 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43573 * dirent/scandir64.c: Adjust for scandir.c change.
43574 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43575 __scandirat64, and __scandir_cancel_handler.
43576 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43577 additional parameter and use openat instead of open (outside of ld.so).
43578 Add new __opendir as wrapper around __opendirat.
43579 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43580 here without requiring old scandirat implementation.
43582 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43584 * dirent/scandir.c (cancel_handler): Renamed to
43585 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43586 defined. Adjust users.
43587 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43588 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43590 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43592 * string/test-string.h (IMPL): Use __STRING to expand name and then
43595 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43598 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43600 * string/Makefile: Update.
43601 (strop-tests): Append strncat.
43602 * string/test-wcscmp.c: New file.
43603 New comprehensive test for wcscmp.
43604 * string/test-strcmp.c: Update.
43605 (WIDE): New define.
43607 2011-07-22 Andreas Schwab <schwab@redhat.com>
43609 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43612 2011-07-26 Andreas Schwab <schwab@redhat.com>
43614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43615 encoding to ACE if AI_IDN.
43617 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43619 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43620 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43622 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43624 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43625 Fix overflow bug in strncat.
43626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43628 * string/test-strncat.c: Update.
43629 Add new tests for checking overflow bugs.
43631 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43634 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43635 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43636 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43637 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43638 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43639 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43640 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43641 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43644 (USE_AS_STRCAT): Define.
43645 Add strcat and strncat support.
43646 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43648 2011-07-25 Andreas Schwab <schwab@redhat.com>
43650 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43651 __n bigger than INT_MAX+1.
43652 (__strncmp_g): Likewise.
43654 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43656 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43657 * libio/stido.h: Likewise.
43659 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43664 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43665 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43666 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43668 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43671 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43676 (_dl_x86_64_save_sse): Likewise.
43678 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43682 (_dl_x86_64_save_sse): Likewise.
43684 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43686 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43688 2011-07-21 Andreas Schwab <schwab@redhat.com>
43690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43692 (_dl_x86_64_save_sse): Use correct AVX check.
43694 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43697 bug in strncpy/strncat.
43698 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43700 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43702 * string/tester.c (test_strcat): Add tests for different alignments
43703 of source and destination.
43704 (test_strncat): Likewise.
43706 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43709 * posix/glob.c (glob): Check passed in values before using them in
43710 expressions to avoid some overflows.
43711 (glob_in_dir): Likewise.
43714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43715 check for AVX enablement so that we don't crash with old kernels and
43717 * elf/tst-audit4.c: Add same checks here.
43718 * elf/tst-audit6.c: Likewise.
43720 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43722 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43724 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43726 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43728 * po/cs.po: Update from translation team.
43729 * po/bg.po: Likewise.
43731 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43733 * misc/sys/cdefs.h: Add support for const attribute.
43734 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43735 to gnu_dev_{major,minor,makedev} functions.
43737 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43739 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43741 2011-07-20 Andreas Schwab <schwab@redhat.com>
43743 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43746 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43748 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43749 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43750 register in order to avoid conflicts with the soft frame pointer
43751 being held in r11 when necessary.
43752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43753 (INTERNAL_VSYSCALL_NCS): Likewise.
43755 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43757 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43758 * elf/dl-fini.c (_dl_fini): Adjust caller.
43759 * elf/dl-close.c (_dl_close_worker): Likewise.
43760 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43762 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43764 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43765 "aux_cache->nlibs < 0".
43767 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43768 in the reload-count case.
43770 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43773 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43774 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43775 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43776 * sysdeps/x86_64/multiarch/strcat.S: New file.
43777 * sysdeps/x86_64/multiarch/strncat.S: New file.
43778 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43779 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43780 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43781 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43782 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43783 (USE_AS_STRCAT): Define.
43784 Add strcat and strncat support.
43785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43786 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43787 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43788 * string/strncat.c: Update.
43789 (USE_AS_STRNCAT): Define.
43790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43791 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43793 * sysdeps/x86_64/multiarch/init-arch.h
43794 (bit_Prefer_PMINUB_for_stringop): New.
43795 (index_Prefer_PMINUB_for_stringop): Likewise.
43796 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43797 bit_Prefer_PMINUB_for_stringop.
43799 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43801 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43803 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43804 of casting of buffer.
43805 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43806 buffer32 and buffer64.
43807 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43808 writes instead of casting of buffer.
43809 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43811 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43814 2011-07-19 Andreas Schwab <schwab@redhat.com>
43816 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43818 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43820 * nscd/nscd.c (termination_handler): Don't do anything for a database
43821 if it has not yet been initialized.
43823 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43825 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43827 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43829 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43831 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43833 * po/nl.po: Update from translation team.
43834 * po/sv.po: Likewise.
43836 2011-07-16 Roland McGrath <roland@hack.frob.com>
43838 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43839 now disallowed by GCC.
43841 * configure.in (use-default-link): Default to yes if a test -shared
43842 link meets our qualifications.
43843 * configure: Regenerated.
43845 * config.make.in (output-format): New variable.
43846 * configure.in: Check for ld --print-output-format support.
43847 * configure: Regenerated.
43848 * Makerules ($(common-objpfx)format.lds)
43849 [$(output-format) != unknown]: Just use $(output-format),
43850 instead of the linker-script munging.
43852 2011-07-14 Roland McGrath <roland@hack.frob.com>
43854 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43855 of $(common-objpfx)shlib.lds.
43856 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43858 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43859 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43861 * configure.in (-z relro check): Adjust test code to add a large
43862 writable data section after it.
43863 * configure: Regenerated.
43865 2011-07-11 Roland McGrath <roland@hack.frob.com>
43867 * configure.in (-z relro check): Fix test code to make the variable
43869 * configure: Regenerated.
43871 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43873 * nscd/nscd.h (struct traced_file): Define.
43874 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43875 elements. Add traced_files.
43876 (inotify_fd): Declare.
43877 (register_traced_file): Declare.
43878 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43879 (inotify_fd): Export.
43880 (resolv_conf_descr): Remove.
43881 (nscd_init): Move inotify descriptor creation to main.
43882 Don't register files for notification here.
43883 (register_traced_file): New function.
43884 (invalidate_cache): Don't use reset_res to determine whether to call
43885 res_init, go through the list of registered files.
43886 (main_loop_poll): The inotify descriptors are now stored in the
43887 structures for the traced files.
43888 (main_loop_epoll): Likewise
43889 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43890 to __nss_disable_nscd.
43891 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43892 for a database anymore. Check the records for all the registered
43894 * nss/Makefile (libnss_files-routines): Add files-init.
43895 (libnss_db-routines): Add db-init.
43896 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43897 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43898 * nss/nss_db/db-init.c: New file.
43899 * nss/nss_files/files-init.c: New file.
43900 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43901 __nss_lookup_function.
43902 (__nss_lookup_function): Call nss_load_library.
43903 (nss_load_all_libraries): New function.
43904 (__nss_disable_nscd): Take parameter with callback function for files
43905 to register. Set is_nscd. Load all the DSOs for the NSS modules
43906 used for the cached services.
43907 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43908 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43909 options for features to all the files in nscd.
43911 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43913 2011-07-10 Roland McGrath <roland@hack.frob.com>
43915 * csu/elf-init.c (__libc_csu_init): Comment typo.
43917 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43919 * po/pl.po: Update from translation team.
43920 * po/ja.po: Likewise.
43921 * po/ru.po: Likewise.
43922 * po/ko.po: Likewise.
43923 * po/fr.po: Likewise.
43925 2011-07-09 Roland McGrath <roland@hack.frob.com>
43927 * configure.in (.ctors/.dtors header and trailer check):
43928 Use an empirical test on a built program.
43929 * configure: Regenerated.
43931 * configure.in (-z relro check): Use an empirical test on a built DSO.
43932 Detect, but do not require, on ia64.
43933 * configure: Regenerated.
43935 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43936 Update tests that use readelf to use $READELF instead.
43937 * configure: Regenerated.
43939 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43941 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43942 if the result is not used.
43944 2011-07-05 Andreas Jaeger <aj@suse.de>
43947 * stdlib/tst-strtod.c: Add testcase.
43949 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43951 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43952 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43953 The latter has a higher limit. Take additional parameter to pass to
43955 (__pathconf): Pass file to __statfs_link_max.
43956 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43958 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43962 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43965 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43966 (__statfs_filesize_max): Likewise.
43967 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43969 2011-07-05 Andreas Jaeger <aj@suse.de>
43971 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43973 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43975 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43977 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43980 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43982 * Makefile (strop-tests): Add strncat.
43983 * string/test-strncat.c: New file.
43985 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43987 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43989 2011-06-21 Andreas Jaeger <aj@suse.de>
43991 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43992 Copy rule from iconvdata/Makefile.
43994 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43997 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43998 but no long options are defined, just return 'W'.
44000 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44003 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44005 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44007 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44009 (innetgr): Likewise.
44011 2011-07-05 Roland McGrath <roland@hack.frob.com>
44013 * config.make.in (install_root): Default to $(DESTDIR).
44015 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44017 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44019 2011-07-02 Roland McGrath <roland@hack.frob.com>
44021 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44023 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44024 containing directory rather than embedding absolute directory names.
44026 * scripts/check-local-headers.sh: Rewritten using awk.
44027 Match by word, not by line. Print error messages for matches.
44028 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44030 * Makerules [shlib-lds-flags empty]:
44031 ($(common-objpfx)libc_pic.opts): New target.
44032 ($(common-objpfx)libc_pic.os.clean): New target.
44033 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44035 * config.make.in (OBJCOPY): New variable.
44036 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44037 * configure: Regenerated.
44039 * config.make.in (use-default-link): New variable.
44040 * configure.in (use_default_link): Grok --with-default-link to set it.
44041 * configure: Regenerated.
44042 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44043 (shlib-lds, shlib-lds-flags): Define to empty.
44045 * Makerules (shlib-lds): New variable.
44046 (shlib-lds-flags): New variable.
44047 (build-shlib, build-moduile, build-module-asneeded): Use it.
44048 ($(common-objpfx)libc.so): Use $(shlib-lds).
44049 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44050 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44052 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44053 DT_FLAGS/DT_FLAGS_1 with zero flags.
44055 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44056 linker script munging.
44058 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44060 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44062 * crypt/sha512.c (sha512_process_block): Perform total addition using
44063 128-bit if possible.
44064 (__sha512_finish_ctx): Likewise.
44065 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44067 * crypt/sha256.c (SWAP64): Define.
44068 (sha256_process_block): Perform total addition using 64-bit if
44070 (__sha256_finish_ctx): Likewise.
44072 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44074 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44076 * nscd/hstcache.c (cache_addhst): Likewise.
44077 * nscd/grpcache.c (cache_addgr): Likewise.
44078 * nscd/aicache.c (addhstaiX): Likewise
44079 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44081 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44083 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44085 * nscd/hstcache.c (cache_addhst): Likewise.
44086 * nscd/grpcache.c (cache_addgr): Likewise.
44087 * nscd/aicache.c (addhstaiX): Likewise
44089 2011-07-01 Andreas Schwab <schwab@redhat.com>
44091 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44092 domain only when needed.
44094 2011-06-30 Andreas Schwab <schwab@redhat.com>
44096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44097 is always restored.
44099 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44101 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44102 are re-adding the entry.
44103 * nscd/servicescache.c (cache_addserv): Likewise.
44105 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44107 * sysdeps/generic/dl-irel.h: fix protection against multiple
44109 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44111 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44114 * malloc/memusage.sh: Fix quoting in message.
44115 * debug/xtrace.sh: Likewise.
44117 * configure.in: Remove support for --experimental-malloc option, make
44119 * config.make.in: Likewise.
44120 * malloc/Makefile: Likewise.
44122 2011-06-27 Andreas Schwab <schwab@redhat.com>
44124 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44125 two-byte characters.
44127 2011-06-27 Roland McGrath <roland@hack.frob.com>
44129 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44130 AC_CACHE_CHECK invocation.
44131 * configure: Regenerated.
44133 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44135 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44138 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44139 bit from old_res_options.
44141 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44143 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44144 value type for setfct.
44146 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44149 __gettimeofday instead of gettimeofday.
44151 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44153 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44155 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44157 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44162 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44165 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44166 strcpy-sse2-unaligned strncpy-sse2-unaligned
44167 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44168 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44169 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44170 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44171 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44173 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44174 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44175 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44176 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44177 (STRCPY): Support SSE2 and SSSE3 versions.
44179 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44182 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44183 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44184 kernels which artificially limit size of requests.
44186 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44189 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44190 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44191 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44192 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44193 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44194 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44195 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44196 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44198 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44199 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44200 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44201 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44202 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44204 Enable unaligned load optimization for Intel Core i3, i5 and i7
44206 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44208 (index_Fast_Unaligned_Load): Define.
44209 (HAS_FAST_UNALIGNED_LOAD): Define.
44211 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44213 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44215 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44219 until it is clear that the information is realy needed.
44220 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44222 2011-06-22 Andreas Schwab <schwab@redhat.com>
44224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44226 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44229 /sys/devices/system/cpu/online if it is usable.
44231 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44232 reading the information from the /proc filesystem to once a second.
44234 2011-06-21 Andreas Jaeger <aj@suse.de>
44236 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44237 NULL after inclusion of kernel headers.
44239 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44241 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44242 calls to internal_setent.
44245 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44246 addresses using gethostbyname4_r ignore IPv4 addresses.
44248 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44249 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44251 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44253 2011-06-20 David S. Miller <davem@davemloft.net>
44255 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44257 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44259 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44260 (elf_irel): Use it.
44261 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44262 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44263 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44264 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44265 * sysdeps/x86_64/dl-irel.h: Likewise.
44267 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44268 * elf/dl-sym.c: Likewise.
44270 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44272 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44273 need to dereference resplen2.
44275 2011-06-14 Andreas Schwab <schwab@redhat.com>
44277 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44279 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44281 * Makeconfig: Define vardbdir and inst_vardbdir.
44282 * nss/Makefile: Add rules to install db-Makefile.
44284 * nss/nss_db/db-XXX.c: Cleanup.
44286 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44287 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44289 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44290 * nss/makedb.c: Implement -g option to specify that value strings
44291 are generated and should not be added to table iterated over for
44293 * nss/nss_db/db-initgroups.c: New file.
44295 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44298 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44299 (internal_getgrouplist): Adjust to name change.
44300 Update use_initgroups_entry if this is not the first call.
44301 * nss/databases.def: Add initgroups entry.
44303 * nss/makedb.c (compute_tables): Check result of multiple hash table
44304 sizes to minimize maximum chain length.
44306 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44308 * Versions.def: Add entry for libnss_db.
44309 * shlib-versions: Likewise.
44310 * nss/Makefile: Add rules to build libnss_db.
44311 * nss/Versions: Add libnss_db information. Organize libnss_files
44313 * nss/db-Makefile: Add gshadow support. Change rules for the new
44314 makedb progra. Some minor improvements to generate smaller files.
44315 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44317 * nss/makedb.c: ...here.
44318 Improve database format to be smaller and require less memory at
44320 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44322 * nss/nss_db/db-netgrp.c: Likewise.
44323 * nss/nss_db/db-open.c: Likewise.
44324 * nss/nss_files/flies-XXX.x: Adjust comments.
44325 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44326 * nss/nss_files/files-grp.c: Likewise.
44327 * nss/nss_files/files-hosts.c: Likewise.
44328 * nss/nss_files/files-network.c: Likewise.
44329 * nss/nss_files/files-proto.c: Likewise.
44330 * nss/nss_files/files-pwd.c: Likewise.
44331 * nss/nss_files/files-rpc.c: Likewise.
44332 * nss/nss_files/files-service.c: Likewise.
44333 * nss/nss_files/files-sgrp.c: Likewise.
44334 * nss/nss_files/files-spwd.c: Likewise.
44335 * nss/nss_db/db-alias.c: Removed.
44336 * nss/nss_db/dummy-db.h: Removed.
44338 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44340 * nss/makedb.c: Rewritten to not use database library.
44341 * nss/Makefile: Update to build new makedb program.
44343 2011-06-14 Andreas Jaeger <aj@suse.de>
44345 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44346 memset declaration.
44348 2011-06-10 Andreas Schwab <schwab@redhat.com>
44350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44353 2011-06-10 Roland McGrath <roland@hack.frob.com>
44355 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44356 * elf/Makefile ($(objpfx)ld.so): Likewise.
44358 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44359 Don't list ld.so twice in dependencies.
44361 * posix/bug-regex31.c: Include <stdlib.h>.
44363 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44365 * nis/nss_compat/compat-spwd.c
44366 (getspent_next_nss_netgr): Remove unused variable.
44367 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44369 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44370 nonmembers" output to use the right array.
44372 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44374 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44376 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44377 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44378 * catgets/gencat.c (read_input_file): Likewise.
44379 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44381 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44382 variable definition inside #if's controlling its use.
44384 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44386 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44388 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44390 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44393 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44395 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44396 * configure: Regenerated.
44398 * Makerules: Revert last change.
44399 * elf/Makefile: Likewise.
44401 2011-06-09 Roland McGrath <roland@hack.frob.com>
44403 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44404 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44405 (reloc-link): Likewise.
44407 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44409 * elf/Makefile: Add rules to build pldd.
44410 * elf/pldd.c: New file.
44411 * elf/pldd-xx.c: New file.
44413 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44415 * version.h: Update for 2.15 development version.
44417 2011-06-07 David S. Miller <davem@davemloft.net>
44419 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44422 elf_machine_lazy_rel): Likewise.
44423 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44425 elf_machine_lazy_rel): Likewise.
44426 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44427 dl_hwcap via passed in argument.
44428 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44431 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44433 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44435 2011-06-06 Roland McGrath <roland@hack.frob.com>
44438 * manual/fdl-1.1.texi: New file, verbatim from:
44439 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44440 * manual/lgpl-2.1.texi: New file, verbatim from:
44441 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44442 * manual/Makefile (licenses): New variable, list those new file names.
44444 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44446 * manual/fdl.texi: File removed.
44447 * manual/lesser.texi: File removed.
44448 * manual/libc.texinfo (Copying, Documentation License):
44449 Use new @include file names, put @appendix directive before @include.
44451 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44454 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44455 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44456 (mq_open): Add __NTH.
44458 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44461 Assume Intel Core i3/i5/i7 processor if AVX is available.
44463 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44468 2011-05-31 Andreas Schwab <schwab@redhat.com>
44470 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44471 memory. Use alloca_account. Fix memory leak when retrying.
44473 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44475 * version.h (RELEASE): Bump for 2.14 release.
44476 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44478 * config.make.in (RANLIB): Remove entry.
44480 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44482 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44483 (libc.pot): Work around missing support for .ksh extension in xgettext.
44486 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44487 if both request failed.
44488 (send_dg): In case of server errors clear resplen or *resplen2.
44491 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44492 when there are multiple maps.
44493 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44494 (_dl_fini): Remove test here.
44496 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44498 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44501 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44502 bit from old_res_options.
44503 (gaih_inet): Likewise.
44506 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44509 * resolv/res_init.c (res_setoptions): Make the code more compact.
44512 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44516 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44518 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44521 * malloc/malloc.h: Declare malloc hook variables as volatile.
44523 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44527 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44528 raise in the comment.
44529 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44530 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44531 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44533 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44536 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44537 grow the buffers more if it already has to be sufficient.
44538 (build_wcs_upper_buffer): Likewise.
44539 * posix/regexec.c (check_matching): Likewise.
44540 (clean_state_log_if_needed): Likewise.
44541 (extend_buffers): Don't enlarge buffers beyond size of the input
44543 Patches mostly by Emil Wojak <emil@wojak.eu>.
44544 * posix/bug-regex32.c: New file.
44545 * posix/Makefile (tests): Add bug-regex32.
44547 * locale/findlocale.c (_nl_find_locale): Return right away if
44548 _nl_explode_name failed.
44549 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44551 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44553 * debug/xtrace.sh: Unify messages.
44554 * malloc/memusage.sh: Likewise.
44557 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44558 time symbol from vDSO. Substitute with vsyscall if not available.
44559 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44562 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44563 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44564 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44565 Add sendmmsg and internal_sendmmsg.
44566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44567 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44568 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44570 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44571 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44572 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44574 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44577 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44578 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44584 * iconvdata/Makefile (tests): Add bug-iconv9.
44585 * iconvdata/bug-iconv9.c: New file.
44587 2011-05-27 Andreas Schwab <schwab@redhat.com>
44590 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44592 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44595 (struct user_regs_struct): Change intcs field back to cs.
44597 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44599 * po/ja.po: Update from translation team.
44601 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44604 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44605 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44607 2011-05-20 Andreas Schwab <schwab@redhat.com>
44609 * stdlib/longlong.h: Update from GCC.
44611 2011-05-23 Andreas Schwab <schwab@redhat.com>
44613 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44615 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44616 Add parameter name.
44617 (__sysconf): Pass it down.
44619 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44622 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44624 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44625 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44626 add in in __libc_use_alloca calls. Adjust callers.
44627 (glob): Use malloc in some situations.
44629 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44630 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44633 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44635 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44636 and CLOCK_BOOTTIME_ALARM.
44639 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44642 * string/_strerror.c (__strerror_r): Print negative errors as signed
44646 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44647 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44648 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44650 * configure.in: Fix typo in redirection and correct removal of test
44651 files in two cases.
44654 * locale/setlocale.c (new_composite_name): Fix test to check for
44655 identical name of all categories.
44658 * libio/filedoalloc.c (local_isatty): New function.
44659 (_IO_file_doallocate): Use local_isatty.
44660 * stdio-common/perror.c (perror): In case a new stream is used
44661 forward the stream error.
44662 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44665 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44670 * include/alloca.h (extend_alloca_account): Define.
44673 * posix/regex.h: Fix comments with documentation of user-accessible
44674 fields after compilation and describe correct free'ing of pattern
44675 after re_compile_pattern.
44676 Patch by Reuben Thomas <rrt@sc3d.org>.
44678 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44680 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44681 and -mno-altivec to prevent the compiler from using Altivec and/or
44682 VSX instructions when the corresponding registers are not available.
44684 2011-05-19 Andreas Schwab <schwab@redhat.com>
44686 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44688 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44690 * libio/freopen.c (freopen): Use __dup2, not dup2.
44691 * libio/freopen64.c (freopen64): Likewise.
44693 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44696 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44697 * math/Makefile (tests): Add test-powl.
44698 (CFLAGS-test-powl.c): Define.
44699 * math/test-powl.c: New file.
44701 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44703 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44705 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44708 * iconvdata/gb18030.c: Update to GB18020-2005.
44710 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44712 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44713 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44714 Patch by Aharon Robbins <arnold@skeeve.com>.
44717 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44721 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44722 through underflows.
44725 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44726 point to strings before performing equality test for error_one_per_line
44730 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44734 (struct user_fpregs_struct): Avoid __uint*_t types.
44737 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44738 symbol info. Use it instead of calling _dl_addr locally.
44739 (lock_and_info): New function.
44740 (tr_freehook): Call lock_and_info and pass symbol info as additional
44741 parameter to tr_where.
44742 (tr_mallochook): Likewise.
44743 (tr_reallochook): Likewise.
44744 (tr_memalignhook): Likewise.
44746 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44747 used and couldn't be at all thread-safe.
44749 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44751 * libio/freopen.c (freopen): Don't close old file descriptor
44752 before the new one is opened. Instead dup the new file descriptor
44753 to the old one after the new stream is created.
44754 * libio/freopen64.c (freopen64): Likewise.
44755 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44756 * libio/fileops.c (_IO_new_file_close_it): Handle new
44757 _IO_FLAGS2_NOCLOSE flag.
44758 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44759 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44760 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44761 _IO_FLAGS2_NOCLOSE flag.
44762 * include/unistd.h: Add hidden_proto for dup3.
44763 Define __have_dup3.
44764 * io/dup3.c: Define hidden symbol.
44765 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44768 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44769 when an incomplete long option is used.
44770 * posix/tst-getopt_long1.c: New file.
44771 * posix/Makefile (tests): Add tst-getopt_long1.
44774 * scripts/config.guess: Update from autoconf-2.68.
44775 * scripts/config.sub: Likewise.
44778 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44780 (has_cpuclock): ...this. New function.
44781 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44782 macro here based on has_cpuclock code.
44785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44786 First byte (not low byte) is now always NUL.
44787 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44789 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44790 Use non-cancelable interfaces.
44793 * locale/iso-639.def: Add entry for Sorani.
44796 * include/stdlib.h: Move include protection to the right place.
44797 Define abort_msg_s. Declare __abort_msg with it.
44798 * stdlib/abort.c (__abort_msg): Adjust type.
44799 * assert/assert.c (__assert_fail_base): New function. Majority
44800 of code from __assert_fail. Allocate memory for __abort_msg with
44802 (__assert_fail): Now call __assert_fail_base.
44803 * assert/assert-perr.c: Remove bulk of implementation. Use
44804 __assert_fail_base.
44805 * include/assert.hL Declare __assert_fail_base.
44806 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44808 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44810 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44814 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44815 until all modules are registered in the DTV.
44816 * elf/Makefile: Add rules to build and run tst-tls19.
44817 * elf/tst-tls19.c: New file.
44818 * elf/tst-tls19mod1.c: New file.
44819 * elf/tst-tls19mod2.c: New file.
44820 * elf/tst-tls19mod3.c: New file.
44821 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44824 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44828 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44829 two-byte sequence errors.
44830 * iconvdata/Makefile (tests): Add bug-iconv8.
44831 * iconvdata/bug-iconv8.c: New file.
44834 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44837 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44840 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44841 (dummy_getcfa): New function.
44842 (init): Get _Unwind_GetCFA address, use dummy if not found.
44843 (backtrace_helper): In recursion check, also check whether CFA changes.
44844 (__backtrace): Completely initialize arg.
44846 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44847 storing incomplete byte sequence in state object. Avoid testing for
44848 guaranteed too small input if we know there is enough data available.
44850 2011-05-11 Andreas Schwab <schwab@redhat.com>
44852 * Makeconfig (+link-pie): Indent.
44853 * Rules (binaries-pie): Define if $(have-fpie) and
44855 (binaries-shared): Also filter out $(binaries-pie).
44856 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44857 * nscd/Makefile (others-pie): Add nscd.
44858 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44859 ($(objpfx)nscd): Remove command override.
44860 * login/Makefile (others-pie): Add pt_chown.
44861 ($(objpfx)pt_chown): Remove command override.
44862 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44863 remove command overrides.
44865 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44867 * libio/tst_putwc.c: Fix error messages.
44870 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44871 currently writing and seek to current position when not.
44872 * libio/Makefile (tests): Add bug-fclose1.
44873 * libio/bug-fclose1.c: New file.
44875 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44878 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44879 don't set DF_1_NODELETE here.
44880 (do_lookup_x): When entering new entry test for copy relocation
44881 and if necessary set DF_1_NODELETE flag.
44882 * elf/tst-unique4.cc: New file.
44883 * elf/tst-unique4.h: New file.
44884 * elf/tst-unique4lib.cc: New file.
44885 * elf/Makefile: Add rules to build and run tst-unique4.
44886 Patch by Piotr Bury <pbury@goahead.com>.
44888 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44891 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44894 * misc/mntent_r.c (addmntent): Flush the stream after the output
44897 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44898 (is_trusted_path_normalize): Skip initial colon. Append slash
44899 to empty buffer. Duplicate is_trusted_path code but allow
44900 constructed patch to be prefix.
44901 (is_dst): Allow $ORIGIN followed by /.
44902 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44903 Correct testing of result of is_trusted_path_normalize
44904 (decompose_rpath): Fix warning.
44906 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44909 * grp/initgroups.c (internal_getgrouplist): When we found the service
44910 list through the initgroups entry in nsswitch.conf do not always
44911 continue on a successful lookup. Don't always use the
44912 __nss_group_database value if it is set.
44913 * nss/nsswitch.conf (initgroups): Change action for successful db
44914 lookup to continue for compatibility.
44916 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44919 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44921 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44923 * iconvdata/tst-tables.sh: Likewise.
44924 * iconvdata/cp770.c: New file.
44925 * iconvdata/cp771.c: New file.
44926 * iconvdata/cp772.c: New file.
44927 * iconvdata/cp773.c: New file.
44928 * iconvdata/cp774.c: New file.
44929 * iconvdata/testdata/CP770: New file.
44930 * iconvdata/testdata/CP770..UTF8: New file.
44931 * iconvdata/testdata/CP771: New file.
44932 * iconvdata/testdata/CP771..UTF8: New file.
44933 * iconvdata/testdata/CP772: New file.
44934 * iconvdata/testdata/CP772..UTF8: New file.
44935 * iconvdata/testdata/CP773: New file.
44936 * iconvdata/testdata/CP773..UTF8: New file.
44937 * iconvdata/testdata/CP774: New file.
44938 * iconvdata/testdata/CP774..UTF8: New file.
44940 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44942 * iconvdata/gen-8bit-gap.sh: Likewise.
44943 * iconvdata/gen-8bit.sh: Likewise.
44945 * locale/iso-639.def: Add ary entry.
44948 * locale/C-translit.h.in: Add U20A1 transliteration.
44951 * locale/iso-639.def: Add wae entry.
44952 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44955 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44959 * locale/C-translit.h.in: Add entry for U20B9.
44960 Patch by pravin.d.s@gmail.com.
44962 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44965 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44966 ENAMETOOLONG use generic getcwd.
44967 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44968 in rtld. Use *stat64.
44969 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44970 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44971 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44972 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44973 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44974 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44975 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44976 __fstatat64 macros.
44977 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44978 * dirent/rewinddir.c: Add libc_hidden_def.
44979 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44980 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44982 * include/dirent.h (__alloc_dir): Add flags parameter.
44983 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44984 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44986 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44987 from fdopendir if O_CLOEXEC is already set.
44989 2011-03-15 Alan Modra <amodra@gmail.com>
44991 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44992 l_tls_firstbyte_offset non-zero. Save padding offset in
44993 l_tls_firstbyte_offset for later use.
44994 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44995 freeing static tls block.
44997 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44999 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45000 where #ifdef was intended. The intent is to prevent ARG_MAX from
45001 being defined by the kernel headers.
45003 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45006 * resolv/resolv.h: Define RES_NOTLDQUERY.
45007 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45008 no-tld-query and set RES_NOTLDQUERY.
45009 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45010 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45011 modern BIND to search name as TLD unless forbidden.
45013 2011-05-07 Petr Baudis <pasky@suse.cz>
45014 Ulrich Drepper <drepper@gmail.com>
45017 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45018 (is_trusted_path): ...to here.
45019 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45020 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45021 using is_trusted_path_normalize() in setuid scripts.
45023 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45025 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45026 __BEGIN/__END_DECLS.
45028 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45031 NSS_STATUS_NOTFOUND if no record was found.
45033 2011-05-05 Andreas Schwab <schwab@redhat.com>
45035 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45036 (headers-not-in-tirpc): Remove rpc/netdb.h
45037 * resolv/netdb.h: Revert last change.
45039 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45041 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45042 circular dependency between libgcc.a and libc.a.
45044 2011-05-05 Andreas Schwab <schwab@redhat.com>
45046 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45047 * nis/Makefile: Don't install rpcsvc/*.
45048 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45049 instead of <rpc/types.h>.
45050 (MAXHOSTNAMELEN): Define.
45052 2011-05-03 Andreas Schwab <schwab@redhat.com>
45054 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45056 2011-04-28 Maciej Babinski <mbabinski@google.com>
45059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45060 gethostbyname4_r when IPv6 results are possible.
45062 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45065 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45066 _PC_PIPE_BUF handling.
45068 2011-04-30 Bruno Haible <bruno@clisp.org>
45071 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45072 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45074 * inet/getnameinfo.c (getnameinfo): Likewise.
45076 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45078 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45079 to groups setting in database lookup.
45080 * nss/nsswitch.conf: Add initgroups entry.
45082 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45085 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45087 Patch by Eric Blake <eblake@redhat.com>.
45089 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45091 * sunrpc/Makefile (need-export-routines): Add svc_run.
45092 (routines): Remove svc_run.
45093 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45094 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45095 * sunrpc/svc_run.c (svc_run): Likewise.
45096 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45098 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45100 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45101 problem in reallocation in last patch.
45103 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45105 * sunrpc/Makefile: Move inclusion of Rules.
45107 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45109 * nss/nss_files/files-initgroups.c: New file.
45110 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45111 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45112 _nss_files_initgroups_dyn.
45114 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45116 * elf/elf.h (R_ARM_IRELATIVE): Define.
45118 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45120 * po/ru.po: Update from translation team.
45122 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45124 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45127 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45130 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45131 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45132 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45133 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45136 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45138 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45140 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45142 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45144 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45147 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45149 * stdlib/bug-getcontext.c: New file.
45150 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45152 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45154 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45155 instructions into .machine "z9-109".
45156 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45157 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45159 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45161 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45162 between environment variables and auxiliary vector.
45164 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45166 * Makefile: Add rules to build linkobj/libc.so.
45167 * include/libc-symbols.h: Define libc_hidden_nolink.
45168 * include/rpc/auth.h: Mark functions which are to be hidden.
45169 * include/rpc/auth_des.h: Likewise.
45170 * include/rpc/auth_unix.h: Likewise.
45171 * include/rpc/clnt.h: Likewise.
45172 * include/rpc/des_crypt.h: Likewise.
45173 * include/rpc/key_prot.h: Likewise.
45174 * include/rpc/pmap_clnt.h: Likewise.
45175 * include/rpc/pmap_prot.h: Likewise.
45176 * include/rpc/pmap_rmt.h: Likewise.
45177 * include/rpc/rpc_msg.h: Likewise.
45178 * include/rpc/svc.h: Likewise.
45179 * include/rpc/svc_auth.h: Likewise.
45180 * include/rpc/xdr.h: Likewise.
45181 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45182 * nss/Makefile: Likewise.
45183 * sunrpc/Makefile: Don't install headers. Build library with normal
45184 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45185 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45186 for the compat linking library. Remove use of INTDEF/INTUSE.
45187 * sunrpc/auth_none.c: Likewise.
45188 * sunrpc/auth_unix.c: Likewise.
45189 * sunrpc/authdes_prot.c: Likewise.
45190 * sunrpc/authuxprot.c: Likewise.
45191 * sunrpc/clnt_gen.c: Likewise.
45192 * sunrpc/clnt_perr.c: Likewise.
45193 * sunrpc/clnt_raw.c: Likewise.
45194 * sunrpc/clnt_simp.c: Likewise.
45195 * sunrpc/clnt_tcp.c: Likewise.
45196 * sunrpc/clnt_udp.c: Likewise.
45197 * sunrpc/clnt_unix.c: Likewise.
45198 * sunrpc/des_crypt.c: Likewise.
45199 * sunrpc/des_soft.c: Likewise.
45200 * sunrpc/get_myaddr.c: Likewise.
45201 * sunrpc/key_call.c: Likewise.
45202 * sunrpc/key_prot.c: Likewise.
45203 * sunrpc/netname.c: Likewise.
45204 * sunrpc/pm_getmaps.c: Likewise.
45205 * sunrpc/pm_getport.c: Likewise.
45206 * sunrpc/pmap_clnt.c: Likewise.
45207 * sunrpc/pmap_prot.c: Likewise.
45208 * sunrpc/pmap_prot2.c: Likewise.
45209 * sunrpc/pmap_rmt.c: Likewise.
45210 * sunrpc/publickey.c: Likewise.
45211 * sunrpc/rpc_cmsg.c: Likewise.
45212 * sunrpc/rpc_common.c: Likewise.
45213 * sunrpc/rpc_dtable.c: Likewise.
45214 * sunrpc/rpc_prot.c: Likewise.
45215 * sunrpc/rpc_thread.c: Likewise.
45216 * sunrpc/rtime.c: Likewise.
45217 * sunrpc/svc.c: Likewise.
45218 * sunrpc/svc_auth.c: Likewise.
45219 * sunrpc/svc_authux.c: Likewise.
45220 * sunrpc/svc_raw.c: Likewise.
45221 * sunrpc/svc_run.c: Likewise.
45222 * sunrpc/svc_simple.c: Likewise.
45223 * sunrpc/svc_tcp.c: Likewise.
45224 * sunrpc/svc_udp.c: Likewise.
45225 * sunrpc/svc_unix.c: Likewise.
45226 * sunrpc/svcauth_des.c: Likewise.
45227 * sunrpc/xcrypt.c: Likewise.
45228 * sunrpc/xdr.c: Likewise.
45229 * sunrpc/xdr_array.c: Likewise.
45230 * sunrpc/xdr_float.c: Likewise.
45231 * sunrpc/xdr_intXX_t.c: Likewise.
45232 * sunrpc/xdr_mem.c: Likewise.
45233 * sunrpc/xdr_rec.c: Likewise.
45234 * sunrpc/xdr_ref.c: Likewise.
45235 * sunrpc/xdr_sizeof.c: Likewise.
45236 * sunrpc/xdr_stdio.c: Likewise.
45238 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45241 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45242 * sysdeps/ia64/dl-tls.h: Likewise.
45243 * sysdeps/powerpc/dl-tls.h: Likewise.
45244 * sysdeps/s390/dl-tls.h: Likewise.
45245 * sysdeps/sh/dl-tls.h: Likewise.
45246 * sysdeps/sparc/dl-tls.h: Likewise.
45247 * sysdeps/x86_64/dl-tls.h: Likewise.
45248 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45250 2011-03-14 Andreas Schwab <schwab@redhat.com>
45252 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45253 rpath element also skip the following colon.
45254 (expand_dynamic_string_token): Add is_path parameter and pass
45255 down to DL_DST_REQUIRED and _dl_dst_substitute.
45256 (decompose_rpath): Call expand_dynamic_string_token with
45257 non-zero is_path. Ignore empty rpaths.
45258 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45261 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45266 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45269 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45270 Patch by Filipe David Manana <fdmanana@apache.org>.
45272 2011-04-07 Andreas Schwab <schwab@redhat.com>
45274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45275 Maintain aligned stack.
45276 (CHECK_RSP): Remove unused macro.
45278 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45280 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45283 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45285 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45287 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45289 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45292 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45293 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45294 * sysdeps/x86_64/memmove.c: New file.
45295 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45296 (memcpy): Renamed to ...
45297 (__new_memcpy): This.
45298 (memcpy): Provide GLIBC_2_14 memcpy.
45299 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45300 (memcpy): Provide GLIBC_2_2_5 memcpy.
45302 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45305 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45307 2011-03-30 Andreas Schwab <schwab@redhat.com>
45309 * misc/syncfs.c: New file.
45310 * misc/Makefile (routines): Add syncfs.
45311 * posix/unistd.h: Declare syncfs.
45312 * sysdeps/unix/syscalls.list: Add syncfs.
45314 2011-04-01 Andreas Schwab <schwab@redhat.com>
45316 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45318 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45319 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45323 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45324 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45326 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45329 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45330 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45331 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45332 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45334 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45336 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45337 sync_file_range.c with -fexceptions.
45338 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45339 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45340 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45341 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45342 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45343 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45345 sync_file_range as cancellation point
45346 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45347 now a wrapper around __call_sync_file_range with cancellation handling.
45348 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45349 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45350 function name to __call_sync_file_range.
45351 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45352 Add call_sync_file_range.
45354 2011-04-01 Andreas Schwab <schwab@redhat.com>
45356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45359 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45361 * iconv/iconv.h: Fix typo in comment.
45362 * io/fcntl.h: Likewise.
45363 * libio/stdio.h: Likewise.
45364 * posix/spawn.h: Likewise.
45365 * posix/unistd.h: Likewise.
45366 * stdlib/stdlib.h: Likewise.
45367 * time/time.h: Likewise.
45368 * wcsmbs/wchar.h: Likewise.
45370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45371 open_by_handle): Add.
45372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45373 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45374 Augment a few comments.
45375 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45377 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45379 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45380 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45383 * io/fcntl.h (AT_EMPTY_PATH): Define.
45385 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45387 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45388 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45389 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45391 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45392 * Versions.def: Add GLIBC_2.14.
45393 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45396 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45398 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45400 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45402 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45405 * string/test-strncmp.c (do_page_test): New function.
45406 (check2): Likewise.
45407 (test_main): Call check2.
45408 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45410 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45413 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45414 Handle cache information in CPU leaf 4.
45415 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45417 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45420 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45421 character representation.
45422 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45424 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45426 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45427 END(__isnan) to END(__isnanf) to match function entry point/label
45428 EALIGN(__isnanf,...).
45430 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45432 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45434 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45437 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45438 copy from the symbol referenced in the relocation to initialize the
45440 Patch by Piotr Bury <pbury@goahead.com>.
45441 * elf/Makefile: Add rules to build and tst-unique3.
45442 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45443 * elf/tst-unique3.cc: New file.
45444 * elf/tst-unique3.h: New file.
45445 * elf/tst-unique3lib.cc: New file.
45446 * elf/tst-unique3lib2.cc: New file.
45448 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45450 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45452 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45453 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45456 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45458 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45459 to-be-loaded object along a path to loader is ld.so.
45461 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45462 Ulrich Drepper <drepper@gmail.com>
45464 * sysdeps/x86_64/memset.S: After aligning destination, code
45465 branches to different locations depending on the value of
45466 misalignment, when multiarch is enabled. Fix this.
45468 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45470 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45471 Set _x86_64_preferred_memory_instruction for AMD processsors.
45472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45473 Set bit_Prefer_SSE_for_memop for AMD processors.
45475 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45477 * libio/fmemopen.c (fmemopen): Optimize a bit.
45479 2011-03-03 Andreas Schwab <schwab@redhat.com>
45481 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45483 2011-03-03 Roland McGrath <roland@redhat.com>
45485 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45487 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45489 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45490 __bzero_ultra1 instead of __memset_ultra1.
45492 2011-02-23 Andreas Schwab <schwab@redhat.com>
45493 Ulrich Drepper <drepper@gmail.com>
45496 * include/link.h (struct link_map): Add l_orig_initfini.
45497 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45498 returning unsuccessfully.
45499 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45500 close of a file loaded at startup, restore the original l_initfini
45502 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45503 list, store the pointer.
45504 * elf/Makefile ($(objpfx)noload-mem): New rule.
45505 (noload-ENV): Define.
45506 (tests): Add $(objpfx)noload-mem.
45507 * elf/noload.c: Include <memcheck.h>.
45508 (main): Call mtrace. Close all opened handles.
45510 2011-02-17 Andreas Schwab <schwab@redhat.com>
45513 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45514 dependencies are missing.
45516 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45518 Fix __if_freereq crash: Unlike the generic version which uses free,
45520 * sysdeps/mach/hurd/ifreq.h: New file.
45522 2011-01-27 Petr Baudis <pasky@suse.cz>
45523 Ulrich Drepper <drepper@gmail.com>
45526 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45527 to extend_alloca().
45528 * stdio-common/bug23.c: New file.
45529 * stdio-common/Makefile (tests): Add bug23.
45531 2010-09-28 Andreas Schwab <schwab@redhat.com>
45532 Ulrich Drepper <drepper@gmail.com>
45535 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45536 before performing relro protection. At old place add assertion
45537 to make sure nothing changed.
45539 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45540 Glauber de Oliveira Costa <glommer@gmail.com>
45542 * elf/elf.h: Add new ARM TLS relocs.
45544 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45547 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45549 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45551 * sysdeps/wordsize-64/tst-writev.c: New file.
45553 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45555 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45556 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45557 insns in _dl_start to prevent a TOC reference before relocs are
45560 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45563 * Makeconfig: Remove RANLIB definition.
45564 * Makerules: Don't use RANLIB.
45565 * aclocal.m4: Remove ranlib test.
45566 * configure.in: No need to check for ranlib.
45567 * elf/rtld-Rules: Don't use RANLIB.
45569 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45571 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45573 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45574 inclusion protection macro.
45576 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45577 SIGRTMIN and SIGRTMAX and print information in that case only when
45578 SIGRTMIN is defined.
45580 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45582 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45583 arginfo fn returning -1.
45585 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45586 and thousands string is zero terminated.
45588 2011-02-03 Andreas Schwab <schwab@redhat.com>
45590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45591 sysdeps/unix/sysv/linux/bits/socket.h.
45593 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45595 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45596 (__CPU_COUNT): Remove old macros.
45597 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45598 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45599 (__CPU_ALLOC, __CPU_FREE): Add macros.
45600 (__sched_cpualloc, __sched_cpufree): Add declarations.
45602 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45604 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45605 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45606 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45607 (readdhstai): Return value of addhstaiX call.
45608 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45609 (addgrbyX): Return value returned by cache_addgr.
45610 (readdgrbyname): Return value returned by addgrbyX.
45611 (readdgrbygid): Likewise.
45612 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45613 (addpwbyX): Return value returned by cache_addpw.
45614 (readdpwbyname): Return value returned by addhstbyX.
45615 (readdpwbyuid): Likewise.
45616 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45617 (addservbyX): Return value returned by cache_addserv.
45618 (readdservbyname): Return value returned by addservbyX:
45619 (readdservbyport): Likewise.
45620 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45621 (addhstbyX): Return value returned by cache_addhst.
45622 (readdhstbyname): Return value returned by addhstbyX.
45623 (readdhstbyaddr): Likewise.
45624 (readdhstbynamev6): Likewise.
45625 (readdhstbyaddrv6): Likewise.
45626 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45627 (readdinitgroups): Return value returned by addinitgroupsX.
45628 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45629 (prune_cache): Keep track of timeout value of re-added entries.
45630 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45631 * nscd/nscd.h: Adjust prototypes of readd* functions.
45633 2011-02-04 Roland McGrath <roland@redhat.com>
45635 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45636 (nis_stats): Likewise.
45637 * nis/nis_modify.c (nis_modify): Likewise.
45638 * nis/nis_remove.c (nis_remove): Likewise.
45639 * nis/nis_add.c (nis_add): Likewise.
45641 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45643 * posix/fnmatch_loop.c: Add some consts.
45645 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45647 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45650 * config.make.in (config-cflags-novzeroupper): Define.
45651 * configure.in: Substitute libc_cv_cc_novzeroupper.
45652 * elf/Makefile (AVX-CFLAGS): Define.
45653 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45654 (CFLAGS-tst-auditmod4a.c): Likewise.
45655 (CFLAGS-tst-auditmod4b.c): Likewise.
45656 (CFLAGS-tst-auditmod6b.c): Likewise.
45657 (CFLAGS-tst-auditmod6c.c): Likewise.
45658 (CFLAGS-tst-auditmod7b.c): Likewise.
45659 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45661 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45663 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45664 function to the callback.
45665 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45667 2011-02-02 Andreas Schwab <schwab@redhat.com>
45669 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45672 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45675 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45677 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45679 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45682 * elf/Makefile: Add rules to build and run new test.
45683 * elf/tst-initorder.c: New file.
45684 * elf/tst-initorder.exp: New file.
45685 * elf/tst-initordera1.c: New file.
45686 * elf/tst-initordera2.c: New file.
45687 * elf/tst-initordera3.c: New file.
45688 * elf/tst-initordera4.c: New file.
45689 * elf/tst-initorderb1.c: New file.
45690 * elf/tst-initorderb2.c: New file.
45691 * elf/tst-order-a1.c: New file.
45692 * elf/tst-order-a2.c: New file.
45693 * elf/tst-order-a3.c: New file.
45694 * elf/tst-order-a4.c: New file.
45695 * elf/tst-order-b1.c: New file.
45696 * elf/tst-order-b2.c: New file.
45697 * elf/tst-order-main.c: New file.
45698 New test case by George Gensure <werkt0@gmail.com>.
45700 2010-10-01 Andreas Schwab <schwab@redhat.com>
45702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45703 decoding ACE if AI_CANONIDN.
45705 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45707 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45709 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45711 * version.h (RELEASE): Bump for 2.13 release.
45712 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45714 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45716 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45718 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45720 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45721 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45722 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45723 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45725 * posix/getconf.c: Update copyright year.
45726 * catgets/gencat.c: Likewise.
45727 * csu/version.c: Likewise.
45728 * debug/catchsegv.sh: Likewise.
45729 * debug/xtrace.sh: Likewise.
45730 * elf/ldconfig.c: Likewise.
45731 * elf/ldd.bash.in: Likewise.
45732 * elf/sprof.c (print_version): Likewise.
45733 * iconv/iconv_prog.c: Likewise.
45734 * iconv/iconvconfig.c: Likewise.
45735 * locale/programs/locale.c: Likewise.
45736 * locale/programs/localedef.c: Likewise.
45737 * malloc/memusage.sh: Likewise.
45738 * malloc/mtrace.pl: Likewise.
45739 * nscd/nscd.c (print_version): Likewise.
45740 * nss/getent.c: Likewise.
45742 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45743 PF_CAIF, and PF_ALG.
45744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45746 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45748 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45749 (modules-names): Use them.
45750 (ifunc-test-modules, ifunc-pie-tests): Define.
45751 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45752 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45753 (test-extras): Likewise.
45754 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45755 $(compile-command.c).
45756 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45757 (all-built-dso): Define.
45758 (check-textrel.out, check-execstack.out): Depend on it.
45760 * configure.in: Don't override --enable-multi-arch.
45762 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45765 * nscd/hstcache.c (tryagain): Define.
45766 (cache_addhst): Return tryagain not notfound for temporary errors.
45767 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45770 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45773 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45774 to make the syscall.
45775 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45778 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45779 and fall back to matching as normal character if the string ends before
45780 the matching ']' is found. This is what POSIX requires.
45781 * posix/testfnm.c: Adjust test result.
45782 * posix/globtest.sh: Adjust test result. Add new test.
45783 * posix/tst-fnmatch.input: Likewise.
45784 * posix/tst-fnmatch2.c: Add new test.
45786 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45788 * elf/Makefile (check-execstack): Revert last change. Depend on
45790 (check-execstack.h): New target.
45791 (generated): Add check-execstack.h.
45792 * elf/check-execstack.c: Include "check-execstack.h".
45793 (main): Revert last change.
45794 (handle_file): Return zero if GNU_STACK is absent and
45795 DEFAULT_STACK_PERMS doesn't include PF_X.
45797 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45799 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45800 in child fails because the descriptor is already closed.
45801 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45802 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45803 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45806 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45810 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45811 temporary buffer used to handle multi lookups locally.
45812 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45814 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45816 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45819 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45821 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45822 alignment for SSE2.
45824 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45827 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45828 characters. When rounding increased number of integer digits recompute
45830 * stdio-common/tst-grouping.c: New file.
45831 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45833 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45835 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45836 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45838 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45840 * bits/select.h: Likewise.
45842 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45844 * po/ja.po: Update from translation team.
45846 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45849 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45850 implementation just like for lxstat, fxstatat, et al.
45852 2010-12-27 Jim Meyering <meyering@redhat.com>
45855 * posix/regexec.c (build_trtable): Return failure indication upon
45856 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45858 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45861 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45862 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45863 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45864 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45867 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45870 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45871 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45873 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45875 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45876 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45877 script has SORT_BY_INIT_PRIORITY.
45878 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45879 NO_CTORS_DTORS_SECTIONS is defined.
45880 * elf/soinit.c: Likewise.
45881 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45882 NO_CTORS_DTORS_SECTIONS is defined.
45883 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45884 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45885 * sysdeps/sh/init-first.c: Likewise.
45886 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45888 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45890 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45891 always use the slow path.
45893 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45895 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45896 similar rule which adds the sysdep directories to the header search in
45897 order to pick up the correct platform stackinfo.h.
45898 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45899 perform test if it is, otherwise return successfully without testing.
45900 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45901 DEFAULT_STACK_PERMS define in stackinfo.h.
45902 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45903 defined in stackinfo.h.
45904 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45905 DEFAULT_STACK_PERMS defined in stackinfo.h.
45906 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45907 * sysdeps/ia64/stackinfo.h: Likewise.
45908 * sysdeps/s390/stackinfo.h: Likewise.
45909 * sysdeps/sh/stackinfo.h: Likewise.
45910 * sysdeps/sparc/stackinfo.h: Likewise.
45911 * sysdeps/x86_64/stackinfo.h: Likewise.
45912 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45913 PF_X for powerpc64. Retain PF_X for powerpc32.
45915 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45917 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45919 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45920 GETDENTS_64BIT_ALIGNED.
45922 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45924 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45926 2010-12-10 Andreas Schwab <schwab@redhat.com>
45928 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45931 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45932 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45934 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45935 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45937 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45940 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45943 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45945 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45947 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45949 * po/it.po: Update from translation team.
45951 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45956 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45958 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45960 2010-11-24 Andreas Schwab <schwab@redhat.com>
45962 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45964 (gaih_getanswer_slice): Likewise.
45966 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45970 2010-05-31 Petr Baudis <pasky@suse.cz>
45973 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45974 silently even in the chroot mode.
45976 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45978 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45979 last patch a bit. Pretty printing
45981 2010-05-31 Petr Baudis <pasky@suse.cz>
45984 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45985 initialization of skip_initgroups_dyn.
45987 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45989 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45992 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45994 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45996 2010-11-11 Andreas Schwab <schwab@redhat.com>
45998 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45999 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46000 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46001 ($(objpfx)tst-fnmatch-mem): New rule.
46002 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46003 * posix/tst-fnmatch.c (main): Call mtrace.
46005 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46008 Support Intel processor model 6 and model 0x2c.
46010 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46012 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46015 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46018 * string/test-strncasecmp.c (check_result): New function.
46019 (do_one_test): Use it.
46020 (check1): New function.
46021 (test_main): Use it.
46022 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46023 Support strcasecmp and strncasecmp.
46025 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46028 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46029 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46031 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46033 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46037 * sysdeps/x86_64/multiarch/bzero.S: New file.
46038 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46039 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46040 * sysdeps/x86_64/multiarch/memset.S: New file.
46041 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46043 Set bit_Prefer_SSE_for_memop for Intel processors.
46044 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46046 (index_Prefer_SSE_for_memop): Define.
46047 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46049 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46051 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46052 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46054 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46057 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46058 (__x86_64_raw_data_cache_size_half): Likewise.
46059 (__x86_64_raw_shared_cache_size): Likewise.
46060 (__x86_64_raw_shared_cache_size_half): Likewise.
46062 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46063 (__x86_64_raw_data_cache_size_half): Likewise.
46064 (__x86_64_raw_shared_cache_size): Likewise.
46065 (__x86_64_raw_shared_cache_size_half): Likewise.
46066 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46067 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46068 and __x86_64_raw_shared_cache_size_half. Round
46069 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46070 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46071 to multiple of 256 bytes.
46073 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46076 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46077 of inacessible symlinks. Verify result of symlink before returning it.
46078 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46079 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46081 2010-10-28 Erich Ritz <erichritz@gmail.com>
46083 * math/math.h (isinf): Fix typo in comment.
46085 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46087 * po/da.po: Update from translation team.
46089 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46091 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46092 is added to the list.
46094 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46095 Ulrich Drepper <drepper@gmail.com>
46097 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46098 the global list here. Move code to...
46099 (_dl_add_to_namespace_list): ...here. New function.
46100 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46101 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46102 * elf/dl-load.c (lose): Don't remove the element from the list.
46103 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46104 (_dl_map_object): Likewise.
46106 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46109 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46110 into all bytes of SSE register.
46111 Patch by Richard Li <richardpku@gmail.com>.
46113 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46116 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46119 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46121 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46122 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46123 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46124 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46129 2010-10-22 Andreas Schwab <schwab@redhat.com>
46131 * include/dlfcn.h (__RTLD_SECURE): Define.
46132 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46133 mode & __RTLD_SECURE instead.
46134 (open_path): Rename preloaded parameter to secure.
46135 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46136 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46137 * elf/dl-deps.c (openaux): Likewise.
46138 * elf/rtld.c (struct map_args): Remove is_preloaded.
46139 (map_doit): Don't use it.
46140 (dl_main): Likewise.
46141 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46142 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46144 2010-09-09 Andreas Schwab <schwab@redhat.com>
46146 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46147 (sysd-rules-targets): Remove duplicates.
46148 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46149 rtld-%.$o dependency.
46151 2010-10-18 Andreas Schwab <schwab@redhat.com>
46153 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46154 _dl_map_object do it.
46156 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46158 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46159 fast fma builtins, define the macros in the C99 standard.
46160 (FP_FAST_FMAF): Likewise.
46161 (FP_FAST_FMAL): Likewise.
46162 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46164 * bits/mathdef.h: Update copyright year.
46165 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46167 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46169 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46170 builtins, define the macros in the C99 standard.
46171 (FP_FAST_FMAF): Likewise.
46172 (FP_FAST_FMAL): Likewise.
46173 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46175 (FP_FAST_FMAF): Likewise.
46177 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46180 * math/libm-test.inc (fma_test): Some new testcases.
46181 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46182 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46183 y and infinite z. Do multiplication by C already in long double.
46184 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46186 y and infinite z. Do bitwise or of inexact bit into u.d.
46187 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46188 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46189 * sysdeps/i386/fpu/s_fma.S: Removed.
46190 * sysdeps/i386/fpu/s_fmal.S: Removed.
46192 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46195 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46197 computation is not scheduled after fetestexcept. Fix value
46198 of minimum denormal long double.
46200 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46203 * math/libm-test.inc (fma_test): Add some more tests.
46204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46207 2010-10-15 Andreas Schwab <schwab@redhat.com>
46209 * scripts/data/localplt-s390-linux-gnu.data: New file.
46210 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46212 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46215 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46216 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46218 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46220 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46222 if one of x and y is very large and the other is subnormal.
46223 * sysdeps/s390/fpu/s_fmaf.c: New file.
46224 * sysdeps/s390/fpu/s_fma.c: New file.
46225 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46226 * sysdeps/powerpc/fpu/s_fma.S: New file.
46227 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46228 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46229 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46231 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46234 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46236 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46237 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46238 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46239 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46240 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46241 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46242 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46244 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46247 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46248 * posix/bug-regex31.input: Add test case.
46250 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46252 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46253 * posix/bug-regex31.input: New file.
46256 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46257 (parse_sub_exp): Fix last change, use postorder.
46259 * posix/bug-regex31.c: New file.
46260 * posix/Makefile: Add rules to build and run bug-regex31.
46262 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46265 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46268 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46269 to have entries in sys_siglist.
46272 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46275 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46278 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46279 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46280 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46281 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46282 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46283 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46284 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46285 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46286 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46287 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46288 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46289 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46290 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46291 * math/ftestexcept.c (fetestexcept): Likewise.
46292 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46293 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46294 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46295 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46296 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46297 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46298 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46300 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46303 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46306 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46308 * string/bug-strstr1.c: New file.
46309 * string/Makefile: Add rules to build and run bug-strstr1.
46311 2010-10-05 Eric Blake <eblake@redhat.com>
46314 * string/str-two-way.h (two_way_long_needle): Always clear memory
46315 when skipping input due to the shift table.
46317 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46320 * malloc/mcheck.c: Handle large requests.
46323 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46324 for strncmp and strncasecmp.
46325 * string/stratcliff.c: Add tests for strcmp and strncmp.
46326 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46328 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46330 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46333 2010-09-30 Andreas Jaeger <aj@suse.de>
46335 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46336 (CGROUP_SUPER_MAGIC): Define.
46337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46338 Handle btrfs and cgroup file systems.
46339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46342 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46344 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46345 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46347 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46350 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46351 trying to locate the ELF header.
46353 2010-09-27 Andreas Schwab <schwab@redhat.com>
46356 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46357 Mask out sign-bit copies when constructing f_fsid.
46359 2010-09-24 Petr Baudis <pasky@suse.cz>
46361 * debug/stack_chk_fail_local.c: Add missing licence exception.
46362 * debug/warning-nop.c: Likewise.
46364 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46366 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46367 implementing getdents64 using getdents syscall, set d_type if
46368 __ASSUME_GETDENTS32_D_TYPE.
46370 2010-09-16 Andreas Schwab <schwab@redhat.com>
46372 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46373 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46375 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46378 * posix/unistd.h: Undo change of feature selection for ftruncate from
46381 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46383 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46386 2010-09-20 Andreas Schwab <schwab@redhat.com>
46388 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46390 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46392 2010-09-14 Andreas Schwab <schwab@redhat.com>
46394 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46395 variables after CHECK_SP call.
46396 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46398 2010-09-13 Andreas Schwab <schwab@redhat.com>
46399 Ulrich Drepper <drepper@redhat.com>
46401 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46402 re-relocationg ld.so.
46403 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46404 _dl_init_paths call.
46405 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46408 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46410 * resolv/res_init.c (__res_vinit): Count the default server we added.
46412 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46413 Ulrich Drepper <drepper@redhat.com>
46416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46417 (____longjmp_chk): Use %ebx for saving value across system call.
46420 2010-09-06 Andreas Schwab <schwab@redhat.com>
46422 * manual/Makefile: Don't mix pattern rules with normal rules.
46424 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46426 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46428 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46429 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46430 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46431 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46435 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46438 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46439 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46441 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46443 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46444 * sysdeps/x86_64/addmul_1.S: Likewise.
46445 * sysdeps/x86_64/lshift.S: Likewise.
46446 * sysdeps/x86_64/mul_1.S: Likewise.
46447 * sysdeps/x86_64/rshift.S: Likewise.
46448 * sysdeps/x86_64/sub_n.S: Likewise.
46449 * sysdeps/x86_64/submul_1.S: Likewise.
46451 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46453 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46454 Define __sched_param instead of SCHED_* and sched_param when
46455 <bits/sched.h> is included with __need_schedparam defined.
46456 * bits/sched.h [__need_schedparam]
46457 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46458 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46459 (__defined_schedparam): Define to 1.
46460 (__sched_param): New structure, identical to sched_param.
46461 (__need_schedparam): Undefine.
46463 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46465 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46466 (epoll_create1): Declare.
46468 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46470 2010-08-31 Andreas Schwab <schwab@redhat.com>
46473 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46474 shifting retval into place.
46476 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46478 * nis/rpcsvc/nis.h: Update copyright notice.
46479 * nis/rpcsvc/nis.x: Likewise.
46480 * nis/rpcsvc/nis_callback.h: Likewise.
46481 * nis/rpcsvc/nis_callback.x: Likewise.
46482 * nis/rpcsvc/nis_object.x: Likewise.
46483 * nis/rpcsvc/nis_tags.h: Likewise.
46484 * nis/rpcsvc/yp.h: Likewise.
46485 * nis/rpcsvc/yp.x: Likewise.
46486 * nis/rpcsvc/ypupd.h: Likewise.
46487 * nis/yp_xdr.c: Likewise.
46488 * nis/ypupdate_xdr.c: Likewise.
46490 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46491 mainly the body of pmap_getport. Add parameters to specify timeouts.
46492 (pmap_getport): Use __libc_rpc_getport.
46493 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46494 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46495 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46497 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46502 2010-08-27 Roland McGrath <roland@redhat.com>
46504 * sysdeps/i386/i686/multiarch/Makefile
46505 (CFLAGS-varshift.c): New variable.
46507 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46509 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46510 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46512 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46514 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46516 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46518 * sysdeps/x86_64/strlen.S: Unroll the loop.
46519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46520 strlen-sse2 strlen-sse2-bsf.
46521 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46522 __strlen_no_bsf if bit_Slow_BSF is set.
46523 (__strlen_sse42): Removed.
46524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46525 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46527 2010-08-25 Roland McGrath <roland@redhat.com>
46529 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46530 * sysdeps/x86_64/multiarch/varshift.c: New file.
46531 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46532 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46533 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46534 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46536 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46539 strlen-sse2 strlen-sse2-bsf.
46540 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46541 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46542 (__strlen_sse2): Removed.
46543 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46546 bit_Slow_BSF for Atom.
46547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46548 (index_Slow_BSF): Define.
46549 (HAS_SLOW_BSF): Define.
46551 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46554 * resolv/res_init.c (__res_vinit): When no server address at all
46555 is given default to loopback.
46557 2010-08-24 Roland McGrath <roland@redhat.com>
46559 * configure.in: Remove config-name.h generation.
46560 * configure: Regenerated.
46561 * config-name.in: File removed.
46562 * scripts/config-uname.sh: New file.
46563 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46564 ($(objdir)config-name.h): New target.
46566 * sunrpc/rpc_parse.h: Avoid nested comment.
46568 2010-08-24 Richard Henderson <rth@redhat.com>
46569 Ulrich Drepper <drepper@redhat.com>
46570 H.J. Lu <hongjiu.lu@intel.com>
46572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46574 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46575 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46576 _mm_alignr_epi8 with _mm_loadu_si128.
46577 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46578 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46579 (__m128i_shift_right): Removed.
46580 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46581 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46582 * sysdeps/x86_64/multiarch/varshift.h: New file.
46583 * sysdeps/x86_64/multiarch/varshift.S: New file.
46585 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46587 * configure.in: Move assembler checks to before sysdep dir checking.
46589 2010-08-20 Petr Baudis <pasky@suse.cz>
46591 * LICENSES: Sync the sunrpc license.
46593 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46595 * sunrpc/auth_des.c: Update copyright notice once again.
46596 * sunrpc/auth_none.c: Likewise.
46597 * sunrpc/auth_unix.c: Likewise.
46598 * sunrpc/authdes_prot.c: Likewise.
46599 * sunrpc/authuxprot.c: Likewise.
46600 * sunrpc/bindrsvprt.c: Likewise.
46601 * sunrpc/clnt_gen.c: Likewise.
46602 * sunrpc/clnt_perr.c: Likewise.
46603 * sunrpc/clnt_raw.c: Likewise.
46604 * sunrpc/clnt_simp.c: Likewise.
46605 * sunrpc/clnt_tcp.c: Likewise.
46606 * sunrpc/clnt_udp.c: Likewise.
46607 * sunrpc/clnt_unix.c: Likewise.
46608 * sunrpc/des_crypt.c: Likewise.
46609 * sunrpc/des_soft.c: Likewise.
46610 * sunrpc/get_myaddr.c: Likewise.
46611 * sunrpc/getrpcport.c: Likewise.
46612 * sunrpc/key_call.c: Likewise.
46613 * sunrpc/key_prot.c: Likewise.
46614 * sunrpc/openchild.c: Likewise.
46615 * sunrpc/pm_getmaps.c: Likewise.
46616 * sunrpc/pm_getport.c: Likewise.
46617 * sunrpc/pmap_clnt.c: Likewise.
46618 * sunrpc/pmap_prot.c: Likewise.
46619 * sunrpc/pmap_prot2.c: Likewise.
46620 * sunrpc/pmap_rmt.c: Likewise.
46621 * sunrpc/rpc/auth.h: Likewise.
46622 * sunrpc/rpc/auth_unix.h: Likewise.
46623 * sunrpc/rpc/clnt.h: Likewise.
46624 * sunrpc/rpc/des_crypt.h: Likewise.
46625 * sunrpc/rpc/key_prot.h: Likewise.
46626 * sunrpc/rpc/netdb.h: Likewise.
46627 * sunrpc/rpc/pmap_clnt.h: Likewise.
46628 * sunrpc/rpc/pmap_prot.h: Likewise.
46629 * sunrpc/rpc/pmap_rmt.h: Likewise.
46630 * sunrpc/rpc/rpc.h: Likewise.
46631 * sunrpc/rpc/rpc_des.h: Likewise.
46632 * sunrpc/rpc/rpc_msg.h: Likewise.
46633 * sunrpc/rpc/svc.h: Likewise.
46634 * sunrpc/rpc/svc_auth.h: Likewise.
46635 * sunrpc/rpc/types.h: Likewise.
46636 * sunrpc/rpc/xdr.h: Likewise.
46637 * sunrpc/rpc_clntout.c: Likewise.
46638 * sunrpc/rpc_cmsg.c: Likewise.
46639 * sunrpc/rpc_common.c: Likewise.
46640 * sunrpc/rpc_cout.c: Likewise.
46641 * sunrpc/rpc_dtable.c: Likewise.
46642 * sunrpc/rpc_hout.c: Likewise.
46643 * sunrpc/rpc_main.c: Likewise.
46644 * sunrpc/rpc_parse.c: Likewise.
46645 * sunrpc/rpc_parse.h: Likewise.
46646 * sunrpc/rpc_prot.c: Likewise.
46647 * sunrpc/rpc_sample.c: Likewise.
46648 * sunrpc/rpc_scan.c: Likewise.
46649 * sunrpc/rpc_scan.h: Likewise.
46650 * sunrpc/rpc_svcout.c: Likewise.
46651 * sunrpc/rpc_tblout.c: Likewise.
46652 * sunrpc/rpc_util.c: Likewise.
46653 * sunrpc/rpc_util.h: Likewise.
46654 * sunrpc/rpcinfo.c: Likewise.
46655 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46656 * sunrpc/rpcsvc/key_prot.x: Likewise.
46657 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46658 * sunrpc/rpcsvc/mount.x: Likewise.
46659 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46660 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46661 * sunrpc/rpcsvc/rex.x: Likewise.
46662 * sunrpc/rpcsvc/rstat.x: Likewise.
46663 * sunrpc/rpcsvc/rusers.x: Likewise.
46664 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46665 * sunrpc/rpcsvc/spray.x: Likewise.
46666 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46667 * sunrpc/rtime.c: Likewise.
46668 * sunrpc/svc.c: Likewise.
46669 * sunrpc/svc_auth.c: Likewise.
46670 * sunrpc/svc_authux.c: Likewise.
46671 * sunrpc/svc_raw.c: Likewise.
46672 * sunrpc/svc_run.c: Likewise.
46673 * sunrpc/svc_simple.c: Likewise.
46674 * sunrpc/svc_tcp.c: Likewise.
46675 * sunrpc/svc_udp.c: Likewise.
46676 * sunrpc/svc_unix.c: Likewise.
46677 * sunrpc/svcauth_des.c: Likewise.
46678 * sunrpc/xcrypt.c: Likewise.
46679 * sunrpc/xdr.c: Likewise.
46680 * sunrpc/xdr_array.c: Likewise.
46681 * sunrpc/xdr_float.c: Likewise.
46682 * sunrpc/xdr_mem.c: Likewise.
46683 * sunrpc/xdr_rec.c: Likewise.
46684 * sunrpc/xdr_ref.c: Likewise.
46685 * sunrpc/xdr_sizeof.c: Likewise.
46686 * sunrpc/xdr_stdio.c: Likewise.
46688 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46691 2010-08-19 Andreas Schwab <schwab@redhat.com>
46693 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46695 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46697 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46698 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46699 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46700 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46702 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46703 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46704 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46705 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46706 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46707 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46708 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46709 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46710 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46712 2010-07-26 Anton Blanchard <anton@samba.org>
46714 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46715 * malloc/arena.c (heap_trim): Likewise.
46717 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46719 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46722 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46724 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46726 * sysdeps/i386/elf/Makefile: New file.
46728 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46730 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46731 from fanotify_init.
46732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46733 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46735 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46737 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46739 * sysdeps/multiarch/strcmp.S: Likewise.
46741 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46743 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46744 strncase_l-nonascii.
46745 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46746 Add strncase_l-ssse3.
46747 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46748 * sysdeps/x86_64/strcmp.S: Likewise.
46749 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46750 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46751 * sysdeps/x86_64/strncase.S: New file.
46752 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46753 * sysdeps/x86_64/strncase_l.S: New file.
46754 * string/Makefile (strop-tests): Add strncasecmp.
46755 * string/test-strncasecmp.c: New file.
46757 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46760 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46761 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46763 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46765 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46767 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46769 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46770 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46771 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46773 2010-05-01 Alan Modra <amodra@gmail.com>
46775 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46776 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46777 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46778 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46779 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46780 tidying. Don't tail-call __sigjmp_save for static lib.
46781 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46783 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46784 (CALL_MCOUNT): Add eh info, and nop after bl.
46785 (TAIL_CALL_SYSCALL_ERROR): New macro.
46786 (PSEUDO_RET): Use it.
46787 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46788 Correct save location of integer regs and cr.
46789 (_dl_profile_resolve): Correct cr save location. Delete nops
46790 after bl when SHARED. Reduce cfi size a little by better
46791 placement of cfi directives.
46792 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46793 make a stack frame. Instead use parm save area as a temp.
46794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46795 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46797 Don't make a stack frame for parent, use parm save area.
46798 Increase child stack frame to 112 bytes. Don't save unused reg,
46799 and adjust reg usage. Set up cfi on error recovery and
46800 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46802 (__makecontext): Add dummy nop after jump to exit.
46803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46804 Use correct parm save area and cr save, reduce stack frame.
46805 Correct cfi for possible PSEUDO_RET frame setup.
46806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46807 Branch to local label emitted by PSEUDO_RET rather than
46810 2010-08-12 Andreas Schwab <schwab@redhat.com>
46813 * locale/programs/locale.c (print_assignment): New function.
46814 (show_locale_vars): Use it.
46816 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46818 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46820 (struct statfs64): Likewise.
46821 (_STATFS_F_FLAGS): Define.
46822 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46823 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46824 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46825 (ST_VALID): Define locally.
46826 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46827 __statvfs_getflags, use the provided value.
46828 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46829 __ASSUME_STATFS_F_FLAGS.
46831 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46833 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46834 Add sys/fanotify.h.
46835 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46836 fanotify_mask for GLIBC_2.13.
46837 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46838 fanotify_init and fanotify_mark.
46839 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46840 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46842 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46844 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46845 prlimit64 for GLIBC_2.13.
46846 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46848 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46851 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46852 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46853 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46856 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46859 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46860 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46862 * nss/Makefile: Add rules to build and run tst-nss-test1.
46863 * shlib-versions: Add entry for libnss_test1.
46864 * nss/nss_test1.c: New file.
46865 * nss/tst-nss-test1.c: New file.
46867 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46868 (__nss_configure_lookup): Set appropriate entry in
46869 __nss_configure_lookup to true.
46870 * nss/nsswitch.h: Define enum with indeces of databases in
46871 databases and __nss_database_custom arrays. Declare
46872 __nss_database_custom.
46873 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46874 to avoid using nscd when custom rules are installed.
46875 * nss/getXXbyYY_r.c: Likewise.
46876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46878 * nss/nss_files/files-parse.c: Whitespace fixes.
46880 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46883 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46884 * posix/fnmatch_loop.c: Likewise.
46886 2010-07-17 Andi Kleen <ak@linux.intel.com>
46888 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46889 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46890 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46891 * Versions.def [GLIBC_2.13]: Add.
46893 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46895 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46896 Also fail if tpwd after pwuid call is NULL.
46898 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46900 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46901 when converting to ms.
46903 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46905 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46906 EOPNOTSUPP errors with ENOTTY.
46907 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46908 EOPNOTSUPP errors with ENOTTY.
46910 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46912 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46913 Add strcasecmp_l-ssse3.
46914 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46916 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46917 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46918 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46920 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46922 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46924 * string/Makefile (strop-tests): Add strcasecmp.
46925 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46926 strcasecmp_l-nonascii.
46927 (gen-as-const-headers): Add locale-defines.sym.
46928 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46929 * sysdeps/x86_64/strcasecmp.S: New file.
46930 * sysdeps/x86_64/strcasecmp_l.S: New file.
46931 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46932 * sysdeps/x86_64/locale-defines.sym: New file.
46933 * string/test-strcasecmp.c: New file.
46935 * string/test-strcasestr.c: Test both ends of the range of characters.
46936 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46938 2010-07-29 Roland McGrath <roland@redhat.com>
46941 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46943 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46945 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46948 2010-07-27 Andreas Schwab <schwab@redhat.com>
46950 * manual/memory.texi (Malloc Tunable Parameters): Document
46953 2010-07-26 Roland McGrath <roland@redhat.com>
46956 * configure.in (-fgnu89-inline check): Set and substitute
46957 gnu89_inline, not libc_cv_gnu89_inline.
46958 * configure: Regenerated.
46959 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46961 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46963 * string/test-strnlen.c: New file.
46964 * string/Makefile (strop-tests): Add strnlen.
46965 * string/tester.c (test_strnlen): Add a few more test cases.
46966 * string/tst-strlen.c: Better error reporting.
46968 * sysdeps/x86_64/strnlen.S: New file.
46970 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46972 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46973 lower-latency instructions.
46975 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46977 * string/test-strcasestr.c: New file.
46978 * string/test-strstr.c: New file.
46979 * string/Makefile (strop-tests): Add strstr and strcasestr.
46980 * string/str-two-way.h: Don't undefine MAX.
46981 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46983 2010-07-21 Andreas Schwab <schwab@redhat.com>
46985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46986 strcasestr-nonascii.
46987 (CFLAGS-strcasestr-nonascii.c): Define.
46988 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46989 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46990 Remove unused attribute.
46992 2010-07-20 Roland McGrath <roland@redhat.com>
46994 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46995 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46996 ld.so.cache was broken. With it, there is no way to disable dsocaps
46997 like LD_HWCAP_MASK can disable hwcaps.
46999 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47001 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47003 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47005 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47006 call in strcasestr.
47007 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47008 __strcasestr_sse42_nonascii.
47009 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47010 strcasestr-nonascii.c.
47011 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47013 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47015 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47016 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47017 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47018 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47020 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47022 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47025 2010-07-06 Andreas Schwab <schwab@redhat.com>
47028 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47031 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47033 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47034 _PC_PIPE_BUF using F_GETPIPE_SZ.
47036 2010-07-05 Roland McGrath <roland@redhat.com>
47038 * manual/arith.texi (Rounding Functions): Fix rint description
47039 implicit in round description.
47041 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47043 * elf/Makefile: Fix linking for a few tests to make recent linker
47046 2010-06-30 Andreas Schwab <schwab@redhat.com>
47048 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47049 $(common-objpfx)libc_nonshared.a.
47051 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47053 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47054 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47055 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47056 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47057 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47058 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47059 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47060 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47075 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47076 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47077 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47078 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47079 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47080 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47081 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47082 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47083 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47084 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47085 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47086 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47102 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47104 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47105 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47106 * string/memmove.c (memmove): Renamed to ...
47107 (MEMMOVE): ...this. Default to memmove.
47108 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47109 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47112 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47113 mempcpy-ssse3-back memmove-ssse3-back.
47114 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47115 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47116 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47117 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47118 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47119 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47120 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47121 * sysdeps/x86_64/multiarch/memmove.c: New file.
47122 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47123 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47124 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47125 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47126 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47127 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47129 (index_Fast_Copy_Backward): Define.
47130 (HAS_ARCH_FEATURE): Define.
47131 (HAS_FAST_REP_STRING): Define.
47132 (HAS_FAST_COPY_BACKWARD): Define.
47134 2010-06-21 Andreas Schwab <schwab@redhat.com>
47136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47137 Restore proper fallback handling.
47139 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47142 * posix/group_member.c (__group_member): Correct checking loop.
47144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47145 OOM in getpwuid_r correctly. Return error number when the caller
47146 should return, otherwise -1.
47147 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47148 call returning > 0 value.
47149 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47151 2010-06-07 Andreas Schwab <schwab@redhat.com>
47153 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47154 libc_nonshared.a from targets in modules-names.
47156 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47158 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47161 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47163 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47164 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47165 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47168 2010-06-02 Andreas Schwab <schwab@redhat.com>
47170 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47172 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47174 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47180 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47181 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47183 2010-06-14 Roland McGrath <roland@redhat.com>
47185 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47187 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47189 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47190 __REDIRECT followed by __THROW.
47191 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47192 * posix/getopt.h (getopt): Likewise.
47194 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47196 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47197 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47198 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47200 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47201 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47203 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47205 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47207 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47211 Properly check family and model.
47213 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47215 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47217 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47219 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47221 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47223 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47226 2010-05-19 Andreas Schwab <schwab@redhat.com>
47228 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47231 2010-05-21 Andreas Schwab <schwab@redhat.com>
47233 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47234 and internal_recvmmsg.
47235 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47236 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47237 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47238 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47240 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47241 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47242 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47244 2010-05-20 Andreas Schwab <schwab@redhat.com>
47246 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47248 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47250 POWER7 optimizations.
47251 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47252 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47254 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47256 * version.h: Update for 2.13 development version.
47258 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47260 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47261 exceptions. Return 0.
47263 2010-05-07 Roland McGrath <roland@redhat.com>
47265 * elf/ldconfig.c (main): Add a const.
47267 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47269 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47270 (args_options): Add no-idn option.
47271 (ahosts_keys_int): Add idn_flags to ai_flags.
47272 (parse_option): Handle 'i' option to clear idn_flags.
47274 * malloc/malloc.c (_int_free): Possible race in the most recently
47275 added check. Only act on the data if no current modification
47278 See ChangeLog.17 for earlier changes.